You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by raju <ra...@hotmail.com> on 2007/01/13 08:48:24 UTC

Unjarring Jars declared as Maven Dpendencies

Hi,

Currently i am using ant unjar task to unjar all jar files in a given
folder.I am invoking this from maven using maven-antrun-plugin.Its working
fine.But i need to unjar specific jars in a repository.

Is there any way i can refer to maven dependencies and unjar files based on
group-id and artifactid combination for example.Suppose for example i want
to unjar all maven dependencies say with combination
"{groupid}-{*-source}.i.e all artifact ids ending with -source for example.


Regards
Raju
-- 
View this message in context: http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2970512s177.html#a8312091
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Unjarring Jars declared as Maven Dpendencies

Posted by Dan Tran <da...@gmail.com>.
I dont think there is such feature from any plugin I am aware of.

You can either write own, file a enhance request to maven-dependency-plugin,

and perhaps implement it ;-)

-D


On 1/13/07, raju <ra...@hotmail.com> wrote:
>
>
> Hi dan,
>
> had a look at maven-dependency-plugin.can we unjar only based on exact
> groupid and artifactid or does it work in case  i want to unpack say just
> jars with some *-source" in thier artifactid names.
>
> Regards
> Raju
>
>
> dan tran wrote:
> >
> > maven-dependency-plugin is your pal :-)
> >
> > -D
> >
> >
> > On 1/12/07, raju <ra...@hotmail.com> wrote:
> >>
> >>
> >> Hi,
> >>
> >> Currently i am using ant unjar task to unjar all jar files in a given
> >> folder.I am invoking this from maven using maven-antrun-plugin.Its
> >> working
> >> fine.But i need to unjar specific jars in a repository.
> >>
> >> Is there any way i can refer to maven dependencies and unjar files
> based
> >> on
> >> group-id and artifactid combination for example.Suppose for example i
> >> want
> >> to unjar all maven dependencies say with combination
> >> "{groupid}-{*-source}.i.e all artifact ids ending with -source for
> >> example.
> >>
> >>
> >> Regards
> >> Raju
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2970512s177.html#a8312091
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2970512s177.html#a8317174
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Unjarring Jars declared as Maven Dpendencies

Posted by raju <ra...@hotmail.com>.
Hi dan,

had a look at maven-dependency-plugin.can we unjar only based on exact
groupid and artifactid or does it work in case  i want to unpack say just
jars with some *-source" in thier artifactid names.

Regards
Raju


dan tran wrote:
> 
> maven-dependency-plugin is your pal :-)
> 
> -D
> 
> 
> On 1/12/07, raju <ra...@hotmail.com> wrote:
>>
>>
>> Hi,
>>
>> Currently i am using ant unjar task to unjar all jar files in a given
>> folder.I am invoking this from maven using maven-antrun-plugin.Its
>> working
>> fine.But i need to unjar specific jars in a repository.
>>
>> Is there any way i can refer to maven dependencies and unjar files based
>> on
>> group-id and artifactid combination for example.Suppose for example i
>> want
>> to unjar all maven dependencies say with combination
>> "{groupid}-{*-source}.i.e all artifact ids ending with -source for
>> example.
>>
>>
>> Regards
>> Raju
>> --
>> View this message in context:
>> http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2970512s177.html#a8312091
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2970512s177.html#a8317174
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Unjarring Jars declared as Maven Dpendencies

Posted by Dan Tran <da...@gmail.com>.
maven-dependency-plugin is your pal :-)

-D


On 1/12/07, raju <ra...@hotmail.com> wrote:
>
>
> Hi,
>
> Currently i am using ant unjar task to unjar all jar files in a given
> folder.I am invoking this from maven using maven-antrun-plugin.Its working
> fine.But i need to unjar specific jars in a repository.
>
> Is there any way i can refer to maven dependencies and unjar files based
> on
> group-id and artifactid combination for example.Suppose for example i want
> to unjar all maven dependencies say with combination
> "{groupid}-{*-source}.i.e all artifact ids ending with -source for
> example.
>
>
> Regards
> Raju
> --
> View this message in context:
> http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2970512s177.html#a8312091
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>