Antonio Goncalves created FORGE-2349:
----------------------------------------
Summary: 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
Fix For: 2.x Future
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-...]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)