tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject tomee git commit: TOMEE-1699 if quoted then the system property is considered as the main class
Date Wed, 27 Jan 2016 08:15:42 GMT
Repository: tomee
Updated Branches:
  refs/heads/master 009aeb078 -> e18a92244


TOMEE-1699 if quoted then the system property is considered as the main class


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/e18a9224
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/e18a9224
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/e18a9224

Branch: refs/heads/master
Commit: e18a92244e34759cd4523df71547bf1a36d5a923
Parents: 009aeb0
Author: Romain Manni-Bucau <rmannibucau@apache.org>
Authored: Wed Jan 27 09:15:34 2016 +0100
Committer: Romain Manni-Bucau <rmannibucau@apache.org>
Committed: Wed Jan 27 09:15:34 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java    | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/e18a9224/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
----------------------------------------------------------------------
diff --git a/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
b/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
index e4cd0ee..81d5e68 100644
--- a/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
+++ b/maven/tomee-maven-plugin/src/main/java/org/apache/openejb/maven/plugin/AbstractTomEEMojo.java
@@ -1185,8 +1185,6 @@ public abstract class AbstractTomEEMojo extends AbstractAddressMojo
{
                 final String value = entry.getValue();
                 if (value == null) {
                     strings.add("-D" + key);
-                } else if (value.contains(" ")) {
-                    strings.add(String.format("'-D%s=%s'", key, value));
                 } else {
                     strings.add(String.format("-D%s=%s", key, value));
                 }


Mime
View raw message