You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by LuCa <lu...@ebicalho.com.br> on 2007/05/29 22:36:39 UTC
[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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] axis2-aar-maven-plugin how excludes axis2 jar files from .aar?
Posted by David Illsley <da...@gmail.com>.
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 <lu...@ebicalho.com.br> 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.xml</servicesXmlFile>
> > <includeDependencies>false</includeDependencies>
> > </configuration>
> > </plugin>
> >
> >
> >On 5/29/07, LuCa <lu...@ebicalho.com.br> 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:lucamara@ebicalho.com.br]
> >> Sent: Tuesday, May 29, 2007 3:37 PM
> >> To: axis-user@ws.apache.org
> >> 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:
> >>axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >>---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >>axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >>For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >--
> >Davanum Srinivas :: http://davanum.wordpress.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
David Illsley - IBM Web Services Development
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] axis2-aar-maven-plugin how excludes axis2 jar
files from .aar?
Posted by LuCa <lu...@ebicalho.com.br>.
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.xml</servicesXmlFile>
> <includeDependencies>false</includeDependencies>
> </configuration>
> </plugin>
>
>
>On 5/29/07, LuCa <lu...@ebicalho.com.br> 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:lucamara@ebicalho.com.br]
>> Sent: Tuesday, May 29, 2007 3:37 PM
>> To: axis-user@ws.apache.org
>> 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:
>>axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>>axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>--
>Davanum Srinivas :: http://davanum.wordpress.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] axis2-aar-maven-plugin how excludes axis2 jar files from .aar?
Posted by Davanum Srinivas <da...@gmail.com>.
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.xml</servicesXmlFile>
<includeDependencies>false</includeDependencies>
</configuration>
</plugin>
On 5/29/07, LuCa <lu...@ebicalho.com.br> 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:lucamara@ebicalho.com.br]
> Sent: Tuesday, May 29, 2007 3:37 PM
> To: axis-user@ws.apache.org
> 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:
> axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
--
Davanum Srinivas :: http://davanum.wordpress.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: [Axis2] axis2-aar-maven-plugin how excludes axis2 jar files from .aar?
Posted by Edward Bush <Bu...@crlcorp.com>.
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:lucamara@ebicalho.com.br]
Sent: Tuesday, May 29, 2007 3:37 PM
To: axis-user@ws.apache.org
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org