Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Maven expert advice needed

/**
 * The maven project.
 * 
 * @parameter _expression_="${project}"
 * @readonly
 */
 private MavenProject project;

Then project.getBuildPlugins();
Then plugin.getConfiguration();

Note that you'll get the Xpp3Dom from that getConfiguration();
And no changing of values in the Xpp3Dom (that's a no-no).

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
webtide.com
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org



On Thu, Nov 1, 2012 at 3:29 PM, Jan Bartel <janb@xxxxxxxxxxx> wrote:
Hi jetty users,

I'm looking for someone with some up-to-date knowledge of the maven apis to help me with a couple of bug requests for jetty maven plugin.

In general, the info I'm looking for is a) if it is possible from within one plugin to read another plugin's configuration  b) if possible, what are the apis that would allow me to accomplish it?

The plugin whose config I am interested in reading is the maven war plugin.  We'd like to get some tighter integration with it so we can do things like better filtering of the war overlays.

cheers
Jan
--
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com – Developer advice, services and support
from the Jetty & CometD experts.

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev



Back to the top