mrm:start
Full name:
org.codehaus.mojo:mrm-maven-plugin:1.7.0: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, If Default: / User Property: 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: false User Property: mrm.debugServer |
<port> |
int |
- |
The port to serve the repository on. If not specified a random port will be used. User Property: mrm.port |
<propertyName> |
String |
- |
The property to set the repository url to. Default: mrm.repository.url User Property: mrm.propertyName |
<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: false User Property: mrm.skip |
Parameter Details
<basePath>
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>
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>
- Type:
int
- Required:
No
- User Property:
mrm.port
<propertyName>
- Type:
java.lang.String
- Required:
No
- User Property:
mrm.propertyName
- Default:
mrm.repository.url
<repositories>
- Type:
org.codehaus.mojo.mrm.plugin.ArtifactStoreFactory[]
- Required:
No
<skip>
- Type:
boolean
- Required:
No
- User Property:
mrm.skip
- Default:
false