One other note: if your mojos live within the same plugin, you can use:
AbstractMojo.getContext(): Map
to pass context information. It's a little cleaner for intra-plugin
communications.
-j
Michael Böckling wrote:
Hi,
this is the last one for today, I hope. :-)
I wonder, now that I have a List containing links to external Javadoc
URLs, how to tell the Javadoc-Plugin about it.
Javadoc has a "link" property that accepts an ArrayList of external links.
Inside my custom plugin, I tried this:
project.getProperties().put("jlinks", aJdocLinks);
and this:
project.getModel().getProperties().put("jlinks", aJdocLinks);
After the plugin has executed, I tried to reference those properties in
my POM, in the configuration section for the javadoc Plugin:
<links>${project.properties.jlinks}</links>
Turns out it doesn't work (surprise).
How would I go about this? Can't be that hard passing values to plugins?
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]