I tried to do the "mvn -P allblocks install" from the root of coocon but i had this problem,

[DEBUG]   org.apache.commons:javaflow:jar:1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------ [INFO] Project 'org.apache.cocoon:cocoon-xml-util' is duplicated in the reactor [INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Project 'org.apache.cocoon:cocoon-xml-util' is duplicated in the reactor
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
       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: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.project.DuplicateProjectException: Project 'org.apache.cocoon:cocoon-xml-util' is duplicated
in the reactor
at org.apache.maven.project.ProjectSorter.<init>(ProjectSorter.java:79) at org.apache.maven.execution.ReactorManager.<init>(ReactorManager.java:59)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:302)
       ... 10 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 33 seconds
[INFO] Finished at: Wed Jan 07 17:25:19 CET 2009
[INFO] Final Memory: 72M/1016M
[INFO] ------------------------------------------------------------------------

Thanks Grzegorz ,
Jose
Jose Luis Carmona pisze:
Hi,

I've downloaded the complete repository from
"http://svn.apache.org/repos/asf/cocoon/trunk"; and I've tried to build
the block "blocks\cocoon-xmldb\cocoon-xmldb-impl" but i have problems
with the "cocoon-spring-configurator" block.

I've used the command "mvn -e clean install".

You should either switch dependency of xmldb-impl so it depends on released 
version of cocoon-spring-configurator or
just try to build everything from root so all SNAPSHOT dependencies of 
xmldb-impl will be built first.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to