From 2b06594954eab1be45b28fd8789689621422d739 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Tue, 7 Nov 2023 20:20:06 +0100 Subject: [PATCH] [MASSEMBLY-1004] Remove ignored and deprecated parameter - useJvmChmod --- .../assembly/AssemblerConfigurationSource.java | 5 ----- .../assembly/mojos/AbstractAssemblyMojo.java | 13 ------------- 2 files changed, 18 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java b/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java index 49a14279..49334405 100644 --- a/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java +++ b/src/main/java/org/apache/maven/plugins/assembly/AssemblerConfigurationSource.java @@ -165,11 +165,6 @@ public interface AssemblerConfigurationSource { */ boolean isUpdateOnly(); - /** - * @return Use JVM chmod yes/no. - */ - boolean isUseJvmChmod(); - /** * @return Ignore permissions yes/no. */ diff --git a/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java b/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java index d5eeea79..6492d9a4 100644 --- a/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java +++ b/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java @@ -350,13 +350,6 @@ public abstract class AbstractAssemblyMojo extends AbstractMojo implements Assem @Parameter(property = "assembly.updateOnly", defaultValue = "false") private boolean updateOnly; - /** - * @since 2.2 - * @deprecated Not used anymore and will be removed in future version - */ - @Parameter(property = "assembly.useJvmChmod", defaultValue = "false") - private boolean useJvmChmod; - /** *

* Set to true in order to avoid all chmod calls. @@ -790,12 +783,6 @@ public boolean isUpdateOnly() { return updateOnly; } - @Override - @Deprecated - public boolean isUseJvmChmod() { - return useJvmChmod; - } - @Override public boolean isIgnorePermissions() { return ignorePermissions;