You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2022/11/13 13:10:22 UTC

[maven-site] branch elharo-patch-4 created (now 036e5f5f)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch elharo-patch-4
in repository https://gitbox.apache.org/repos/asf/maven-site.git


      at 036e5f5f Simplify page

This branch includes the following new commits:

     new 036e5f5f Simplify page

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-site] 01/01: Simplify page

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch elharo-patch-4
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 036e5f5faaeaa3c1d831436f639a050213161bda
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Sun Nov 13 13:10:18 2022 +0000

    Simplify page
    
    @michael-o
---
 content/apt/guides/mini/guide-attached-tests.apt | 36 ++++--------------------
 1 file changed, 6 insertions(+), 30 deletions(-)

diff --git a/content/apt/guides/mini/guide-attached-tests.apt b/content/apt/guides/mini/guide-attached-tests.apt
index 07953e9e..8b4b720f 100644
--- a/content/apt/guides/mini/guide-attached-tests.apt
+++ b/content/apt/guides/mini/guide-attached-tests.apt
@@ -28,9 +28,9 @@
 
 Guide to using attached tests
 
- Many times you may want to reuse the tests that you have created for a project in another. For example if you have
- written <<<foo-core>>> and it contains test code in the <<<$\{basedir\}/src/test/java>>> it would be useful to package
- up those compiled tests in a JAR and deploy them for general reuse. To do this you would configure the
+ You can reuse the tests that you have created for one project in another. For example, suppose
+ <<<foo-core>>> contains test code in the <<<$\{basedir\}/src/test/java>>>. To package
+ up those compiled tests in a JAR and deploy them for general reuse, configure the
  <<<maven-jar-plugin>>> as follows:
 
 +----+
@@ -54,34 +54,10 @@ Guide to using attached tests
   </build>
 </project>
 
-+----+
-
-* Installing the attached test JAR
-
- In order to install the attached test JAR you simply use the standard <<<install>>> phase by executing
- the following command:
-
-+----+
-
-mvn install
-
-+----+
-
-* Deploying the attached test JAR
-
- In order to deploy the attached test JAR you simply use the standard <<<deploy>>> phase by executing
- the following command:
-
-+----+
-
-mvn deploy
-
-+----+
-
-* Using the attached test JAR
+The attached test JAR can be installed and deployed like any other Maven artifact with 
 
- In order to use the attached test JAR that was created above you simply specify a dependency on the main
- artifact with a specified type of <<<test-jar>>> and the <<<classifier>>>.
+To use the attached test JAR, specify a dependency on the main
+artifact with a specified type of <<<test-jar>>> and the <<<classifier>>>.
 
 +----+