[
https://issues.apache.org/jira/browse/CXF-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Mazza reopened CXF-4907:
-----------------------------
Reopening--at least to provide a forum for others to commiserate :) But
hopefully someone can report the specific problem and solution.
I don't use m2e so I don't know where the source of the problem is--even if
it's the CXF plugin raising a error message as you note it could be because
it's being fed bad information from the m2e plugin. Of course we have no
control over Eclipse's m2e plugin source code, and that a far simpler solution
could possibly (idk) be on their side rather than ours--i.e., 10 lines of code
on their side vs. CXF needing to rewrite a signficant amount of code to
accommodate what could be their plugin's quirks.
> cxf-codegen-plugin does not work inside Eclipse with wsdlArtifact option
> ------------------------------------------------------------------------
>
> Key: CXF-4907
> URL: https://issues.apache.org/jira/browse/CXF-4907
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.7.3
> Environment: Eclipse Juno
> Reporter: Jerome Revillard
>
> This kind of configuration raise an error inside Eclipse:
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-codegen-plugin</artifactId>
> <executions>
> <execution>
> <id>generate-sources</id>
> <phase>generate-sources</phase>
> <configuration>
> <wsdlOptions>
> <wsdlOption>
> <wsdlArtifact>
> <groupId>XXXX</groupId>
> <artifactId>YYYYY</artifactId>
> <version>2.1.1-SNAPSHOT</version>
> </wsdlArtifact>
> </wsdlOption>
> </wsdlOptions>
> </configuration>
> <goals>
> <goal>wsdl2java</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> The error raised is:
> No wsdl available for base URI file:/mypath/
> (org.apache.cxf:cxf-codegen-plugin:2.7.3:wsdl2java:generate-sources:generate-sources)
> Best,
> Jerome
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira