Re: maven axis2 build
Hoyt Summers Pittman <[email protected]> Fri, 09 May 2014 09:51:07 -0400
| Newsgroups | gmane.org.user-groups.ajug.members |
|---|---|
| Message-ID | <[email protected]> |
On 05/09/2014 09:47 AM, Mike Barnes wrote:
> I need some help with build web service clients using maven 2 and axis2.
>
> Basically, I have a situation where I need to incorporate several
> WSDL's into a single jar/aar using maven.
Did you mean jar/war? I am only familiar with AAR's in terms of
Google's Android Archive format.
If you meant jar/war you can use the maven assembly plugin :
http://maven.apache.org/plugins/maven-assembly-plugin/
If you meant AndroidArchive then I will have to think about that some :)
>
> Below is an example of what I am trying to do.
>
> =======================================================================
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <groupId>aero.nettracer</groupId>
> <artifactId>NTService</artifactId>
> <version>1.0.0-SNAPSHOT</version>
> </parent>
> <artifactId>Navitaire</artifactId>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
> <version>1.4</version>
> <executions>
> <execution>
> <goals>
> <goal>wsdl2code</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <packageName>org.tempuri</packageName>
> <wsdlFile>${basedir}/src/main/resources/NavitaireBookingManager.wsdl</wsdlFile>
> <databindingName>xmlbeans</databindingName>
> <generateServerSide>true</generateServerSide>
> <generateServicesXml>true</generateServicesXml>
> <generateAllClasses>true</generateAllClasses>
> <skipBuildXML>true</skipBuildXML>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
> <version>1.4</version>
> <executions>
> <execution>
> <goals>
> <goal>wsdl2code</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <packageName>org.tempuri</packageName>
> <wsdlFile>${basedir}/src/main/resources/NavitaireSessionManager.wsdl</wsdlFile>
> <databindingName>xmlbeans</databindingName>
> <generateServerSide>true</generateServerSide>
> <generateServicesXml>true</generateServicesXml>
> <generateAllClasses>true</generateAllClasses>
> <skipBuildXML>true</skipBuildXML>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> =============================================================================
>
> Thanks
> Mike
>
>
> _______________________________________________
> ajug-members mailing list
> [email protected]
> http://lists.ajug.org/mailman/listinfo/ajug-members
_______________________________________________
ajug-members mailing list
[email protected]
http://lists.ajug.org/mailman/listinfo/ajug-members