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/13 05:53:54 UTC

[maven-site] branch master updated: [MNGSITE-360] upgraded quickstart archetype to 1.4

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


The following commit(s) were added to refs/heads/master by this push:
     new f1a5c49  [MNGSITE-360] upgraded quickstart archetype to 1.4
f1a5c49 is described below

commit f1a5c49805ed4fb5791ebef374cd46bffe921a0a
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Dec 13 06:53:50 2018 +0100

    [MNGSITE-360] upgraded quickstart archetype to 1.4
    
    this version works with any JDK version from 7 to 11
---
 content/apt/guides/getting-started/maven-in-five-minutes.apt | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/content/apt/guides/getting-started/maven-in-five-minutes.apt b/content/apt/guides/getting-started/maven-in-five-minutes.apt
index 3672356..5881637 100644
--- a/content/apt/guides/getting-started/maven-in-five-minutes.apt
+++ b/content/apt/guides/getting-started/maven-in-five-minutes.apt
@@ -68,7 +68,7 @@ OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
   On your command line, execute the following Maven goal:
 
 +-----+
-mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.3 -DinteractiveMode=false
+mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
 +-----+
 
   <If you have just installed Maven, it may take a while on the first run. This is because Maven is downloading
@@ -139,12 +139,6 @@ my-app
 </project>
 +-----+
 
-  Note: The version 1.3 of maven-archetype-quickstart generates a POM with version 2.20.1 of the maven-surefire-plugin
-  (for running tests). This version will not work with a Java 11+ runtime (you will see a NullPointerException).
-  You can work around this by using a newer version: open `pom.xml` in a text editor,
-  search for the plugin with `<artifactID>maven-surefire-plugin</artifactId>` and change the version tag
-  to: `<version>2.22.1</version>`.
-
 ** What did I just do?
 
   You executed the Maven goal <archetype:generate>, and passed in various parameters to that goal.