You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Unico Hommes <un...@apache.org> on 2005/07/07 16:39:48 UTC

[m2] Access plugin artifacts in marmalade

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to find the m2 equivalent to
plugin.getDependencyPath('somedependency') in maven 1. To clarify I need
this to populate the <ant:classpath> of a custom <ant:taskdef>:

<ant:taskdef>
  <ant:classpath>
    <ant:path location="${plugin.getDependencyPath('somedependency')}"/>
  </ant:classpath>
</ant:taskdef>

The m2 MavenProject object does not seem to expose this method. Perhaps
I should use the getPluginArtifacts() method? But then I will also get
some artifacts that are irrelevant to the classpath.

Also I wouldn't know how to iterate over that set using marmalade since
I can't find *any* tag documentation (pointers?).

So, what would be the best way to do this in an m2 marmalade script?

- --
Unico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFCzT60cuec8tVNKAwRAkknAKDnngicDlFOd/n64nizfGEiuiyw6ACfZLjT
7QlL0VQ2xuihYhsbdrGdW2g=
=K5ni
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org