Re: Maven Xdoclet problem
Ahh, I figured it out. Besides the need for xdoclet-hibernate-module I also need xdoclet and xjavadoc dependency. Which, leads me to another question. How do you specify dependency on the whole package rather than a jar file. Suppose I use a pcakge that has its own dependencies. Package I use say A (version 1.0). A contains a-1.0.jar and depends on package B (version 2.0). B contains b-2.0.jar Suppose now depvelopers of A decide to release A (version 2.0), that is dependent on B (version 3.0) If I want to try version 2.0 of A on my projet. I would need to know that A developers now depend on version 3.0 of B pacakge. It seems a bit awkward to chase the dependencies. I was wondering how would I depend on package rather than jar files? Thanks, Alex. Aleksandr Shneyderman wrote: xdoclet-hibernate-module xdoclet 1.2b4 jar I have: xdoclet+hibernate-module 1.2 I am not quite sure what this means exactly, but I snaged it from some other script and thought it would do the trick. I tried your suggestion (except 1.2b4 - I have 1.2) but it did not help, I have the same error. Thakns, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Xdoclet problem
xdoclet-hibernate-module xdoclet 1.2b4 jar I have: xdoclet+hibernate-module 1.2 I am not quite sure what this means exactly, but I snaged it from some other script and thought it would do the trick. I tried your suggestion (except 1.2b4 - I have 1.2) but it did not help, I have the same error. Thakns, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Xdoclet problem
Do u have the hibernate jar included in your project.xml as a dependency? e.g. xdoclet-hibernate-module xdoclet 1.2b4 jar steve Stephen Gargan, IT Engineer [EMAIL PROTECTED] -Original Message- From: Aleksandr Shneyderman [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 4:53 PM To: [EMAIL PROTECTED] Subject: Maven Xdoclet problem > > >Hello, everyone! > >I am trying to get xdoclet working with maven. >So I built maven from CVS and downloaded XDoclet 1.2 from sf.net >I created xdoclet/jars directory in my local repository and copied >maven-xdoclet plugin over to the plugins directory. > >When I run maven xdoclet:hibernatedoclet >I am getting the error below when I run maven xdoclet:hibernatedoclet > >Does anyone have any idea as to what am I doing wrong? > >Thanks, >Alex. > > __ __^M >| \/ |__ _Apache__ ___^M >| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~^M >|_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT^M >^M >[DEBUG] Adding reference: maven.dependency.classpath -> >/usr/local/maven/.maven/repository/xdoclet/jars/xdoclet-hibernate-modul e-1.2.jar^M >[available] [VERBOSE] Found: src/java^M >[DEBUG] Adding reference: maven-classpath -> ^M >[DEBUG] Adding reference: maven.compile.src.set -> ^M >[DEBUG] Adding reference: maven.dependency.classpath -> >/usr/local/maven/.maven/repository/commons-collections/jars/commons-col lections-2.1.jar:/usr/local/maven/.maven/repository/commons-logging/jars /commons-logging-1.1-dev.jar:/usr/local/maven/.maven/repository/log4j/ja rs/log4j-1.2.6.jar:/usr/local/maven/.maven/repository/xdoclet/jars/xdocl et-1.2.jar:/usr/local/maven/.maven/repository/xdoclet/jars/xdoclet-xdocl et-module-1.2.jar:/usr/local/maven/.maven/repository/xjavadoc/jars/xjava doc-1.0.2.jar^M >[DEBUG] Adding reference: maven-classpath -> ^M >[DEBUG] Adding reference: maven.compile.src.set -> ^M >xdoclet:hibernatedoclet:^M >[taskdef] [DEBUG] Finding class >xdoclet.modules.hibernate.HibernateDocletTask^M >[taskdef] [DEBUG] Finding class xdoclet.DocletTask^M >[taskdef] [DEBUG] Finding class xjavadoc.ant.XJavadocTask^M >^M >BUILD FAILED^M >File.. file:/home/alex/.maven/plugins/maven-xdoclet-plugin-1.2/^M >Element... taskdef^M >Line.. 10255^M >Column 99^M >taskdef class xdoclet.modules.hibernate.HibernateDocletTask cannot be >found^M >com.werken.werkz.UnattainableGoalException: Unable to obtain goal >[xdoclet:hibernatedoclet] -- >file:/home/alex/.maven/plugins/maven-xdoclet-plugin-1.2/:10255:99: > taskdef class xdoclet.modules.hibernate.HibernateDocletTask >cannot be found^M >at com.werken.werkz.Goal.fire(Goal.java:646)^M >at com.werken.werkz.Goal.attain(Goal.java:575)^M >at >org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:44 8)^M >at >org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)^M >at org.apache.maven.cli.App.doMain(App.java:546)^M >at org.apache.maven.cli.App.main(App.java:1113)^M >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M >at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:39)^M >at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:25)^M >at java.lang.reflect.Method.invoke(Method.java:324)^M >at com.werken.forehead.Forehead.run(Forehead.java:551)^M >at com.werken.forehead.Forehead.main(Forehead.java:581)^M >org.apache.commons.jelly.JellyTagException: >file:/home/alex/.maven/plugins/maven-xdoclet-plugin-1.2/:10255:99: > taskdef class xdoclet.modules.hibernate.HibernateDocletTask >cannot be found^M >at >org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java: 683)^M >at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)^M >at >org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)^M >at >org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)^M >at >com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)^M >at com.werken.werkz.Goal.fire(Goal.java:639)^M >at com.werken.werkz.Goal.attain(Goal.java:575)^M >at >org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:44 8)^M >at >org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)^M >at org.apache.maven.cli.App.doMain(App.java:546)^M >at org.apache.maven.cli.App.main(App.java:1113)^M >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M >at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:39)^M >at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:25)^M >at java.lang.reflect.Method.invoke(Method.java:324)^M >at com.werken.forehead.Forehead.run(Forehead.java:551)^M >at com.we