+

Maven Preferences Reference

Anypoint Studio allows you to customize your preferences for working with Maven.

*Maven Preferences Reference* window accessed from the *Settings…​* option, from the *Anypoint Studio* menu.
Preference Description Default Value

Display runtime version not available warnings

When enabled, it warns you when the runtime version configured in your pom.xml file is different than the one configured in your project.

Enabled

Use embedded Maven installation

When enabled, it uses the Maven installation embedded in Anypoint Studio.

Enabled

Maven installation home directory

The directory of your local Maven installation.
You can only edit this preference when you disable Use embedded Maven installation.

Empty

Override settings security path

When selected, this option overrides Studio default settings_security.xml path.
Selecting this option requires you to define your custom path to your settings_security.xml file in the Path to settings_security.xml field.

Disabled

Override Maven local repository location

When selected, this option overrides Studio default local repository location.
Selecting this option requires you to define your custom path to your Maven local repository.

Disabled

MAVEN_OPTS environment variable

MAVEN_OPTS contains parameters to start up the JVM or to pass memory options to Maven before it runs.

Empty

Base command line for builds

The Maven command to execute every time you run your Mule project in your local machine.

mvn clean package -nsu -DskipMunitTests

Was this article helpful? Thanks for your feedback!
View on GitHub