This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 867caf9a7e ARTEMIS-5133: Remove private field systemProperties is not
written anywhere
867caf9a7e is described below
commit 867caf9a7eb07d0ccb3c383432d2eb1752bd261d
Author: ljluestc <[email protected]>
AuthorDate: Tue Jan 14 00:05:46 2025 -0800
ARTEMIS-5133: Remove private field systemProperties is not written anywhere
---
.../org/apache/activemq/artemis/maven/ArtemisClientPlugin.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git
a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java
b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java
index ef01a4052d..58254e97e7 100644
---
a/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java
+++
b/artemis-maven-plugin/src/main/java/org/apache/activemq/artemis/maven/ArtemisClientPlugin.java
@@ -20,7 +20,6 @@ import java.io.File;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
-import java.util.Properties;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
@@ -47,11 +46,6 @@ public class ArtemisClientPlugin extends
ArtemisAbstractPlugin {
@Parameter(defaultValue = "${noClient}")
boolean ignore;
- /**
- * @parameter
- */
- private Properties systemProperties;
-
@Override
protected boolean isIgnore() {
return ignore;
@@ -71,10 +65,6 @@ public class ArtemisClientPlugin extends
ArtemisAbstractPlugin {
@Override
protected void doExecute() throws MojoExecutionException,
MojoFailureException {
try {
- if (systemProperties != null && !systemProperties.isEmpty()) {
- System.getProperties().putAll(systemProperties);
- }
-
Class aClass;
if (classPath != null) {
ClassLoader loader = defineClassLoader(classPath);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact