Hi!

Try this goal:

<goal name="x">
  <ant:copy 
   file="${pom.getDependencyPath('groupId:artifactId')}"
   toDir="someDir"/>
</goal>

Mario

On Pet, 2005-02-18 at 10:49, [EMAIL PROTECTED]
wrote:
> Hi all, 
>   I've got the following problem.
> 
>   I've a project with more than 10 dependencies and want to copy one of 
> them to certain place 
>   on the file system.
> 
>   In the manual a similar operation is shown 
> 
>     <deploy:copy-deps todir="path" exludes="artifact1,artifact2"/>
> 
> 
> You see, that I don't want to use this approach since I have to enumarate 
> more than
>  10 dependencies in the "excludes" attribute value.
> 
> I tried to write smth like 
>  <deploy:copy-deps todir="path" includes="theartifact"/>
> 
> but it resulted in copying all dependencies in "todir".
> Any ideas, how can I deal with the problem ?
> 
> 
> thanks in advance,
>    Kaloyan
> 
> Keep In Touch With Your Life Sensors



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to