I would upgrade m2XD2 plugin to 2.0.5 released
as there is better version of qdox ( which actually
causes problems )

regards,

--- Marco Mistroni <[EMAIL PROTECTED]> wrote:

> Hi all,
>  i am running  XD2 maven2 plugin for generating
> hibernate files....
> i have one class which is an enumeration (i m
> running on JDK 1.5) and when i
> invoke xdoclet i got
> following disaster exception...
> I Have been using xd2 mvn2 plugin at home ,
> everything has worked fine
> (probably because i don't have enumerations.....)
> below is tghe exception and at the end of the email
> is the pom.xml..
> 
> can anyone help me out?
> 
> thanks in advance and regards
>  marco
> 
> here it is
> > [WARNING] POM for
> 'jaxen:jaxen:pom:1.1-beta-4:runtime' is invalid. It
> will
> > be ig
> > nored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> > [DEBUG] Reason: Not a v4.0.0 POM.
> > [DEBUG]         jaxen:jaxen:jar:1.1-beta-4:runtime
> (selected for runtime)
> > [DEBUG] While downloading xerces:xerces:2.2.1
> >   This artifact has been relocated to
> xerces:xercesImpl:2.2.1.
> >
> >
> > [DEBUG]        
> xerces:xercesImpl:jar:2.2.1:runtime (selected for
> runtime)
> > [DEBUG]      
>
commons-jelly:commons-jelly-tags-xml:jar:1.0:runtime(removed
> - ne
> > arer found: 20050823.222913)
> > [DEBUG]       dom4j:dom4j:jar:1.5.2:runtime
> (removed - nearer found: 1.6)
> > [DEBUG]       dom4j:dom4j:jar:1.6:runtime
> (selected for runtime)
> > [DEBUG]      
> commons-jexl:commons-jexl:jar:1.0:runtime (selected
> for
> > runtime)
> > [DEBUG]       ant:ant:jar:1.5.3-1:runtime
> (selected for runtime)
> > [DEBUG]       antlr:antlr:jar:2.7.2:runtime
> (selected for runtime)
> > [DEBUG]      
> freemarker:freemarker:jar:2.3.4:runtime (selected
> for
> > runtime)
> > [DEBUG]       xmlunit:xmlunit:jar:1.0:runtime
> (selected for runtime)
> > [DEBUG]       junit:junit:jar:3.8.1:runtime
> (selected for runtime)
> > [DEBUG]       jmock:jmock:jar:1.0.0:runtime
> (selected for runtime)
> > [DEBUG]      
> generama:qdox:jar:20051211.114207:runtime (selected
> for
> > runtime)
> > [DEBUG] generama: using locally installed snapshot
> > [DEBUG] xdoclet-plugin-hibernate: using locally
> installed snapshot
> > [DEBUG] xdoclet: using locally installed snapshot
> > [DEBUG] Configuring mojo
> 'xdoclet:maven2-xdoclet2-plugin:
> > 2.0.5-SNAPSHOT:xdoclet'
> >  -->
> > [DEBUG]   (s) classname =
> >
> org.xdoclet.plugin.hibernate.HibernateMappingPlugin
> > [DEBUG]   (s) params = {version=3.0}
> > [DEBUG]   (s) components =
> [EMAIL PROTECTED]
> > [DEBUG]   (s) configs = [Config{,
> includes=**/*.java, excludes=,
> > encoding='Cp125
> > 2', addToSources='true', params={}}]
> > [DEBUG]   (s) project =
> [EMAIL PROTECTED]
> > [DEBUG] -- end configuration --
> > [INFO] [2-xdoclet2:xdoclet {execution: xdoclet}]
> > [DEBUG] Config{, includes=**/*.java, excludes=,
> encoding='Cp1252',
> > addToSources=
> > 'true', params={}}
> > Running
> org.xdoclet.plugin.hibernate.HibernateMappingPlugin
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [INFO] XDoclet plugin failed: syntax error @[11,9]
> in
> > file:/C:/WebWorkApp/WebWor
> > kBackend/src/main/java/info/BatchRegion.java
> >
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [DEBUG] Trace
> >
>
org.apache.maven.lifecycle.LifecycleExecutionException:
> XDoclet plugin
> > failed: s
> > yntax error @[11,9] in
> >
>
file:/C:/WebWorkApp/WebWorkBackend/src/main/java/com/bnpp
> >
>
aribas/risk/collateralrisk/common/batch/info/BatchRegion.java
> >         at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > ultLifecycleExecutor.java:564)
> >         at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > fecycle(DefaultLifecycleExecutor.java:480)
> >         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > (Defau
> > ltLifecycleExecutor.java:459)
> >         at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > dleFailures(DefaultLifecycleExecutor.java:311)
> >         at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > ts(DefaultLifecycleExecutor.java:278)
> >         at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (DefaultLi
> > fecycleExecutor.java:143)
> >         at
>
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >         at
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >         at
>
org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >         at
> java.lang.reflect.Method.invoke(Method.java:585)
> >         at
>
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> > :315)
> >         at
>
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(
> > Launcher.java:430)
> >
> >         at
>
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by:
> org.apache.maven.plugin.MojoExecutionException:
> XDoclet plugin
> > failed
> > : syntax error @[11,9] in
> >
>
file:/C:/WebWorkApp/WebWorkBackend/src/main/java/com/b
> >
>
npparibas/risk/collateralrisk/common/batch/info/BatchRegion.java
> >         at
>
org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:158)
> >         at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > (DefaultPlugi
> > nManager.java:443)
> >         at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > ultLifecycleExecutor.java:539)
> >         ... 16 more
> > Caused by:
> com.thoughtworks.qdox.parser.ParseException: syntax
> error
> > @[11,9] in
> >
> >
>
file:/C:/WebWorkApp/WebWorkBackend/src/main/java/com/bnpparibas/risk/collateralr
> > isk/common/batch/info/BatchRegion.java
> >         at
>
com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java
> > :611)
> >         at
>
com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java
> > :719)
> >         at
>
com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:592)
> >         at
> com.thoughtworks.qdox.JavaDocBuilder.addSource(
> > JavaDocBuilder.java:30
> > 0)
> >         at
> com.thoughtworks.qdox.JavaDocBuilder.addSource(
> > JavaDocBuilder.java:31
> > 6)
> >         at
> >
>
org.xdoclet.QDoxMetadataProvider.addSourcesFromJavaSourceProvider(QDo
> > xMetadataProvider.java:129)
> >         at
> org.xdoclet.QDoxMetadataProvider.getMetadata(
> > QDoxMetadataProvider.jav
> > a:152)
> >         at
>
org.generama.defaults.QDoxPlugin.getMetadata(QDoxPlugin.java
> > :56)
> >         at
> org.generama.Plugin.start(Plugin.java:238)
> >         at
>
org.picocontainer.defaults.DefaultPicoContainer.start
> > (DefaultPicoCont
> > ainer.java:349)
> >         at
> >
>
org.nanocontainer.integrationkit.LifecycleContainerBuilder.autoStart(
> > LifecycleContainerBuilder.java:52)
> >         at
> >
>
org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildConta
> > iner(LifecycleContainerBuilder.java:45)
> >         at
>
org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:149)
> >         ... 18 more
> > [INFO]
> >
>
------------------------------------------------------------------------
> > [INFO] Total time: 14 seconds
> > [INFO] Finished at: Wed Apr 04 17:33:18 BST 2007
> > [INFO] Final Memory: 7M/40M
> > [INFO]
> >
>
------------------------------------------------------------------------
> 
> 
> 
> 
> here's pom
> 
> <plugins>
>           <plugin>
>               <groupId>xdoclet</groupId>
>              
> <artifactId>maven2-xdoclet2-plugin</artifactId>
>               <version>2.0.5-SNAPSHOT</version>
>               <executions>
>                 <execution>
>                     <id>xdoclet</id>
>                     <phase>process-classes</phase>
>                     <goals>
>                         <goal>xdoclet</goal>
>                     </goals>
>                  </execution>
>               </executions>
>               <dependencies>
>                 <dependency>
>                    
> <groupId>xdoclet-plugins</groupId>
>                    
> <artifactId>xdoclet-plugin-hibernate</artifactId>
>                    
> <version>1.0.4-SNAPSHOT</version>
>                 </dependency>
>               </dependencies>
> 
>               <configuration>
>                  <configs>
>                      <config>
>                         <components>
>                           <component>
>                               <classname>
> 
>
org.xdoclet.plugin.hibernate.HibernateMappingPlugin</classname>
>                                 <params>
>                                   
> <version>3.0</version>
>                                 </params>
>                            </component>
>                          </components>
> 
>                      </config>
>                  </configs>
>               </configuration>
> 
>            </plugin>
>       </plugins>
> >
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
> express and take
> control of your XML. No limits. Just data. Click to
> get it now.
> http://sourceforge.net/powerbar/db2/>
_______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> 


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to