List<Plugin> plugins = mavenProject.getBuildPlugins();
for (Plugin plugin : plugins) {
if (plugin.getArtifactId().equalsIgnoreCase("maven-war-plugin")) {
...plugin.getConfiguration();
}
}
Rémy wrote:
>
> Hello,
> I wrote a Maven plugin. I manage to access the settings of my plugin (tags
> <configuration> in the POM). I would like access to configuration
> information of another plugin, I don't know how to do that (for exemple
> the <finalName> element of maven-war-plugin).
> Thanks.
> Remy
>
--
View this message in context:
http://old.nabble.com/Write-Maven-plugin-%3A-read-configuration-in-POM-tp27791002p27794552.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]