I am sure this has been discussed earlier but I have
not found any info at all. I have searched alot.

I am trying to convert a piece from Maven 1 to Maven 2
but have no idea how to do it. 

In maven.xml I have something like this.

<j:forEach var="lib" items="${pom.artifacts}">
  <j:set var="dep" value="${lib.dependency}"/>
    <copy file="${lib.path}"
todir="${maven.build.dir}/zip"/>
</j:forEach>

Basically I want to copy the jar files I have in the
dependencies to a folder. How do I do it in Maven 2?

If I use antrun-plugin in Maven 2 I get from
${dependencies} a list of dependencies but how to use
that in ant? 

Same thing if I write a plugin I get a list of
Dependencies but how to get the jar file location from
a Dependency. A Dependency contains only groupId,
artifactId, version and so on. Anyone has an idea?? 

/Tom

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to