Addressing.mar comes with axis2-1.6.2 and Axis2-1.6.2 comes as a .war file like 
your own project.
Addressing.mar is a component of your Axis2-1.6.2 web service engine, as such 
it gets deployed 
by Tomcat as soon as Tomcat detects axis2-1.6.2.war. That way 
addressing-1.6.2.mar finds its way 
into catalina_home/webapps/axis2-1.6.2/WEB-INF/modules from where it is 
class-loaded and used.

End of story regarding axis2-1.6.2

Your project built with maven to a .war file, is moved into 
catalina_home/webapps, does not need to deploy addressin.mar

Your projects dependency on addressing is 1. at compile time but 2. not 
directly at runtime. 
So you do not need to deploy addressing-1.6.2.mar with your project-kit.war as 
this is already done 
with axis2-1.6.2 itself. Hence your dependency on addressing changes slightly 
becomes a <scope>. 
This is <scope>provided</scope>, telling maven, that the artifact is already 
provided, and hence 
maven has no need to include addressin-1.6.2.mar into the project-kit.war for 
deployment. 

<dependency>
   <groupId>org.apache.axis2</groupId>
   <artifactId>addressing</artifactId>
   <version>1.6.2</version>
   <scope>provided</scope>                              <<<<*************
</dependency>

Josef


-----Ursprüngliche Nachricht-----
Von: Yashwanth Rajaram -X (yrajaram - ZENSAR TECHNOLOGIES INC at Cisco) 
[mailto:yraja...@cisco.com] 
Gesendet: Montag, 11. Februar 2013 20:05
An: java-user@axis.apache.org; somethingwic...@gmx.net
Betreff: RE: axis2 Update from 1.4 to 1.6

Hi,

If you want to include addressing.mar then it has to be deployed as a regular 
"axis module".
So you would have to copy addressing-1.4.1.mar to the folder 
${your-app-location}/WebContent/WEB-INF/modules 
Then restart Tomcat - all should work fine.

Sincerely, Yashwanth
Technical Architect, EBIS

-----Original Message-----
From: somethingwic...@gmx.net [mailto:somethingwic...@gmx.net] 
Sent: Monday, February 11, 2013 6:45 AM
To: java-user@axis.apache.org
Subject: axis2 Update from 1.4 to 1.6

Hi all,

I want to update my project from axis2 1.4.1 to 1.6.2. The project is build 
with maven 3 to a .war file to use with a TomCat 7. 

For axis2 1.41 I added the dependency
<dependency>
 <groupId>org.apache.axis2</groupId>
 <artifactId>addressing</artifactId>
 <version>1.41</version>
</dependency>
to my maven .pom beacuse its a .jar.

Now in axis2 1.6.2 addressing is a module (.mar) and I don't know who to handle 
this file. I tried to put it into the Tomcat lib dir, added it to the .pom but 
without success. 

How do I have to handle this addressing .mar file with maven or tomcat?

Thanks, 
Mirco

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org
  • axis2 U... somethingwicked
    • AW... Stadelmann Josef
    • RE... Yashwanth Rajaram -X (yrajaram - ZENSAR TECHNOLOGIES INC at Cisco)
      • ... Stadelmann Josef

Reply via email to