On Wed, 28 Dec 2011 19:41:31 -0800, Scott Shambarger wrote:
On Tue, 27 Dec 2011 21:50:34 -0600, Wayne Fay wrote:
<project name="Test" default="help" basedir="."
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
   <artifact:remoteRepository id="my.repository"
url="http://example.com";>


As a followup, I can confirm that adding:

<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks.jar" />
  <typedef resource="org/apache/maven/artifact/ant/antlib.xml"
           uri="antlib:org.apache.maven.artifact.ant"
           classpathref="maven-ant-tasks.classpath" />

to the project does cause the error to go away, but none of the "put the jar in the .ant/lib" or "pass it to ant with the -lib parameter" methods work. Perhaps the installation instructions for the maven ant tasks are out of date?

Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to