[
https://issues.jboss.org/browse/FORGE-842?page=com.atlassian.jira.plugin....
]
charles SALMON commented on FORGE-842:
--------------------------------------
What about the plugin "resolution" :
{code:xml}
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
Add managed plugin support to MavenPluginFacet
----------------------------------------------
Key: FORGE-842
URL:
https://issues.jboss.org/browse/FORGE-842
Project: Forge
Issue Type: Story
Components: Maven Integration
Reporter: charles SALMON
Assignee: charles SALMON
Maven offers a way to handle plugins by using the "pluginManagement" feature
(similar to the "dependencyManagement" one).
The idea here is to enhance the MavenPluginFacet with the following methods:
{code:java}
List<MavenPlugin> listConfiguredManagedPlugins();
boolean hasManagedPlugin(Dependency dependency);
MavenPlugin getManagedPlugin(Dependency dependency);
void addManagedPlugin(MavenPlugin plugin);
void removeManagedPlugin(Dependency dependency);
void updateManagedPlugin(final MavenPlugin plugin);
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira