You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by khote <kh...@mminternet.com> on 2003/10/10 10:20:05 UTC

[continued] Re: hibernate plugin

The hibernate plugin is all screwed up.
cvs co maven no longer downloads it at all.
I search around in the optional plugins listing, find the source repository
link.
When I execute

cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
maven/src/plugins-build/hibernate/

I get a version that attempts to build a middlegen-hibernate plugin ...
which doesn't work anyway, in the maven.xml is:

    <!ENTITY plugin-common SYSTEM "file:./plugins/plugin-common.xml">

1) it's local directory, "./", rather than parent directory, "../"
2) plugin-common.xml does not exist in my maven source.


----- Original Message ----- 
From: "khote" <kh...@mminternet.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, October 09, 2003 5:06 PM
Subject: Re: hibernate plugin


> The plugin itself is not available.
> where do the optional plugins stash their stuff?
>
> ----- Original Message ----- 
> From: <di...@multitask.com.au>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Thursday, October 09, 2003 5:03 PM
> Subject: Re: hibernate plugin
>
>
> > The 'optional' plugins have moved to their own cvs module,
maven-plugins.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:      http://blogs.codehaus.org/people/dion/
> >
> >
> > "khote" <kh...@mminternet.com> wrote on 10/10/2003 08:15:56 AM:
> >
> > > what happened to the hibernate plubin in maven cvs-version?
> > > I had to rebuild from source, maven-hibernate-plugin is gone.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [continued] Re: hibernate plugin

Posted by khote <kh...@mminternet.com>.
Do you suppose that one day there will be a

cvs co maven-all

similar to the way you have to build xdoclet?  ie, xdoclet, xjavadoc, and
xdocletgui all parallel and underneath xdoclet-all

----- Original Message ----- 
From: "Age Mooy" <am...@home.nl>
To: "'Maven Users List'" <us...@maven.apache.org>; "'khote'"
<kh...@mminternet.com>
Sent: Friday, October 10, 2003 1:46 AM
Subject: RE: [continued] Re: hibernate plugin


>
> Checkout the maven-plugins project from the cvs repo. The Hibernate
> plugin has been moved there a couple days ago and obviously the docs
> don't reflect that move yet.
>
> Age
>
>
> > -----Original Message-----
> > From: khote [mailto:khote@mminternet.com]
> > Sent: Friday, October 10, 2003 10:20
> > To: Maven Users List
> > Subject: [continued] Re: hibernate plugin
> >
> >
> > The hibernate plugin is all screwed up.
> > cvs co maven no longer downloads it at all.
> > I search around in the optional plugins listing, find the
> > source repository link. When I execute
> >
> > cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
> > maven/src/plugins-build/hibernate/
> >
> > I get a version that attempts to build a middlegen-hibernate
> > plugin ... which doesn't work anyway, in the maven.xml is:
> >
> >     <!ENTITY plugin-common SYSTEM "file:./plugins/plugin-common.xml">
> >
> > 1) it's local directory, "./", rather than parent directory, "../"
> > 2) plugin-common.xml does not exist in my maven source.
> >
> >
> > ----- Original Message ----- 
> > From: "khote" <kh...@mminternet.com>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Thursday, October 09, 2003 5:06 PM
> > Subject: Re: hibernate plugin
> >
> >
> > > The plugin itself is not available.
> > > where do the optional plugins stash their stuff?
> > >
> > > ----- Original Message -----
> > > From: <di...@multitask.com.au>
> > > To: "Maven Users List" <us...@maven.apache.org>
> > > Sent: Thursday, October 09, 2003 5:03 PM
> > > Subject: Re: hibernate plugin
> > >
> > >
> > > > The 'optional' plugins have moved to their own cvs module,
> > maven-plugins.
> > > > --
> > > > dIon Gillard, Multitask Consulting
> > > > Blog:      http://blogs.codehaus.org/people/dion/
> > > >
> > > >
> > > > "khote" <kh...@mminternet.com> wrote on 10/10/2003 08:15:56 AM:
> > > >
> > > > > what happened to the hibernate plubin in maven
> > cvs-version? I had
> > > > > to rebuild from source, maven-hibernate-plugin is gone.
> > > > >
> > > > >
> > ------------------------------------------------------------------
> > > > > ---
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > >
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [continued] Re: hibernate plugin

Posted by Age Mooy <am...@home.nl>.
Checkout the maven-plugins project from the cvs repo. The Hibernate
plugin has been moved there a couple days ago and obviously the docs
don't reflect that move yet.

Age


> -----Original Message-----
> From: khote [mailto:khote@mminternet.com] 
> Sent: Friday, October 10, 2003 10:20
> To: Maven Users List
> Subject: [continued] Re: hibernate plugin
> 
> 
> The hibernate plugin is all screwed up.
> cvs co maven no longer downloads it at all.
> I search around in the optional plugins listing, find the 
> source repository link. When I execute
> 
> cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co 
> maven/src/plugins-build/hibernate/
> 
> I get a version that attempts to build a middlegen-hibernate 
> plugin ... which doesn't work anyway, in the maven.xml is:
> 
>     <!ENTITY plugin-common SYSTEM "file:./plugins/plugin-common.xml">
> 
> 1) it's local directory, "./", rather than parent directory, "../"
> 2) plugin-common.xml does not exist in my maven source.
> 
> 
> ----- Original Message ----- 
> From: "khote" <kh...@mminternet.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Thursday, October 09, 2003 5:06 PM
> Subject: Re: hibernate plugin
> 
> 
> > The plugin itself is not available.
> > where do the optional plugins stash their stuff?
> >
> > ----- Original Message -----
> > From: <di...@multitask.com.au>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Thursday, October 09, 2003 5:03 PM
> > Subject: Re: hibernate plugin
> >
> >
> > > The 'optional' plugins have moved to their own cvs module,
> maven-plugins.
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog:      http://blogs.codehaus.org/people/dion/
> > >
> > >
> > > "khote" <kh...@mminternet.com> wrote on 10/10/2003 08:15:56 AM:
> > >
> > > > what happened to the hibernate plubin in maven 
> cvs-version? I had 
> > > > to rebuild from source, maven-hibernate-plugin is gone.
> > > >
> > > > 
> ------------------------------------------------------------------
> > > > ---
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [continued] Re: hibernate plugin

Posted by khote <kh...@mminternet.com>.
There's something wrong with the linking

(XDocletMain.start                   47  ) Running <hibernate/>
java.lang.NoSuchMethodError:
xjavadoc.XJavaDoc.setDocEncoding(Ljava/lang/String;)V
        at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:181)
        at
xdoclet.modules.hibernate.HibernateSubTask.execute(HibernateSubTask.java:125
)
        at xdoclet.XDocletMain.start(XDocletMain.java:48)
        at xdoclet.DocletTask.start(DocletTask.java:458)
        at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:95)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
        at
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.
java:107)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at
com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
        at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
        at com.werken.werkz.Goal.fire(Goal.java:616)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
        at
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.
java:107)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

BUILD FAILED
File......
file:/usr/java/maven/repository/plugins/maven-xdoclet-plugin-1.2b3/
Element... hibernatedoclet
Line...... 10358
Column.... 26
Unexpected error

Is this something wrong with my hibernate plugin, or with my xdoclet?
I have ejbdoclet and webdoclet working fine, with jbossservice and jboss
whatever, my jboss deployment files are being created as expected.



----- Original Message ----- 
From: <di...@multitask.com.au>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Friday, October 10, 2003 4:03 AM
Subject: Re: [continued] Re: hibernate plugin


> "khote" <kh...@mminternet.com> wrote on 10/10/2003 06:20:05 PM:
>
> > The hibernate plugin is all screwed up.
> It's been moved.
>
> > cvs co maven no longer downloads it at all.
> Nor should it.
>
> > I search around in the optional plugins listing, find the source
> repository
> > link.
>
> it's wrong. I'll fix that now :-(
>
> > cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
> > maven/src/plugins-build/hibernate/
>
> cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
> maven-plugins
> cd hiberate
> maven clean plugin:install
>
>
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [continued] Re: hibernate plugin

Posted by di...@multitask.com.au.
"khote" <kh...@mminternet.com> wrote on 10/10/2003 06:20:05 PM:

> The hibernate plugin is all screwed up.
It's been moved.

> cvs co maven no longer downloads it at all.
Nor should it.

> I search around in the optional plugins listing, find the source 
repository
> link.

it's wrong. I'll fix that now :-(

> cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
> maven/src/plugins-build/hibernate/

cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co 
maven-plugins
cd hiberate
maven clean plugin:install


--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org