Last updated Apr 19, 2024

About AMPS build options

When you create a new plugin project with the SDK, the generated POM file specifies the Atlassian Maven Plugin Suite (AMPS) as a build plugin for the project.

If using the SDK, you do not need to install AMPS or configure your project to use it yourself. However, there are a number of settings you can use to control its behavior.

You can pass AMPS parameters to Maven in one of two ways:

  • On the command line as Java system variables. For example:

    1
    2
    mvn jira:run -D<parameter1Name>=<parameter1Value> -D<parameter2Name>=<parameter2Value> ...
    
  • In the POM, by using the configuration element in the AMPS declaration:

    1
    2
    <project>
      ...
      <build>
        <plugins>
          <plugin>
            <groupId>com.atlassian.maven.plugins</groupId>
            <artifactId>jira-maven-plugin</artifactId>
            <version>8.2.3</version>
            <extensions>true</extensions>
            <configuration>
                <!-- parameter key/value pairs go here -->
                <parameter1Name>parameter1Value</parameter1Name>
            </configuration>
          </plugin>
        </plugins>
      </build>
      ...
    </project>
    

Values specified on the command line override values in the POM, as is normal when using Maven.

For details on AMPS configuration settings, see:

Rate this page: