[
https://issues.apache.org/jira/browse/CXF-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607679#comment-13607679
]
Glen Mazza commented on CXF-4907:
---------------------------------
Here's the docs on wsdlArtifact:
https://cwiki.apache.org/CXF20DOC/maven-cxf-codegen-plugin-wsdl-to-java.html#Mavencxf-codegen-plugin%28WSDLtoJava%29-Example5:Loadingawsdlfromthemavenrepository
Question: did you try the pom.xml from your command-line to see if it would
work there? We need to find out whether it's an Eclipse bug or something wrong
with the Maven plugin, or a configuration error in the pom.
> 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