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 2020/02/03 18:07:04 UTC

[maven-shade-plugin] branch master updated: [MSHADE-339] use "test-jar" type with its default classifier

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-shade-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 85509b1  [MSHADE-339] use "test-jar" type with its default classifier
85509b1 is described below

commit 85509b1574663be0856ab8e8eca303aa17445011
Author: Peter De Maeyer <pe...@gmail.com>
AuthorDate: Sun Dec 22 20:37:02 2019 +0100

    [MSHADE-339] use "test-jar" type with its default classifier
    
    more concise than using "jar" type with "tests" classifier
---
 src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java b/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
index 9427923..07a8b8d 100644
--- a/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
+++ b/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
@@ -579,7 +579,7 @@ public class ShadeMojo
 
                             replaceFile( shadedTests, testJar );
 
-                            projectHelper.attachArtifact( project, "jar", "tests", shadedTests );
+                            projectHelper.attachArtifact( project, "test-jar", shadedTests );
                         }
 
                         if ( createTestSourcesJar )