Re: maven axis2 build
Ramesh Rajamani <[email protected]> Mon, 12 May 2014 13:56:57 +0000
| Newsgroups | gmane.org.user-groups.ajug.members |
|---|---|
| Message-ID | <[email protected]> |
Hi Mike,
I have one or more services which uses the axis using Maven. Please find the same. So in one of our previous project what we did , we have plugin service project (jar) with the UI layer using the Maven.
Regards,
Ramesh Rajamani
Date: Fri, 9 May 2014 09:51:07 -0400
From: [email protected]
To: [email protected]; [email protected]
Subject: Re: [ajug-members] maven axis2 build
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
_______________________________________________
ajug-members mailing list
[email protected]
http://lists.ajug.org/mailman/listinfo/ajug-members
services.7z
(application/octet-stream, 5.2 KB) - not displayed