You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Peter Lynch <pl...@pub.missioncap.ca> on 2007/01/25 19:58:16 UTC

How to refer to dependency jar file inside pom.xml?

Couldn't find the answer to this yet...

I am using the exec-maven-plugin to launch a Java process. Before calling
exec:exec, I am trying to get antrun plugin to create an endorsed dir and
copy a dependency jar ( hopefully referred to by artifact id) into that dir.
Then exec java process will take an argument -Djava.endorsed.dirs that will
refer to the dir created by antrun.

The question is how can I dynamically refer to the jar located in my local
repo inside the antrun task elements?

-Peter


-- 
View this message in context: http://www.nabble.com/How-to-refer-to-dependency-jar-file-inside-pom.xml--tf3118450s177.html#a8639134
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