Hi
maven.dependency.classpath holds the Ant |path| of all the dependent jar files listed in the |dependencies| block of the project
you can use it in the classpath section of your class call :
<ant:classpath> <ant:path refid="maven.dependency.classpath"/> <ant:classpath>
Randy Xu wrote:
New to Maven (to ANT as well),
In maven.xml I run a postgoal that runs a Java class (using the jelly ANT task extension) and I need to set its classpath to include all the dependencies that I specified in project.xml. Is there a maven variable I can reference that would give me the classpath to all the jar files I listed in dependencies instead of hardcoding?
Thanks!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
