There is already an enhancement and patch filed for this. You can
already include by types, if you want sources, you should be able to do
that already. 

-----Original Message-----
From: Dan Tran [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 13, 2007 7:15 PM
To: Maven Users List
Subject: Re: Unjarring Jars declared as Maven Dpendencies

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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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-tf2
> 970512s177.html#a8312091
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> -------------------------------------------------------------------
> >> -- To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Unjarring-Jars-declared-as-Maven-Dpendencies-tf2
> 970512s177.html#a8317174 Sent from the Maven - Users mailing list 
> archive at Nabble.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]

Reply via email to