XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Commons Parent Pom
    • None

    Description

      I'd like to suggest the addition of a Gump profile in the parent POM. Gump needs to specify the name of the jar produced by the build, this was possible with Maven 1 by adding a maven.final.name system property, but it doesn't seem to be possible with Maven 2.

      The same effect can be obtained with the following profile in the POM:

      <profile>
        <id>gump</id>
        <activation>
          <property>
            <name>maven.final.name</name>
          </property>
        </activation>
        <build>
          <plugins>
            <plugin>
              <artifactId>maven-jar-plugin</artifactId>
              <configuration>
                <finalName>${maven.final.name}</finalName>
              </configuration>
            </plugin>
          </plugins>
        </build>
      </profile>
      

      This profile has been tested on the Commons CLI 1.x POM

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: