Building opencmis fails with "XPP3 pull parser library not present" error
-------------------------------------------------------------------------

                 Key: CMIS-425
                 URL: https://issues.apache.org/jira/browse/CMIS-425
             Project: Chemistry
          Issue Type: Bug
            Reporter: Stefane Fermigier


The error given by "mvn clean install" on trunk:

{code}
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp[chemistry-opencmis-test-fit] in 
[/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/target/chemistry-opencmis-test-fit-0.5.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp 
resources[/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/main/webapp]
[INFO] Building jar: 
/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/target/chemistry-opencmis-test-fit-0.5.0-SNAPSHOT/WEB-INF/lib/chemistry-opencmis-test-fit-0.5.0-SNAPSHOT.jar
[INFO] Processing overlay[ id 
org.apache.chemistry.opencmis:chemistry-opencmis-server-inmemory-war]
[INFO] Webapp assembled in [617 msecs]
[INFO] Building war: 
/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/target/chemistry-opencmis-test-fit-0.5.0-SNAPSHOT.war
[INFO] Packaging classes
[INFO] Building jar: 
/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/target/chemistry-opencmis-test-fit-0.5.0-SNAPSHOT-classes.jar
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar: 
/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/target/chemistry-opencmis-test-fit-0.5.0-SNAPSHOT-sources.jar
[INFO] Preparing jetty:run-war
[WARNING] Removing: run-war from forked lifecycle, to prevent recursive 
invocation.
[INFO] [buildnumber:create {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/Users/fermigier/svn/opencmis-clean/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Skipping execution of surefire because it has already been run for this 
configuration
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XPP3 pull parser library not present. Specify another driver. For 
example: new XStream(new DomDriver())
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalArgumentException: XPP3 pull parser library not present. 
Specify another driver. For example: new XStream(new DomDriver())
        at 
com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:62)
        at 
com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:43)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
        at 
org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(WebappStructureSerializer.java:73)
        at 
org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:423)
        at 
org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:394)
        at 
org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:195)
        at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:157)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1205)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1038)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:643)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        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:597)
        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)

{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to