<scope>provided</scope> will do the trick........
As in.....
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
<version>1.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Regards,
Vijesh
-----Original Message-----
From: David Illsley [mailto:[EMAIL PROTECTED]
Sent: 30 May 2007 01:20
To: [email protected]
Subject: Re: [Axis2] axis2-aar-maven-plugin how excludes axis2 jar files
from .aar?
As far as I can tell, we currently only support including no dependences
or all dependencies. My gut instinct is that it shouldn't be hard to
add/change an option to only exclude org.apache.axis2 group
dependencies. Please open a Jira [1] about this and someone will
hopefully get to it.
David
[1] https://issues.apache.org/jira/secure/Dashboard.jspa
On 29/05/07, LuCa <[EMAIL PROTECTED]> wrote:
> but I didn't want to exclude all the dependencies jars , only axis2
> jar (since I'm sure it's avaiable at the server).
>
> At 17:59 29/5/2007, you wrote:
> >Did you try includeDependencies = false?
> >
> > <plugin>
> > <groupId>org.apache.axis2</groupId>
> > <artifactId>axis2-aar-maven-plugin</artifactId>
> > <version>${version}</version>
> > <extensions>true</extensions>
> > <configuration>
> >
>
><servicesXmlFile>${basedir}/src/sample/axisversion/META-INF/services.xm
l</servicesXmlFile>
> > <includeDependencies>false</includeDependencies>
> > </configuration>
> > </plugin>
> >
> >
> >On 5/29/07, LuCa <[EMAIL PROTECTED]> wrote:
> >>
> >> I've tried, but it looks like the usage is wrong, cause there is
no effect:
> >> the jars are included anyway....
> >>
> >> < fileSets >
> >> < fileSet >
> >> < outputDirectory > target/aar/lib </ outputDirectory >
> >> < excludes >
> >> < exclude > axis2*.jar </ exclude >
> >> </ excludes >
> >> </ fileSet >
> >> </ fileSets>
> >>
> >> At 17:49 29/5/2007, you wrote:
> >>
> >>If you look at the documentation, you'll notice where it talks about
> >> fileSets. You can use it to manage includes/excludes. I've not
> >>tried
> >> this, but it should be what you're looking for.
> >>
> >> Eddie Bush
> >> Software Analyst
> >> Clinical Reference Laboratory
> >> bushe at crlcorp dot com
> >>
> >> -----Original Message-----
> >> From: LuCa [ mailto:[EMAIL PROTECTED]
> >> Sent: Tuesday, May 29, 2007 3:37 PM
> >> To: [email protected]
> >> Subject: [Axis2] axis2-aar-maven-plugin how excludes axis2 jar
> >> files from .aar?
> >>
> >> When using axis2-aar-maven-plugin to create the .aar deploy file,
> >> how configure the plugin to exclude the axis2*.jar files from the
> >> .aar generated?
> >>
> >> tks,
> >> Luciana
> >>
> >>
> >>--------------------------------------------------------------------
> >>-
> >> To unsubscribe, e-mail:
> >>[EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>--------------------------------------------------------------------
> >>-
> >> To unsubscribe, e-mail:
> >>[EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>--------------------------------------------------------------------
> >>- To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >--
> >Davanum Srinivas :: http://davanum.wordpress.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Illsley - IBM Web Services Development
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]