On Sat September 5 2009 9:49:57 am Benson Margulies wrote: > The quickest path to failure is: > > mvn clean > mvn -Pfastinstall,setup.eclipse
You probably needed: mvn install -Pfastinstall,setup.eclipse setup.eclipse resets the default target to process-test-sources so the plugin probably wasn't installed. Dan > > On Sat, Sep 5, 2009 at 9:37 AM, Christian Schneider > <[email protected] > > > wrote: > > > > So mvn install worked and mvn -Pfastinstall did not work? > > > > > > Greetings > > > > Christian > > > > Benson Margulies schrieb: > >> Something is wrong with the 'fastinstall' profile. Maybe it doesn't > >> rebuild > >> the codegen? > >> > >> On Sat, Sep 5, 2009 at 9:02 AM, Christian Schneider < > >> [email protected] > >> > >>> wrote: > >>> > >>> > >>> > >>> > >>> > >>> 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 > >>>>) > -- Daniel Kulp [email protected] http://www.dankulp.com/blog
