Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2349

maven-jar-plugin version should be set when creating an addon

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.16.2.Final
    • 2.16.1.Final
    • Addon Development
    • None

    Description

      When creating an addon with the command :

      project-new --named helloAddon --type addon
      

      The version of the maven-jar-plugin is not set :

        <build>
          <finalName>helloAddon</finalName>
          <plugins>
            <plugin>
              <artifactId>maven-jar-plugin</artifactId>
              <executions>
              ...
      

      The Maven waring tells us to set a version :

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

      At the moment it's 2.6

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: