You might try using maven-artifact-ant as a dependency instead. It should pull the rest in transitively.

I'll take another look at your stacktrace and see whether I can make more sense of it...

-john

Michael Meyer wrote:
Hi
I already asked this at [email protected] but I didn't get an answer so if maybe somebody on this list could help me:

I would like to add maven-artifact-ant-2.0.2-dep.jar as a dependency to an ant plugin. I added the jar file to my local repository. But I only get a stack trace when I try to execute
the plugin.

I want to add maven-artifact-ant-2.0.2-dep as a dependency because I don't know how else I could achieve
the following with only the ant plugin:

<!-- This creates a fileset -->
<artifact:dependencies filesetId="dependency.fileset">
    <pom refid="maven.project"/>
</artifact:dependencies>

<!-- Here I can copy the dependencies from the repository to a folder -->
<copy todir="target/my-dependencies">
    <fileset refid="dependency.fileset"/>
</copy>

So if anybody knows how this could be done with a pure ant plugin or if anybody knows how to add maven-artifact-ant-2.0.2-dep as a dependency... Any help would
be welcome.

Cheers, michael




------------------------------------------------------------------------

---------------------------------------------------------------------
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]

Reply via email to