Hi,
<project name="common-model" basedir="." xmlns:artifact="urn:maven-artifact-ant"> <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"> <classpath> <pathelement location="src/main/resource/maven-artifact-ant-2.0-dep.jar" = /> </classpath> </typedef> <artifact:pom id="maven.project" file="pom.xml" /> <artifact:localRepository id="localrepo" location="c:/repo" layout="default"/> <artifact:dependencies pathId="dependency.classpath" > <pom refid="maven.project"/> <localRepository refid="localrepo"/> </artifact:dependencies> the question is that the jar files on dependencies of pom.xml can not be found with dependency.classpath . any error on my ant scritp? thank you very much! good day Jeff
