cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Mottadelli <paolo....@gmail.com>
Subject Cocoon 2.2 Build failing
Date Thu, 26 Oct 2006 16:48:26 GMT
Hello I'm having some problems building Cocoon 2.2
(on Widows, but I tried on Linux Ubuntu and found the same)

I downloaded Cocoon 2.2 from svn repo:
svn co http://svn.apache.org/repos/asf/cocoon/trunk/

using Maven 2.0.4
mvn -Dmaven.test.skip=true -Dallblocks install

well, two jars are missing:
xreporter-repository
fop-0.92beta

I found them somewhere and installed manually, then retyped mvn 
-Dmaven.test.skip=true -Dallblocks install

the other problem is with cocoon-samples.war and it's happening both on 
Windows and Linux.
HAS ANYBODY SOME EXPERIENCE ABOUT THIS?
THANK YOU!
these are the error messages

[INFO] Generating war 
C:\eclipse\sourcesense\Blueprint\cocoon-2.2\dists\cocoon-d
ist-samples\target\cocoon-samples.war
[INFO] Building war: 
C:\eclipse\sourcesense\Blueprint\cocoon-2.2\dists\cocoon-di
st-samples\target\cocoon-samples.war
[INFO] [cocoon:deploy {execution: default}]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to 
C:\eclipse\sourcesense\Blueprint\cocoon-2.2\d
ists\cocoon-dist-samples\target\cocoon-samples
[INFO] Assembling webapp cocoon-dist-samples in 
C:\eclipse\sourcesense\Blueprint
\cocoon-2.2\dists\cocoon-dist-samples\target\cocoon-samples
[INFO] 
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] null
[INFO] 
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at 
org.apache.maven.plugin.war.AbstractWarMojo.unpack(AbstractWarMojo.ja
va:704)
        at 
org.apache.maven.plugin.war.AbstractWarMojo.unpackWarToTempDirectory(
AbstractWarMojo.java:680)
        at 
org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMo
jo.java:600)
        at 
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(Abstr
actWarMojo.java:379)
        at 
org.apache.cocoon.maven.deployer.AbstractDeployMojo.deployMonolithicC
ocoonAppAsWebapp(AbstractDeployMojo.java:180)
        at 
org.apache.cocoon.maven.deployer.DeployExplodedMojo.execute(DeployExp
lodedMojo.java:64)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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)
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 51 seconds
[INFO] Finished at: Thu Oct 26 18:37:55 CEST 2006
[INFO] Final Memory: 19M/34M
[INFO] 
------------------------------------------------------------------------

Mime
View raw message