You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by sv...@apache.org on 2018/12/09 15:49:39 UTC
svn commit: r1848526 - in /maven/website/content:
guides/getting-started/maven-in-five-minutes.html maven-site-1.0-site.jar
Author: svn-site-role
Date: Sun Dec 9 15:49:38 2018
New Revision: 1848526
Log:
Site checkin for project Apache Maven Site
Modified:
maven/website/content/guides/getting-started/maven-in-five-minutes.html
maven/website/content/maven-site-1.0-site.jar
Modified: maven/website/content/guides/getting-started/maven-in-five-minutes.html
==============================================================================
--- maven/website/content/guides/getting-started/maven-in-five-minutes.html (original)
+++ maven/website/content/guides/getting-started/maven-in-five-minutes.html Sun Dec 9 15:49:38 2018
@@ -187,7 +187,6 @@ OS name: "windows 7", version:
<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>
@@ -202,7 +201,8 @@ OS name: "windows 7", version:
<scope>test</scope>
</dependency>
</dependencies>
-</project></pre></div></div>
+</project></pre></div>
+<p>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 `<i>artifactID</i>maven-surefire-plugin<i>/artifactId</i>` and change the version tag to: `<i>version</i>2.22.1<i>/version</i>`.</p></div>
<div class="section">
<h4><a name="What_did_I_just_do.3F"></a>What did I just do?</h4>
<p>You executed the Maven goal <i>archetype:generate</i>, and passed in various parameters to that goal. The prefix <i>archetype</i> is the <a href="../../plugins/index.html">plugin</a> that provides the goal. If you are familiar with <a class="externalLink" href="http://ant.apache.org">Ant</a>, you may conceive of this as similar to a task. This <i>archetype:generate</i> goal created a simple project based upon a <a href="/archetypes/maven-archetype-quickstart/">maven-archetype-quickstart</a> archetype. Suffice it to say for now that a <i>plugin</i> is a collection of <i>goals</i> with a general common purpose. For example the jboss-maven-plugin, whose purpose is "deal with various jboss items".</p></div>
Modified: maven/website/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.