Intro
Hi, I am using the following plugin in order to generate sources for a soap web-services.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>1.9</version>
<executions>
<execution>
<goals>
<goal>wsimport</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
<configuration>
<wsdlUrls> <wsdlUrl>
http://interface/interface?wsdl
</wsdlUrl>
</wsdlUrls>
<sourceDestDir>${project.basedir}/src/main/java</sourceDestDir>
</configuration>
</plugin>
I am generated the sources directly into the src folder.
Questions:
1) I am wondering whether the sources for the webservice should be generated in another folder? Would a different configuration work better?
2) How should I configure my project so that: JUnit, and Sonar to ignore these generated sources?