Fork me on GitHub

mrm:start

Full name:

org.codehaus.mojo:mrm-maven-plugin:1.4.1:start

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:

  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.
  • Binds by default to the lifecycle phase: pre-integration-test.

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.
<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.
<propertyName> String 1.0 The property to set the repository url to.
Default value is: mrm.repository.url.
User property is: mrm.propertyName.
<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.
<skip> boolean 1.0 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: /

<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

<propertyName>

The property to set the repository url to.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: mrm.propertyName
  • Default: mrm.repository.url

<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

<skip>

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