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

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

Hi,

It works without problem from command lines:

[INFO] --- cxf-codegen-plugin:2.7.3:wsdl2java (generate-sources) @ 
pandora-clients-fedehr ---
Downloading: 
http://nexus.maatg.fr/content/repositories/maatg-fr-snapshots/fr/maatg/pandora/gateway/pandora-gateway-idal-fedehr/2.1.1-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://nexus.maatg.fr/content/repositories/maatg-fr-snapshots/fr/maatg/pandora/gateway/pandora-gateway-idal-fedehr/2.1.1-SNAPSHOT/maven-metadata.xml
 (2 KB at 1.5 
KB/sec)
[INFO] Resolved WSDL artifact to file 
/home/jerome/.m2/repository/fr/maatg/pandora/gateway/pandora-gateway-idal-fedehr/2.1.1-SNAPSHOT/pandora-gateway-idal-fedehr-2.1.1-SNAPSH
OT.wsdl
[INFO] 


Also, inside my Eclipse, it works if I specify the WSDL path like this:

<wsdlOption>
  
<wsdl>/home/jerome/.m2/repository/fr/maatg/pandora/gateway/pandora-gateway-idal-fedehr/2.1.1-SNAPSHOT/pandora-gateway-idal-fedehr-2.1.1-SNAPSHOT.wsdl</wsdl>
</wsdlOption>

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

Reply via email to