You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jose Luis Carmona <jo...@integromics.com> on 2009/01/07 13:02:22 UTC

Problems building block

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".

Could anybody help me?

Thanks,
Jose



Re: Problems building block

Posted by Carsten Ziegeler <cz...@apache.org>.
Hi,

thanks for spotting this - I accidentally committed a new module with
this name. I just corrected it in svn, so it should work now.

Carsten

Jose Luis Carmona wrote:
> 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-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


-- 
Carsten Ziegeler
cziegeler@apache.org

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


Re: Problems building block

Posted by Jose Luis Carmona <jo...@integromics.com>.
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-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Problems building block

Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
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.


-- 
Grzegorz Kossakowski

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