Can you try with the 2.7.8-SNAPSHOT version? We have fixed a few issues that could be related: CXF-5287, CXF-5286, CXF-5215
Dan On Nov 7, 2013, at 11:25 AM, [email protected] wrote: > Hi all, > > we are using the cxf-codegen-plugin maven plugin is several of our > modules. > Until CXF 2.7.3 everthings is fine so far, but in all CXF versions 2.7.4+ > the cxf-codegen-plugin plugin cause some trouble in combination with the > mvn eclipse plugin. > > Our plugin configuration looks like this: > ********************** > <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <executions> > <execution> > <id>generate-java-sources</id> > <phase>generate-sources</phase> > <configuration> > <sourceRoot>${basedir}/src/main/gen</sourceRoot> > <wsdlOptions> > <wsdlOption> > <wsdl>${basedir}/src/main/resources/**********.wsdl</wsdl> > <extraargs> > <extraarg>-validate</extraarg> > <extraarg>-p</extraarg> > <extraarg>com.icw:**********</extraarg> > <extraarg>-b</extraarg> > <extraarg>${basedir}/src/main/resources/**********.jaxb</extraarg> > </extraargs> > </wsdlOption> > </wsdlOptions> > </configuration> > <goals> > <goal>wsdl2java</goal> > </goals> > </execution> > </executions> > </plugin> > ********************** > > If I run mvn eclipse:eclipse, i get the following: > > ********************** > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4:27.816s > [INFO] Finished at: Thu Nov 07 11:17:37 CET 2013 > [INFO] Final Memory: 50M/501M > [INFO] > ------------------------------------------------------------------------ > [WARNING] The requested profile "nexus" could not be activated because it > does not exist. > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse (default-cli) on > project *********: Cant canonicalize system path: {0}: The filename, > directory name, or volume label syntax is incorrect -> [Help 1] > [ > ********************** > > Has there been anything changed regarding the execution phase of the > cxf-codegen-plugin that could explain these kind problem (conflict with > eclipse plugin)? > For the moment, my workaround is to fix the plugin to 2.7.3. > > Thank you, > Kind Regards, > Thomas > > Thomas Papke | Senior Software Engineer | Connected HealthCare > InterComponentWare AG | Altrottstraße 31 | 69190 Walldorf (Baden) | > Germany > Tel.: +49 (0) 6227 385 332 13 | Fax: +49 (0) 6227 385 37 17 > [email protected] | www.icw.de > > > > > > InterComponentWare AG: > Vorstand: Peter Kirschbauer (Vors.), Matthias Glück > Aufsichtsratsvors.: Prof. Dr. Christof Hettich > Firmensitz: 69190 Walldorf, Altrottstraße 31 > AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516 -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
