[forge-issues] [JBoss JIRA] (FORGE-2349) maven-jar-plugin version should be set when creating an addon

George Gastaldi (JIRA) issues at jboss.org
Mon Jun 8 17:22:02 EDT 2015


     [ https://issues.jboss.org/browse/FORGE-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-2349.
----------------------------------
         Assignee: George Gastaldi
    Fix Version/s: 2.16.2.Final
                       (was: 2.x Future)
       Resolution: Done


> maven-jar-plugin version should be set when creating an addon
> -------------------------------------------------------------
>
>                 Key: FORGE-2349
>                 URL: https://issues.jboss.org/browse/FORGE-2349
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Addon Development
>    Affects Versions: 2.16.1.Final
>            Reporter: Antonio Goncalves
>            Assignee: George Gastaldi
>             Fix For: 2.16.2.Final
>
>
> When creating an addon with the command : 
> {code}
> project-new --named helloAddon --type addon
> {code}
> The version of the {{maven-jar-plugin}} is not set : 
> {code}
>   <build>
>     <finalName>helloAddon</finalName>
>     <plugins>
>       <plugin>
>         <artifactId>maven-jar-plugin</artifactId>
>         <executions>
>         ...
> {code}
> The Maven waring tells us to set a version : 
> {code}
> [WARNING] Some problems were encountered while building the effective model for org.helloAddon:helloAddon:jar:1.0.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 52, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> {code}
> [At the moment it's 2.6|http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the forge-issues mailing list