You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by stlecho <st...@gmail.com> on 2011/03/08 15:34:34 UTC
wsdl2code and multi-module project
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 ?
--
View this message in context: http://old.nabble.com/wsdl2code-and-multi-module-project-tp31097649p31097649.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: wsdl2code and multi-module project
Posted by Andreas Veithen <an...@gmail.com>.
It is actually a problem that affects many Maven plugins. The usual
workaround is to use ${basedir} to build the absolute path.
Andreas
On Wed, Mar 16, 2011 at 22:05, stlecho <st...@gmail.com> wrote:
>
> I'm really blocked by this issue, so I would be more than glad if someone
> could help me with this issue ;o)
>
>
> stlecho wrote:
>>
>> 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 ?
>>
>
> --
> View this message in context: http://old.nabble.com/wsdl2code-and-multi-module-project-tp31097649p31167598.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: wsdl2code and multi-module project
Posted by stlecho <st...@gmail.com>.
I'm really blocked by this issue, so I would be more than glad if someone
could help me with this issue ;o)
stlecho wrote:
>
> 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 ?
>
--
View this message in context: http://old.nabble.com/wsdl2code-and-multi-module-project-tp31097649p31167598.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org