You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/10/26 10:52:39 UTC
[maven-jarsigner-plugin] 01/01: [MJARSIGNER-57] Remove deprecated
parameters
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MJARSIGNER-57
in repository https://gitbox.apache.org/repos/asf/maven-jarsigner-plugin.git
commit ee1a42a657f4b37551eee3b528e5d8ac275a09d9
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Oct 26 12:52:37 2018 +0200
[MJARSIGNER-57] Remove deprecated parameters
---
.../apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java b/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java
index 828bb2f..fd1bd52 100644
--- a/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java
+++ b/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java
@@ -188,14 +188,6 @@ public abstract class AbstractJarsignerMojo
private boolean protectedAuthenticationPath;
/**
- * Controls processing of project attachments.
- *
- * @deprecated As of version 1.1 in favor of the new parameter <code>processAttachedArtifacts</code>.
- */
- @Parameter( property = "jarsigner.attachments" )
- private Boolean attachments;
-
- /**
* A set of artifact classifiers describing the project attachments that should be processed. This parameter is only
* relevant if {@link #processAttachedArtifacts} is <code>true</code>. If empty, all attachments are included.
*
@@ -290,7 +282,7 @@ public abstract class AbstractJarsignerMojo
processed += processArtifact( this.project.getArtifact() ) ? 1 : 0;
}
- if ( processAttachedArtifacts && !Boolean.FALSE.equals( attachments ) )
+ if ( processAttachedArtifacts )
{
Collection<String> includes = new HashSet<>();
if ( includeClassifiers != null )