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 2018/12/08 14:16:47 UTC

[maven-archetypes] branch master updated: [MARCHETYPES-64] fixed "mvn site" for quickstart

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-archetypes.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f9fb7c  [MARCHETYPES-64] fixed "mvn site" for quickstart
1f9fb7c is described below

commit 1f9fb7ca176c593ae6d4d0263992008ab77cbf2b
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Dec 8 15:16:39 2018 +0100

    [MARCHETYPES-64] fixed "mvn site" for quickstart
---
 .../src/main/resources-filtered/archetype-resources/pom.xml  | 12 +++++++++++-
 .../src/test/resources/projects/it-basic/goal.txt            |  2 +-
 plugin-versions.properties                                   |  2 +-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml b/maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml
index 925b86f..7a6bdf2 100644
--- a/maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml
+++ b/maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml
@@ -30,11 +30,12 @@
   <build>
     <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
       <plugins>
+        <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
         <plugin>
           <artifactId>maven-clean-plugin</artifactId>
           <version>${clean}</version>
         </plugin>
-        <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
+        <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
         <plugin>
           <artifactId>maven-resources-plugin</artifactId>
           <version>${resources}</version>
@@ -59,6 +60,15 @@
           <artifactId>maven-deploy-plugin</artifactId>
           <version>${deploy}</version>
         </plugin>
+        <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
+        <plugin>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>${site}</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-project-info-reports-plugin</artifactId>
+          <version>${pir}</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
diff --git a/maven-archetype-quickstart/src/test/resources/projects/it-basic/goal.txt b/maven-archetype-quickstart/src/test/resources/projects/it-basic/goal.txt
index 4a1a71d..5c39958 100644
--- a/maven-archetype-quickstart/src/test/resources/projects/it-basic/goal.txt
+++ b/maven-archetype-quickstart/src/test/resources/projects/it-basic/goal.txt
@@ -1 +1 @@
-verify
\ No newline at end of file
+verify site
\ No newline at end of file
diff --git a/plugin-versions.properties b/plugin-versions.properties
index 6688754..8cce385 100644
--- a/plugin-versions.properties
+++ b/plugin-versions.properties
@@ -1,5 +1,5 @@
 clean     3.0.0
-site      3.7
+site      3.7.1
 install   2.5.2
 deploy    2.8.2
 resources 3.0.2