cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Revillard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4907) cxf-codegen-plugin does not work inside Eclipse with wsdlArtifact option
Date Mon, 25 Mar 2013 16:27:17 GMT

    [ https://issues.apache.org/jira/browse/CXF-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612801#comment-13612801
] 

Jerome Revillard commented on CXF-4907:
---------------------------------------

Yes, using m2e.

It seems to be Eclipse related then: one of my colleague managed to reproduce the error: in
fact, we discovered that it happen if the workspace resolution is enabled and if the project
which publish the wsdl is in the workspace... by deactivating the workspace resolution functionality
of m2e it works...

Best,
Jerome


                
> 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

Mime
View raw message