Reputation: 1651
I want to refer to a WSDL file from my POM file of Maven Webapp. It is situated at ..WebApp\src\main\webapp\WSDL\NewWebService.wsdl.
WSDL/NewWebService.wsdl
This gives me error, please suggest.
Thanks in advance!
Upvotes: 0
Views: 842
Reputation: 29703
You can refer path, using maven property ${basedir}
.
<wsdl>${basedir}/src/main/webapp/WSDL/NewWebService.wsdl</wsdl>
or
<file>${basedir}/src/main/webapp/WSDL/NewWebService.wsdl</file>
or something else. (You didn't say anything about used maven-plugin)
Upvotes: 1