-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Unfortunately, the answer to the question about a master list of
parameter expressions is currently no. I agree that it'd be nice
(tending toward crucial for new mojo devs) to have some documentation on
parameter expressions. The only excuse I can
On Tue, Aug 23, 2005 at 05:52:59PM -0500, Chris Berry wrote:
Greetings,
I am trying to figure out how to pass on the Classpath to Ant. I know
how to do this programmatically in Ant (e.g. project.setProperty) .
What I am trying to work out is how pass on the Classpath from the
*plugin*. By
Thanks much for your answer.
When a plugin is called, I'm confused as to what Classpath the plugin
itself gets. I see the project gets what I would expect, the
dependencies from the POM -- at least that is what I see in
project.artifacts.
But the plugin doesn't seem to get it's dependencies...
To get the artifacts that's relative only to your plugin, you can use
${plugin.artifacts}.
Its the same as ${project.artifacts} except the project object is your
plugin.
Chris Berry wrote:
Thanks much for your answer.
When a plugin is called, I'm confused as to what Classpath the plugin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
If you're looking to retrieve only a particular dependency of a plugin
(the dependencies of the plugin project are what form the plugin's
classpath), then you might do well to use ${plugin.artifactMap}. This
Map instance is keyed by an
Thanks John,
I guess what would be most helpful would be a list of what properties
one can access. One can figure out types by trial-and-error -- the
compiler will let you know. But there is really no guessing the
property names. Although I gather that the Model (the hierarchy of XML
elements) is