I really think Ant should include this in general for Antlibs.
Could you do something relatively easily with <ant:get /> ? - Brett Mark Hobson wrote:
Hi there, Has anyone considered implementing a bootstrap ant task for maven-artifact-ant? This bootstrap task would download a given version of maven-artifact-ant to the local repo, thus saving the project from storing maven-artifact-ant-2.0-dep.jar in it's SCM (all 868k of it). For example: <project xmlns:boot="urn:maven-artifact-ant-boot" xmlns:artifact="urn:maven-artifact-ant" <typedef resource="org/apache/maven/artifact/ant/boot/antlib.xml" uri="urn:maven-artifact-ant-boot"> <classpath> <pathelement location="lib/maven-artifact-ant-boot-2.0.jar" /> </classpath> </typedef> <boot:download version="2.0"/> <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"> <classpath> <pathelement location="${user.home}/.m2/repository/org/apache/maven/maven-artifact-ant/2.0/maven-artifact-ant-2.0-dep.jar"/> </classpath> </typedef> <artifact:dependencies> ... </artifact:dependencies> </project> It could always use the default remote repo for simplicity, and ideally be reusable across m2 versions. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]