Dear all,

I'm using the maven plugin of axis2. As a maven plugin I thought that giving an 
output directory of  
<outputDirectory>src/main/java</outputDirectory>(or better nothing at all)
and the right package name I could find the generated sources on my package, 
but I'm seeing that the plugin generates a new directory src! So, at the end I 
have this situation: src/main/java/src... how I can get rid of this new src 
directory? Which are the best practices for integrating the plugin in a maven 
project? BTW, a build.xml file is also created, for what is needed?

Thank you very much.

Indrit


Plugin Configuration:
        <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                <version>1.5</version>
                <configuration>
                    
<packageName>it.rcs.maps.service.providers.microsoft.webservice</packageName>
                    <wsdlFile>src/main/resources/wsdl/mappoint.wsdl</wsdlFile>
                    <generateServerSide>true</generateServerSide>
                    <outputDirectory>src/main/java</outputDirectory> 
                </configuration>
                <executions>
                    <execution>
                        <id>wsdl</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>wsdl2code</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


      

Reply via email to