axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <mai....@nordea.com>
Subject RE: How to integrate Axis2 into our project built by Maven
Date Tue, 20 May 2008 11:57:10 GMT
Hi Saminda,
 
Thanks for you reply. We're indeed using Maven2 to build WAR. We tried
to add the following dependencies in our pom.xml:
 
<dependency>

<groupId>org.apache.axis2</groupId> 

<artifactId>axis2-adb</artifactId>

<version>1.3</version> 

</dependency>

<dependency>

<groupId>org.apache.axis2</groupId> 

<artifactId>axis2-kernel</artifactId>

<version>1.3</version> 

</dependency> 

It only downloads the mininal jars for Axis2. What if we want to get a
full version of Axis2? Is it just a matter of adding all sub modules
from Axis2?
 
Thanks a lot!
 
Best wishes,
Mai Sun

 
________________________________

From: Saminda Abeyruwan [mailto:samindaa@gmail.com] 
Sent: 19 May 2008 20:32
To: axis-dev@ws.apache.org
Subject: Re: How to integrate Axis2 into our project built by Maven


Hi Sun,

I believe you are using Maven2 to create the WAR distribution. If you
are using Maven 1.x, we would recommend you to switch to Maven2 instead.


What you need in this case is Maven2 and war plugin. You only need to
provide the axis2 dependencies in you pom.xml and rest will be take care
by Manven2 with as transitive dependencies. 

With minimum dependencies of axis2-kernel and axis2-adb you'll be able
to build the WAR distribution as you pleased using Maven2

Thank you!

Saminda 


On Mon, May 19, 2008 at 8:06 PM, <mai.sun@nordea.com> wrote:



	Hi, 

	We're developing Axis2 based webservice and it works great, but
now we plan to build the WAR by using Maven instead of Ant. In the Axis2
1.3 distribution there are 60 jars, do we need to declare dependencies
of all these jar in our project or is there any easy way to get around
this?

	Any suggestion is appreciated. 

	Best wishes, 
	Mai Sun 




-- 
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org 

Mime
View raw message