This page describes the shell script atlas-mvn
, part of the Atlassian Plugin SDK.
Do not use your local Maven.
When running Maven commands against your project, make sure that you use the version of Maven bundled with the Atlassian Plugin SDK. This is important if you have a local version of Maven installed, as well as the Atlassian Plugin SDK. The simplest way is to use the atlas-mvn wrapper command instead of mvn
. Another way is to put the bundled Maven on your path.
atlas-mvn [options]
- Allows you to execute any Maven command using the version of Maven bundled with your Atlassian Plugin SDK. (Runs mvn
.) Passes all parameters straight through to Maven.
This shell script is a Maven wrapper script. All parameters are passed straight through to Maven.
The shell script will display some help text if you enter one of the following as the first argument:
For example:
1 2atlas-mvn -? atlas-mvn -help
Run the following command to compile the Java JUnit test classes:
1 2atlas-mvn test-compile
Run the following command to get help on the Maven test-compile
goal:
1 2atlas-mvn test-compile --help
Rate this page: