Fork me on GitHub

mrm:run

Full name:

org.codehaus.mojo:mrm-maven-plugin:1.6.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
<basePath> String 1.4.0 The base path under which the repository will be served.

By default, org.acme:my-artifact:pom:1.2.3 will be served under http://localhost:<port>/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom.

If basePath is set to e.g. foo/bar then org.acme:my-artifact:pom:1.2.3 will be served under http://localhost:<port>/foo/bar/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom.


Default value is: /.
User property is: mrm.basePath.
<debugServer> boolean 1.5.0 Indicate if Jetty server should produce logs in debug level.

Notice: It is taken into account only when Maven is started in verbose mode.


Default value is: false.
User property is: mrm.debugServer.
<port> int - The port to serve the repository on. If not specified a random port will be used.
User property is: mrm.port.
<repositories> ArtifactStoreFactory[] - 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.
<skip> boolean - If true, execution of the plugin is skipped.
Default value is: false.
User property is: mrm.skip.

Parameter Details

<basePath>

The base path under which the repository will be served.

By default, org.acme:my-artifact:pom:1.2.3 will be served under http://localhost:<port>/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom.

If basePath is set to e.g. foo/bar then org.acme:my-artifact:pom:1.2.3 will be served under http://localhost:<port>/foo/bar/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom.

  • Type: java.lang.String
  • Since: 1.4.0
  • Required: No
  • User Property: mrm.basePath
  • Default: /

<debugServer>

Indicate if Jetty server should produce logs in debug level.

Notice: It is taken into account only when Maven is started in verbose mode.

  • Type: boolean
  • Since: 1.5.0
  • Required: No
  • User Property: mrm.debugServer
  • Default: false

<port>

The port to serve the repository on. If not specified a random port will be used.
  • Type: int
  • 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[]
  • Required: No

<skip>

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