[forge-issues] [JBoss JIRA] (FORGE-811) MavenPlugin: Add maven plugin

George Gastaldi (JIRA) jira-events at lists.jboss.org
Tue May 28 17:21:54 EDT 2013


    [ https://issues.jboss.org/browse/FORGE-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777621#comment-12777621 ] 

George Gastaldi commented on FORGE-811:
---------------------------------------

Here are the skeleton methods to be added to MavenPlugin: 

{code}
   @Command("add-plugin")
   public void addPlugin(
            @Option(description = "dependency identifier of plugin, ex: \"org.jboss.forge:forge-maven-plugin:1.0.0.Final\"",
                     required = true) final Dependency gav,
            final PipeOut out)
   {
   }

   @Command("add-managed-plugin")
   public void addManagedPlugin(
            @Option(description = "dependency identifier of plugin, ex: \"org.jboss.forge:forge-maven-plugin:1.0.0.Final\"",
                     required = true) final Dependency gav,
            final PipeOut out)
   {
   }
{code}
                
> MavenPlugin: Add maven plugin
> -----------------------------
>
>                 Key: FORGE-811
>                 URL: https://issues.jboss.org/browse/FORGE-811
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Maven Integration
>    Affects Versions: 1.2.1.Final
>            Reporter: George Gastaldi
>              Labels: starter
>
> The MavenPlugin could have a command to add Maven plugins to the current project's pom.xml
> Syntax could be something like:
> {code}
> maven add-plugin groupId:artifactId:version
> {code}
> version is optional and may be prompted if not specified.

--
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


More information about the forge-issues mailing list