Hi,
I try to build cxf out from svn and I got some minor problems (I am new to
maven 2).
When just typing mvn, I got the following error:
The 'plugin 'org.apache.maven.plugins:maven-pmd-plugin' does not exist or no
valid version can be found
What can I do to fix that ? I thought this should come automatically from
the maven2 repos.
When going with maven -Pfastinstall except is usually fine except with the
latest revision for which I get this:
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache CXF Test Utilities
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [antrun:run {execution: validate}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] Registering compile source root
/home/alleon/projects/cxf/trunk/testutils/target/generated/src/main/java
[INFO] [cxf-codegen:wsdl2java {execution: generate-sources}]
13 avr. 2007 13:09:02 org.apache.cxf.tools.wsdlto.core.PluginLoaderloadPlugin
INFO: Loading plugin
jar:file:/home/alleon/projects/cxf/trunk/tools/wsdlto/frontend/jaxws/target/cxf-
tools-wsdlto-frontend-jaxws-2.0-incubator-RC-SNAPSHOT.jar!/META-INF/tools-plugin.xml
13 avr. 2007 13:09:02 org.apache.cxf.tools.wsdlto.core.PluginLoaderloadPlugin
INFO: Found 1 frontends in <jaxws> plugin.
13 avr. 2007 13:09:02 org.apache.cxf.tools.wsdlto.core.PluginLoaderloadPlugin
INFO: Loading <jaxws> frontend from <jaxws> plugin.
13 avr. 2007 13:09:02 org.apache.cxf.tools.wsdlto.core.PluginLoaderloadPlugin
INFO: Loading plugin
jar:file:/home/alleon/projects/cxf/trunk/tools/wsdlto/databinding/jaxb/target/cxf-
tools-wsdlto-databinding-jaxb-2.0-incubator-RC-SNAPSHOT.jar!/META-INF/tools-plugin.xml
13 avr. 2007 13:09:02 org.apache.cxf.tools.wsdlto.core.PluginLoaderloadPlugin
INFO: Found 1 databindings in <jaxb> plugin.
13 avr. 2007 13:09:02 org.apache.cxf.tools.wsdlto.core.PluginLoaderloadPlugin
INFO: Loading <jaxb> databinding from <jaxb> plugin.
WSDLToJava Error : java.lang.ClassCastException:
sun.net.www.protocol.file.FileURLConnection
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] ExitException: status 1
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: ExitException:
status 1
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.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(
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.plugin.MojoExecutionException: ExitException:
status 1
at org.apache.cxf.maven_plugin.WSDL2JavaMojo.processWsdl(
WSDL2JavaMojo.java:199)
at org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(
WSDL2JavaMojo.java:102)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:443)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: org.apache.tools.ant.ExitException: ExitException: status 1
at
org.apache.tools.ant.util.optional.NoExitSecurityManager.checkExit(
NoExitSecurityManager.java:38)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:869)
at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:181)
at org.apache.cxf.maven_plugin.WSDL2JavaMojo.processWsdl(
WSDL2JavaMojo.java:184)
... 19 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 25 seconds
[INFO] Finished at: Fri Apr 13 13:09:03 GMT+01:00 2007
[INFO] Final Memory: 29M/117M
[INFO]
------------------------------------------------------------------------
[EMAIL PROTECTED]:~/projects/cxf/trunk$
Cheers
Guillaume