Re: How-to: Intra-Plugin communication

2006-01-19 Thread Michael Böckling
Thanks for the hint, but it seems the section can't contain complex values (I need an arrayList). The dirty-but-working way that i've found works like this: Xpp3Dom aJavadocPluginConfiguration = project.getReportConfiguration("org.apache.maven.plugins", "maven-javadoc-plugin", null); Iterat

RE: How-to: Intra-Plugin communication

2006-01-19 Thread Domsch, Christian
Hi, I have quite a similar question. I do have a plugin that wants to use the same information gathered by another plugin. In my case I want to get the value of the property "classGenerationDirectory" of the xmlbeans maven plugin. I guess there is some way to get that info, but how? :-) Thanks

Re: How-to: Intra-Plugin communication

2006-01-18 Thread John Casey
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

Re: How-to: Intra-Plugin communication

2006-01-18 Thread John Casey
Hmm, sounds a little hackish, but you might try using the expression ${jlinks} instead, as model (and project) properties are consulted for parameter injection when other things fall through. HTH, john Michael Böckling wrote: Hi, this is the last one for today, I hope. :-) I wonder, now th

How-to: Intra-Plugin communication

2006-01-18 Thread Michael Böckling
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.getPro