maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Shambarger <scott-ma...@shambarger.net>
Subject Re: Unable to use maven-ant-tasks
Date Thu, 29 Dec 2011 04:34:25 GMT
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message