Hi Benson,
I have added this dependency. It is used to pull wsdl files from the
maven repo.
(see https://issues.apache.org/jira/browse/CXF-2275)
I have added the following dependencies to the codegen plugin:
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<scope>provided</scope>
</dependency>
Did I forget to include something to make the build work? A complete
build seems to run without problems.
Greetings
Christian
Benson Margulies schrieb:
INFO] [antrun:run {execution: validate}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] Registering compile source root
/Users/benson/asf/cxf/testutils/target/generated/src/main/java
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unresolved compilation problems:
The import org.apache.maven.execution cannot be resolved
MavenSession cannot be resolved to a type
MavenSession cannot be resolved to a type
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.Error: Unresolved compilation problems:
The import org.apache.maven.execution cannot be resolved
MavenSession cannot be resolved to a type
MavenSession cannot be resolved to a type
at
org.apache.cxf.maven_plugin.WSDL2JavaMojo.<init>(WSDL2JavaMojo.java:40)