added bootstrap info

This commit is contained in:
Hervé Boutemy 2017-04-04 00:47:44 +02:00
parent cd49d181e4
commit 2e09197f22
4 changed files with 88 additions and 3 deletions

View File

@ -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}

View File

@ -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

View File

@ -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>

View File

@ -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>