svn commit: r1814952 - /maven/site/trunk/content/apt/guides/getting-started/index.apt

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

svn commit: r1814952 - /maven/site/trunk/content/apt/guides/getting-started/index.apt

Author: rfscholte
Date: Sat Nov 11 14:33:59 2017
New Revision: 1814952

[MNGSITE-321] Replace "clean install" with "verify" as much as possible


Modified: maven/site/trunk/content/apt/guides/getting-started/index.apt
--- maven/site/trunk/content/apt/guides/getting-started/index.apt (original)
+++ maven/site/trunk/content/apt/guides/getting-started/index.apt Sat Nov 11 14:33:59 2017
@@ -1155,7 +1155,7 @@ mvn archetype:generate \
   and try:
-mvn clean package
+mvn package
   You'll see <<<target/my-webapp.war>>> is built, and that all the normal steps were executed.
@@ -1234,7 +1234,7 @@ mvn clean package
   Now, try it... from the top level directory, run:
-mvn clean install
+mvn verify
   The WAR has now been created in <<<my-webapp/target/my-webapp.war>>>, and the JAR is included:
@@ -1271,10 +1271,6 @@ $ jar tvf my-webapp/target/my-webapp-1.0
   may be familiar with from Maven 1.0: this ensures that the POM can always be located even if the project
   is distributed separately from its parent by looking it up in the repository.
-  Unlike Maven 1.0, it is not required that you run <<<install>>> to successfully perform these steps - you can run
-  <<<package>>> on its own and the artifacts in the reactor will be used from the target directories instead of the
-  local repository.
   You might like to generate your IDEA workspace again from the top level directory...