You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Laura Lozano <la...@gmail.com> on 2008/07/18 14:43:24 UTC

dependency plugin

Hello,

I'm using the dependency plugin in order to copy the dependencies from the
repository to a target platform. The problem is that I need to copy also
some artifacts that are not dependencies and using copy I have to specify
the version, this is not very useful becasuse when the version changes the
pom also has to be updated to copy the new version in the target directory.
Is there any way more general to copy artifacts that are not dependencies in
the target direcotry whitouth specify the version?

Thank you.

Re: dependency plugin

Posted by Infinity <br...@infinity.nu>.
Whether you use assembly or dependency, you will still need to list  
the version of the artifact. If you put the version in  
dependencyManagement, you can skip the version in the plugin config  
for dependency

Sent from my iPhone

On Jul 18, 2008, at 5:48 PM, "Kathryn Huxtable" <kathryn@kathrynhuxtable.org 
 > wrote:

> Use the assembly plugin instead. It's very customizable and can likely
> do what you want.
>
> -K
>
> On Jul 18, 2008, at 7:43 AM, Laura Lozano wrote:
>
> > Hello,
> >
> > I'm using the dependency plugin in order to copy the dependencies
> > from the
> > repository to a target platform. The problem is that I need to copy
> > also
> > some artifacts that are not dependencies and using copy I have to
> > specify
> > the version, this is not very useful becasuse when the version
> > changes the
> > pom also has to be updated to copy the new version in the target
> > directory.
> > Is there any way more general to copy artifacts that are not
> > dependencies in
> > the target direcotry whitouth specify the version?
> >
> > Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Re: dependency plugin

Posted by Kathryn Huxtable <ka...@kathrynhuxtable.org>.
Use the assembly plugin instead. It's very customizable and can likely  
do what you want.

-K

On Jul 18, 2008, at 7:43 AM, Laura Lozano wrote:

> Hello,
>
> I'm using the dependency plugin in order to copy the dependencies  
> from the
> repository to a target platform. The problem is that I need to copy  
> also
> some artifacts that are not dependencies and using copy I have to  
> specify
> the version, this is not very useful becasuse when the version  
> changes the
> pom also has to be updated to copy the new version in the target  
> directory.
> Is there any way more general to copy artifacts that are not  
> dependencies in
> the target direcotry whitouth specify the version?
>
> Thank you.


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