Repository: maven-integration-testing Updated Branches: refs/heads/master 3d6822b15 -> d0ac0d4e8
added bootstrap info Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/d0ac0d4e Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/d0ac0d4e Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/d0ac0d4e Branch: refs/heads/master Commit: d0ac0d4e840cfe74effa8a3a17d7c760973fb95d Parents: 3d6822b Author: Hervé Boutemy <hbout...@apache.org> Authored: Tue Apr 4 00:47:44 2017 +0200 Committer: Hervé Boutemy <hbout...@apache.org> Committed: Tue Apr 4 00:48:04 2017 +0200 ---------------------------------------------------------------------- core-it-suite/src/site/apt/bootstrap.apt.vm | 66 ++++++++++++++++++++ core-it-suite/src/site/apt/index.apt.vm | 3 +- core-it-suite/src/site/site.xml | 1 + .../src/test/resources/bootstrap/pom.xml | 21 ++++++- 4 files changed, 88 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/d0ac0d4e/core-it-suite/src/site/apt/bootstrap.apt.vm ---------------------------------------------------------------------- diff --git a/core-it-suite/src/site/apt/bootstrap.apt.vm b/core-it-suite/src/site/apt/bootstrap.apt.vm new file mode 100644 index 0000000..53766c2 --- /dev/null +++ b/core-it-suite/src/site/apt/bootstrap.apt.vm @@ -0,0 +1,66 @@ + ----- + Maven Core Integration Tests Bootstrap + ----- + Hervé Boutemy + ----- + 2017-04-04 + ----- + +~~ Licensed to the Apache Software Foundation (ASF) under one +~~ or more contributor license agreements. See the NOTICE file +~~ distributed with this work for additional information +~~ regarding copyright ownership. The ASF licenses this file +~~ to you under the Apache License, Version 2.0 (the +~~ "License"); you may not use this file except in compliance +~~ with the License. You may obtain a copy of the License at +~~ +~~ http://www.apache.org/licenses/LICENSE-2.0 +~~ +~~ Unless required by applicable law or agreed to in writing, +~~ software distributed under the License is distributed on an +~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +~~ KIND, either express or implied. See the License for the +~~ specific language governing permissions and limitations +~~ under the License. + +~~ NOTE: For help with the syntax of this file, see: +~~ http://maven.apache.org/doxia/references/apt-format.html + +Maven Core Integration Tests Bootstrap + + Core IT Bootstrapping downloads from central repository every dependency (artifacts, plugins) required to let + ITs run without downloading anything later. + +%{toc|section=1} + +* Base Plugins Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/target/resolve-plugins.txt} + +* Group 1 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-1/target/resolve.txt} + +* Group 2 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-2/target/resolve.txt} + +* Group 3 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-3/target/resolve.txt} + +* Group 4 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-4/target/resolve.txt} + +* Group 5 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-5/target/resolve.txt} + +* Group 6 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-6/target/resolve.txt} + +* Group 7 Dependencies + +%{snippet|file=${project.build.directory}/test-classes/bootstrap/group-7/target/resolve.txt} http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/d0ac0d4e/core-it-suite/src/site/apt/index.apt.vm ---------------------------------------------------------------------- diff --git a/core-it-suite/src/site/apt/index.apt.vm b/core-it-suite/src/site/apt/index.apt.vm index ce57d20..4905aaa 100644 --- a/core-it-suite/src/site/apt/index.apt.vm +++ b/core-it-suite/src/site/apt/index.apt.vm @@ -28,7 +28,8 @@ Maven Core Integration Tests - This module provides the {{{./testapidocs/org/apache/maven/it/package-summary.html}effective Integration Tests suite}}. + This module provides the {{{./testapidocs/org/apache/maven/it/package-summary.html}effective Integration Tests suite}}, + starting with {{{./bootstrap.html}bootstrap}}. * Running the ITs http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/d0ac0d4e/core-it-suite/src/site/site.xml ---------------------------------------------------------------------- diff --git a/core-it-suite/src/site/site.xml b/core-it-suite/src/site/site.xml index 57e8a72..0c81434 100644 --- a/core-it-suite/src/site/site.xml +++ b/core-it-suite/src/site/site.xml @@ -30,6 +30,7 @@ under the License. <item name="License" href="http://www.apache.org/licenses/"/> </menu> <menu name="Results"> + <item name="Bootstrap" href="bootstrap.html"/> <item name="Surefire Report" href="surefire-report.html"/> </menu> http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/d0ac0d4e/core-it-suite/src/test/resources/bootstrap/pom.xml ---------------------------------------------------------------------- diff --git a/core-it-suite/src/test/resources/bootstrap/pom.xml b/core-it-suite/src/test/resources/bootstrap/pom.xml index 8ef3a14..0fec74f 100644 --- a/core-it-suite/src/test/resources/bootstrap/pom.xml +++ b/core-it-suite/src/test/resources/bootstrap/pom.xml @@ -102,15 +102,32 @@ under the License. <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.10</version> + <configuration> + <includeScope>runtime</includeScope> + <prependGroupId>true</prependGroupId> + </configuration> <executions> <execution> - <id>get-all-deps</id> + <id>get-all-plugins-deps</id> <phase>pre-integration-test</phase> + <inherited>false</inherited><!-- only parent pom selects plugins --> <goals> <goal>resolve-plugins</goal> </goals> <configuration> - <includeScope>runtime</includeScope> + <outputFile>${project.build.directory}/resolve-plugins.txt</outputFile> + </configuration> + </execution> + <execution> + <id>get-all-deps</id> + <phase>pre-integration-test</phase> + <goals> + <goal>resolve</goal> + </goals> + <configuration> + <sort>true</sort> + <outputScope>false</outputScope> + <outputFile>${project.build.directory}/resolve.txt</outputFile> </configuration> </execution> </executions>