From 45a59375116a59e0ae155ea1bc07a0a066dc95e2 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Tue, 31 May 2022 17:43:43 +0200 Subject: [PATCH] Extends example for maven-invoker-plugin Without localRepo during IT test artifacts from local maven .m2 or download from remote will be used instead of currently build --- .../src/site/apt/examples/invoker-tests.apt.vm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/mrm-maven-plugin/src/site/apt/examples/invoker-tests.apt.vm b/mrm-maven-plugin/src/site/apt/examples/invoker-tests.apt.vm index c564ac49..828e9492 100644 --- a/mrm-maven-plugin/src/site/apt/examples/invoker-tests.apt.vm +++ b/mrm-maven-plugin/src/site/apt/examples/invoker-tests.apt.vm @@ -76,12 +76,21 @@ Using with Maven Invoker and Repositories + + src/it/mrm/repository + + + + \${project.build.directory}/local-repo + + + @@ -110,7 +119,7 @@ Using with Maven Invoker and Repositories Additionally, when <<>> is invoked, it will bind to an available port and set the property <<>> to the URL on which the repository is being hosted, and the repository content - will be based on the mock content generated from the following files in <<>>: + will be based on the <<>> content generated from the following files in <<>>: * <<<**/*.pom>>> @@ -123,8 +132,10 @@ Using with Maven Invoker and Repositories * <<>> [] - - In addition, all the repositories available to the current Maven instance will be available too. + + In additional content install by <<>> will be available by <> + + Finally thanks to <<>>, all the repositories available to the current Maven instance will be available too. We tell <<>> to use the <<>> file from <<>> which will look something like: