org.codehaus.mojo:jaxws-maven-plugin:2.5:wsimport

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

org.codehaus.mojo:jaxws-maven-plugin:2.5:wsimport

Tomaz Majerhold
wsdlDirectory Default value is: ${project.basedir}/src/wsdl

my structure is

src/main/java/wsdl

                             - a.wsdl


  <plugin>
                 <groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
                 <version>2.5</version>
                 <executions>
                     <execution>
                       <goals>
                         <goal>wsimport</goal>
                       </goals>
                     </execution>
                 </executions>
                 <configuration>
                 <wsdlFiles>
<wsdlFile>a.wsdl</wsdlFile>
</wsdlFiles>

                 </configuration>

             </plugin>


And I get error:

Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:2.5:wsimport
(default) on project portal-api-server: 'a.wsdl' not found.


Regards, Tomaž
**

Reply | Threaded
Open this post in threaded view
|

Re: org.codehaus.mojo:jaxws-maven-plugin:2.5:wsimport

Anders Hammar
Note that default wsdl dir is  ${project.basedir}/src/wsdl. Not
${project.basedir}/src/java/wsdl

/Anders

On Wed, Feb 14, 2018 at 1:09 PM, Tomaž Majerhold <[hidden email]>
wrote:

> wsdlDirectory Default value is: ${project.basedir}/src/wsdl
>
> my structure is
>
> src/main/java/wsdl
>
>                             - a.wsdl
>
>
>  <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
> <artifactId>jaxws-maven-plugin</artifactId>
>                 <version>2.5</version>
>                 <executions>
>                     <execution>
>                       <goals>
>                         <goal>wsimport</goal>
>                       </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                 <wsdlFiles>
> <wsdlFile>a.wsdl</wsdlFile>
> </wsdlFiles>
>
>                 </configuration>
>
>             </plugin>
>
>
> And I get error:
>
> Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:2.5:wsimport
> (default) on project portal-api-server: 'a.wsdl' not found.
>
>
> Regards, Tomaž
> **
>
>