I'm using a multi-module project. When building a sub-module, the wsdl2code
plugin finds the WSDL for which I'm generating Java classes. When building
the complete module, the WSDL is not found: "*java.io.FileNotFoundException:
This file was not found:
file:/D:/MULTI_MODULE_PROJECT/src/main/resources/SITRANWebService.wsdl*".

I've tried to include ${project.artifactId} or
${parent.artifactId}/${project.artifactId} in the location of the WSDL file,
but none of them solved the problem.

Configuration I'm using:
*<configuration>
   ...
   <wsdlFile>src/main/resources/SITRANWebService.wsdl</wsdlFile>
   ...
</configuration>*

What is the best way to define the location of the WSDL file when working
with a multi-module project ?

Reply via email to