Last updatedOct 1, 2019

Rate this page:

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
    mvn jira:run -D<parameter1Name>=<parameter1Value> -D<parameter2Name>=<parameter2Value> ...
  • In the POM, by using the configuration element in the AMPS declaration:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
``` xml
<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-jira-plugin</artifactId>
        <version>3.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.

For details on AMPS configuration settings, see:

Rate this page: