Hi all

I'd like to access the maven.dependency.classpath in a goal which is defined
in maven.xml to pass it to the ant:java task. But it doesen't seem to work.
After writing out the variable ${maven.dependency.classpath} to the console
like this:

        <ant:echo>The maven dependency classpath is :
${maven.dependency.classpath}</ant:echo>

does nothing display.

Here is the complete script:

<?xml version="1.0" encoding="ISO-8859-1"?>
<project
  xmlns:ant="jelly:ant">
  <goal name="enhance">

        <ant:echo>The maven dependency classpath is :
${maven.dependency.classpath}</ant:echo>

<!--    <ant:java fork="yes" failonerror="yes"-->
<!--      classname="com.signsoft.ibo.enhancer.Main">-->
<!--      <classpath>-->
<!--        <path refid="maven.dependency.classpath"/>-->
<!--      </classpath>-->
<!--      <arg line="-s classes -d enhanced -v:info"/>-->
<!--    </ant:java>-->

  </goal>
</project>

What do I miss? Thank's
Roland


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

Reply via email to