Fork me on GitHub

mrm:run

Full name:

org.codehaus.mojo:mrm-maven-plugin:1.1.0:run

Description:

This goal is used in-situ on a Maven project to allow integration tests based on the Maven Invoker to use a custom settings.xml and still work behind a proxy.

Attributes:

  • Executes by direct invocation only.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.

Optional Parameters

Name Type Since Description
port int 1.0 The port to serve the repository on. If not specified a random port will be used.
User property is: mrm.port.
repositories ArtifactStoreFactory[] 1.0 The repositories to serve. When more than one repository is specified, a merged repository view of those will be used. If none specified then a proxy of the invoking Maven's repositories will be served.
settingsServletPath String 1.0 ServletPath for the settings.xml, so it can be downloaded.
Default value is: settings-mrm.xml.
User property is: mrm.settingsServletPath.
skip boolean 1.0 If true, execution of the plugin is skipped.
Default value is: false.
User property is: mrm.skip.

Parameter Details

port:

The port to serve the repository on. If not specified a random port will be used.
  • Type: int
  • Since: 1.0
  • Required: No
  • User Property: mrm.port

repositories:

The repositories to serve. When more than one repository is specified, a merged repository view of those will be used. If none specified then a proxy of the invoking Maven's repositories will be served.
  • Type: org.codehaus.mojo.mrm.plugin.ArtifactStoreFactory[]
  • Since: 1.0
  • Required: No

settingsServletPath:

ServletPath for the settings.xml, so it can be downloaded.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: mrm.settingsServletPath
  • Default: settings-mrm.xml

skip:

If true, execution of the plugin is skipped.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • User Property: mrm.skip
  • Default: false