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.

On this page:

Basic Usage

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.

Getting Help

The shell script will display some help text if you enter one of the following as the first argument:

  • -?
  • -h
  • help
  • -help
  • --help

For example:


Run the following command to compile the Java JUnit test classes:

Run the following command to get help on the Maven test-compile goal:


Working with the SDK

Was this page helpful?
Powered by Confluence and Scroll Viewport