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 79daeeb note for maven-archetype-quickstart version 1.3 79daeeb is described below commit 79daeeb190baf702d1dc53bfeb21e9234926615c Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Sun Dec 9 16:48:51 2018 +0100 note for maven-archetype-quickstart version 1.3 --- content/apt/guides/getting-started/maven-in-five-minutes.apt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 877d698..3672356 100644 --- a/content/apt/guides/getting-started/maven-in-five-minutes.apt +++ b/content/apt/guides/getting-started/maven-in-five-minutes.apt @@ -122,7 +122,6 @@ my-app <groupId>com.mycompany.app</groupId> <artifactId>my-app</artifactId> <version>1.0-SNAPSHOT</version> - <!-- packaging>jar</packaging --> <properties> <maven.compiler.source>1.7</maven.compiler.source> @@ -140,6 +139,12 @@ 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.