diff --git a/mrm-maven-plugin/pom.xml b/mrm-maven-plugin/pom.xml index 9c7f440a..8d50d118 100644 --- a/mrm-maven-plugin/pom.xml +++ b/mrm-maven-plugin/pom.xml @@ -34,37 +34,6 @@ ${mavenVersion} - - - - org.apache.maven.plugins - maven-plugin-plugin - - - mojo-descriptor - - descriptor - - - - - true - - - - org.apache.maven.plugins - maven-invoker-plugin - - ${project.build.directory}/local-repo - src/it - - verify - - - - - - org.codehaus.mojo @@ -152,6 +121,17 @@ org.apache.maven.plugins maven-invoker-plugin + + src/it + ${project.build.directory}/it + true + src/it/settings.xml + verify + ${project.build.directory}/local-repo + + verify + + integration-test @@ -160,9 +140,7 @@ run - true false - ${project.build.directory}/local-repo diff --git a/mrm-maven-plugin/src/it/custom-base-path/pom.xml b/mrm-maven-plugin/src/it/custom-base-path/pom.xml index f30889e7..18e510ba 100644 --- a/mrm-maven-plugin/src/it/custom-base-path/pom.xml +++ b/mrm-maven-plugin/src/it/custom-base-path/pom.xml @@ -33,8 +33,10 @@ ${mrm.repository.url} verify - true - verify + true + + verify + diff --git a/mrm-maven-plugin/src/it/hostedrepo/pom.xml b/mrm-maven-plugin/src/it/hostedrepo/pom.xml index 52b712bd..fbe31b4f 100644 --- a/mrm-maven-plugin/src/it/hostedrepo/pom.xml +++ b/mrm-maven-plugin/src/it/hostedrepo/pom.xml @@ -32,8 +32,10 @@ ${mrm.repository.url} verify - true - verify + true + + verify + @@ -67,4 +69,4 @@ - \ No newline at end of file + diff --git a/mrm-maven-plugin/src/it/settings.xml b/mrm-maven-plugin/src/it/settings.xml index edb4fd4f..fa987453 100644 --- a/mrm-maven-plugin/src/it/settings.xml +++ b/mrm-maven-plugin/src/it/settings.xml @@ -23,9 +23,6 @@ under the License. it-repo - - true - local.central @@ -52,4 +49,7 @@ under the License. + + it-repo + diff --git a/mrm-maven-plugin/src/main/java/org/codehaus/mojo/mrm/plugin/AbstractStartMojo.java b/mrm-maven-plugin/src/main/java/org/codehaus/mojo/mrm/plugin/AbstractStartMojo.java index 9cfd4b12..3c5ddf2f 100644 --- a/mrm-maven-plugin/src/main/java/org/codehaus/mojo/mrm/plugin/AbstractStartMojo.java +++ b/mrm-maven-plugin/src/main/java/org/codehaus/mojo/mrm/plugin/AbstractStartMojo.java @@ -49,6 +49,8 @@ public abstract class AbstractStartMojo *

* If {@code basePath} is set to e.g. {@code foo/bar} then {@code org.acme:my-artifact:pom:1.2.3} will be served * under {@code http://localhost:/foo/bar/org/acme/my-artifact/1.2.3/my-artifact-1.2.3.pom}. + * + * @since 1.4.0 */ @Parameter( property = "mrm.basePath", defaultValue = "/" ) private String basePath; diff --git a/pom.xml b/pom.xml index ea4ff904..d9207b97 100644 --- a/pom.xml +++ b/pom.xml @@ -35,11 +35,13 @@ Mock Repository Manager for Maven. The Mock Repository Manager provides a mock Maven repository manager. + https://www.mojohaus.org/mrm 2009 + The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + https://www.apache.org/licenses/LICENSE-2.0.txt repo @@ -73,16 +75,20 @@ scm:git:https://github.com/mojohaus/mrm.git scm:git:ssh://git@github.com/mojohaus/mrm.git - https://github.com/mojohaus/mrm + https://github.com/mojohaus/mrm/tree/master HEAD GitHub https://github.com/mojohaus/mrm/issues + + GitHub + https://github.com/mojohaus/mrm/actions + - target/staging/mrm + ${project.build.directory}/staging/mrm 2.2.1 1.8 9.4.46.v20220331 @@ -179,31 +185,18 @@ - - org.apache.maven.plugins - maven-scm-publish-plugin - - ${project.build.directory}/staging/mrm - - org.eclipse.jetty jetty-maven-plugin ${jetty.version} - - maven-release-plugin - - true - - + org.apache.maven.plugins maven-enforcer-plugin - 3.1.0 enforce-java @@ -239,18 +232,6 @@ - - org.apache.maven.plugins - maven-invoker-plugin - - ${project.build.directory}/it - true - true - src/it/settings.xml - verify - ${project.build.directory}/local-repo - - org.apache.maven.plugins maven-site-plugin diff --git a/src/site/site.xml b/src/site/site.xml index 6a99ceef..e7155334 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -19,6 +19,17 @@ + + + + + mojohaus/mrm + right + gray + + + +