You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/08/04 18:00:35 UTC

[maven-integration-testing] branch master updated (12f31a4 -> fd0183c)

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git.


    from 12f31a4  Add new bootstrap groups
     new a2e1d33  better toc configuration: remove level 1
     new fd0183c  more links to bootstrap

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 core-it-suite/src/site/apt/bootstrap.apt.vm |  8 ++++----
 src/site/apt/index.apt                      | 10 ++++++----
 src/site/site.xml                           |  1 +
 3 files changed, 11 insertions(+), 8 deletions(-)


[maven-integration-testing] 01/02: better toc configuration: remove level 1

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit a2e1d335f9f34c220c0902aec78f2e5e0a1236b9
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Aug 4 18:24:12 2019 +0100

    better toc configuration: remove level 1
---
 core-it-suite/src/site/apt/bootstrap.apt.vm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core-it-suite/src/site/apt/bootstrap.apt.vm b/core-it-suite/src/site/apt/bootstrap.apt.vm
index 53766c2..133b525 100644
--- a/core-it-suite/src/site/apt/bootstrap.apt.vm
+++ b/core-it-suite/src/site/apt/bootstrap.apt.vm
@@ -29,11 +29,11 @@
 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.
+  ITs run without downloading anything later:
 
-%{toc|section=1}
+%{toc|section=1|fromDepth=2}
 
-* Base Plugins Dependencies
+* Base Plugins And Their Dependencies
 
 %{snippet|file=${project.build.directory}/test-classes/bootstrap/target/resolve-plugins.txt}
 


[maven-integration-testing] 02/02: more links to bootstrap

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit fd0183cfb4097da13e8e6702d39981ae65382823
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Aug 4 18:59:31 2019 +0100

    more links to bootstrap
---
 core-it-suite/src/site/apt/bootstrap.apt.vm |  4 ++--
 src/site/apt/index.apt                      | 10 ++++++----
 src/site/site.xml                           |  1 +
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/core-it-suite/src/site/apt/bootstrap.apt.vm b/core-it-suite/src/site/apt/bootstrap.apt.vm
index 133b525..ab66a08 100644
--- a/core-it-suite/src/site/apt/bootstrap.apt.vm
+++ b/core-it-suite/src/site/apt/bootstrap.apt.vm
@@ -28,8 +28,8 @@
 
 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:
+  Core IT Bootstrapping downloads from Central repository every dependency (artifacts, plugins) required to let
+  ITs run without downloading anything later (see {{{../}Core ITs and dependencies}} rationale):
 
 %{toc|section=1|fromDepth=2}
 
diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt
index 4b1fc4e..4495122 100644
--- a/src/site/apt/index.apt
+++ b/src/site/apt/index.apt
@@ -40,15 +40,17 @@ Maven Core ITs
 
 * Core ITs and dependencies
 
- A good IT does not depend on external repos like central, it uses dedicated test plugins and test repositories.
- The default <<<settings.xml>>> used by ITs helps to enforce this by pointing central at <<<file:target/null>>>,
+ A good IT does not depend on external repos like Central, it uses dedicated test plugins and test repositories.
+ The {{{https://github.com/apache/maven-integration-testing/blob/master/core-it-suite/src/test/resources-filtered/settings.xml}default <<<settings.xml>>>}}
+ used by ITs helps to enforce this by pointing <<<central>>> at <<<file:target/null>>>,
  which obviously can't resolve anything. This setup using a file-based dummy repo also helps execution time,
  because this repo produces (expected) <<<404>>>s much faster than a HTTP-based repo.
 
- The one place where access to central is desired is in the <<<MavenITBootstrapTest>>>
+ The one place where access to Central is desired is in the <<<MavenITBootstrapTest>>>
  ({{{./core-it-suite/xref-test/org/apache/maven/it/MavenITBootstrapTest.html}src}},
  {{{./core-it-suite/testapidocs/org/apache/maven/it/MavenITBootstrapTest.html}javadoc}}),
- which doesn't really test anything but just primes the local repo with any artifacts the ITs will need.
+ which doesn't really test anything but just primes the local repo with any artifacts the ITs will need:
+ you can see {{{./core-it-suite/bootstrap.html}here}} the list of plugins and artifacts that are fetched during bootstrap.
 
  So some care needs to be taken when introducing new dependencies into the ITs themselves or the support plugins.
  Many times the failures that we encounter are discrepancies between actual artifact consumption required and
diff --git a/src/site/site.xml b/src/site/site.xml
index b43a1c9..ce01e62 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -35,6 +35,7 @@ under the License.
       <item name="Introduction" href="index.html"/>
       <!--item name="FAQ" href="faq.html"/-->
       <item name="License" href="http://www.apache.org/licenses/"/>
+      <item name="Bootstrap" href="core-it-suite/bootstrap.html"/>
     </menu>
 
     <menu ref="modules"/>