HI Konstantin,
sorry it didnt work out...
i tried with 2.0.5, it tried to download 2.0.6 and it failed again
here's my pom
******* pom.xml
<?xml version="1.0"?><project>
<parent>
<artifactId>WebWorkApp</artifactId>
<groupId>WebWorkApp</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>WebWorkApp</groupId>
<artifactId>WebWorkBackend</artifactId>
<packaging>war</packaging>
<name>WebWorkBackend</name>
<version>1.0-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>3.2.3.ga</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
</dependency>
<dependency>
<groupId>lucene</groupId>
<artifactId>lucene</artifactId>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee</artifactId>
</dependency>
<dependency>
<groupId>poi</groupId>
<artifactId>poi</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-mock</artifactId>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
</dependency>
<dependency>
<groupId>opensymphony</groupId>
<artifactId>webwork</artifactId>
</dependency>
<dependency>
<groupId>freemarker</groupId>
<artifactId>freemarker</artifactId>
</dependency>
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>xdoclet</groupId>
<artifactId>maven2-xdoclet2-plugin</artifactId>
<version>2.0.5</version>
<executions>
<execution>
<id>xdoclet</id>
<phase>generate-sources</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>
</build>
</project>
*********************
settings.xml
*************************
<settings>
<mirrors>
<mirror>
<id>dotsrc.org</id>
<url>http://mirrors.dotsrc.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>ggi-project.org</id>
<url>http://ftp.ggi-project.org/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>sunsite.dk</id>
<url>http://mirrors.sunsite.dk/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>planetmirror.com</id>
<url>http://public.planetmirror.com/pub/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>lsu.edu</id>
<url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>ibiblio.net</id>
<url>http://www.ibiblio.net/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>test</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>codehausSnapshots</id>
<name>Codehaus Snapshots</name>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<url>http://snapshots.maven.codehaus.org/maven2</url>
<layout>default</layout>
</repository>
<repository>
<id>Codehaus</id>
<name>Codehaus Repository</name>
<url>http://repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>codehaus-plugins</id>
<url>http://dist.codehaus.org/</url>
<layout>legacy</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
***********************************
exception
**************************************
WARNING]
Artifact xdoclet:xdoclet:jar:2.0.6:runtime retains local scope
'runtime'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
loc
al scope.
[DEBUG] xdoclet:xdoclet:jar:2.0.6:runtime (selected for runtime)
[DEBUG] generama:generama:jar:1.2.3:runtime (selected for runtime)
[DEBUG] picocontainer:picocontainer:jar:1.0:runtime (selected for
runtime)
[DEBUG] nanocontainer:nanocontainer-ant:jar:1.0-beta-3:runtime(selected f
or runtime)
[DEBUG] nanocontainer:nanocontainer:jar:1.0-beta-3:runtime (selected
for r
untime)
[DEBUG] velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4:runtime (selected for runtime)
[DEBUG] commons-collections:commons-collections:jar:3.1:runtime(selected
for runtime)
[DEBUG] log4j:log4j:jar:1.2.8:runtime (selected for runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:runtime (selected
for ru
ntime)
[DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:runtime(selected fo
r runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (removed -
nea
rer found: 1.0.4)
[DEBUG] commons-jelly:commons-jelly:jar:1.0:runtime (selected for
runtime)
[DEBUG] While downloading servletapi:servletapi:2.3
This artifact has been relocated to javax.servlet:servlet-api:2.3.
[DEBUG] javax.servlet:servlet-api:jar:2.3:runtime (selected for
runtime)
[DEBUG] commons-cli:commons-cli:jar:1.0:runtime (selected for
runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0:runtime (removed -
nea
rer found: 1.0.4)
[DEBUG] commons-lang:commons-lang:jar:1.0:runtime (selected for
runtim
e)
[DEBUG] junit:junit:jar:3.7:runtime (selected for runtime)
[DEBUG] commons-lang:commons-lang:jar:1.0:runtime (removed - nearer
foun
d: 2.0)
[DEBUG] commons-lang:commons-lang:jar:2.0:runtime (selected for
runtime)
[DEBUG] commons-discovery:commons-discovery:jar:
20030211.213356:runtime
(selected for runtime)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (removed
- n
earer found: 1.0.4)
[DEBUG] junit:junit:jar:3.7:runtime (selected for runtime)
[DEBUG] forehead:forehead:jar:1.0-beta-5:runtime (selected for
runtime)
[DEBUG] While downloading jstl:jstl:1.0.6
This artifact has been relocated to javax.servlet:jstl:1.0.6.
[DEBUG] javax.servlet:jstl:jar:1.0.6:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.7:runtime (removed - nearer found: 3.8.1)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] commons-jexl:commons-jexl:jar:1.0:runtime (selected for
runtime)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:runtime (selected for runtime)
[DEBUG] commons-beanutils:commons-beanutils:jar:1.6:runtime (removed
- n
earer found: 1.7.0)
[DEBUG] commons-collections:commons-collections:jar:2.1:runtime(removed
- nearer found: 3.1)
[DEBUG] commons-logging:commons-logging:jar:1.0.3:runtime (removed -
nea
rer found: 1.0.4)
[DEBUG] dom4j:dom4j:jar:1.5.2:runtime (selected for runtime)
[DEBUG] jaxme:jaxme-api:jar:0.3:runtime (selected for runtime)
[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] msv:xsdlib:jar:20030807:runtime (selected for runtime)
[DEBUG] msv:relaxngDatatype:jar:20030807:runtime (selected for
runtime
)
[DEBUG] pull-parser:pull-parser:jar:2:runtime (selected for
runtime)
[DEBUG] xpp3:xpp3:jar:1.1.3.3:runtime (selected for runtime)
[DEBUG] stax:stax-api:jar:1.0:runtime (selected for runtime)
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[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] xdoclet-plugin-hibernate: using locally installed snapshot
[DEBUG] Configuring mojo 'xdoclet:maven2-xdoclet2-plugin:2.0.5: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 @[5,9] in
file:/C:/WebWorkApp/WebWork
Backend/src/main/java/com/bnpparibas/risk/collateralrisk/common/batch/info/Batch
Region.java
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: XDoclet plugin
failed: s
yntax error @[5,9] in
file:/C:/WebWorkApp/WebWorkBackend/src/main/java/com/bnppa
ribas/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 @[5,9] in
file:/C:/WebWorkApp/WebWorkBackend/src/main/java/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 @[5,9]
in f
ile:/C:/WebWorkApp/WebWorkBackend/src/main/java/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: 31 seconds
[INFO] Finished at: Tue May 08 18:32:46 BST 2007
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
C:\WebWorkApp>mvn -X clean compile > mvn2error.txt
C:\WebWorkApp>
do i need to disable snapshot for codehaus repository?
thanks in advance and regars
marco
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest