Hi all,
I have a issue when using maven-compiler-plugin with
axis2-wsdl2code-maven-plugin.
Whenever I enable
<generateServicesXml>true</generateServicesXml>
in the axis2-wsdl2code-maven-plugin.
The exclude option in maven-compiler-plugin will not work
<excludes>
<exclude>**/excluded.java</exclude>
</excludes>
Is it a bug or I have something wrong in my POM.xml?
There is how I define my plugins:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<excludes>
<exclude>target/**/MediatorServiceSkeleton.java</exclude>
</excludes>
<generatedSourcesDirectory>target</generatedSourcesDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.axis2.maven2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>com.openlane.mediator.mediatorservice</packageName>
<wsdlFile>src/main/webapp/WEB-INF/services/MediatorService/META-INF/MediatorService.wsdl</wsdlFile>
<generateServerSide>true</generateServerSide>
<generateServicesXml>true</generateServicesXml>
<generateServerSideInterface>true</generateServerSideInterface>
<databindingName>adb</databindingName>
<outputDirectory>target</outputDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
</plugins>
Thanks
David