Hello All,

I'm having some trouble accessing the classpath references described at http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html.

Here's a snippet from my pom.xml:

         <execution>
           <id>compile</id>
           <phase>compile</phase>
           <configuration>
             <tasks>
              <echo message="compile lifecycle phase"/>
              <ant antfile="${basedir}/build.xml" inheritRefs="true">
              <target name="run"/>
              </ant>
             </tasks>
           </configuration>
           <goals>
             <goal>run</goal>
           </goals>
         </execution>

yet when I try to reference one of the maven-supplied classpaths, it seems to be empty (excerpt from build.xml):
<target name="run">
<echo>${maven.dependency.classpath}</echo>
</target>

Can someone point out what I'm doing wrong?

Thanks!

-- john



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

Reply via email to