cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4907) cxf-codegen-plugin does not work inside Eclipse with wsdlArtifact option
Date Wed, 20 Mar 2013 19:07:15 GMT

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

Glen Mazza commented on CXF-4907:
---------------------------------

How are you running the plugin from within Eclipse?  Are you using Eclipse's m2e tool, or?

Since it works command-line, I'm not sure if this is a CXF bug -- it may be a coding issue
with external tools provided by Eclipse that are not correctly activating the plugin.
                
> 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