You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2022/06/10 15:22:39 UTC

[sling-feature-launcher-maven-plugin] branch issue/SLING-11378 created (now 584f6a1)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to branch issue/SLING-11378
in repository https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git


      at 584f6a1  SLING-11378 - Execution fails if no launcher arguments are defined

This branch includes the following new commits:

     new 584f6a1  SLING-11378 - Execution fails if no launcher arguments are defined

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-feature-launcher-maven-plugin] 01/01: SLING-11378 - Execution fails if no launcher arguments are defined

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch issue/SLING-11378
in repository https://gitbox.apache.org/repos/asf/sling-feature-launcher-maven-plugin.git

commit 584f6a1920fddf9fb7ae96c5a1d6ea544f3a9e18
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Jun 10 17:21:50 2022 +0200

    SLING-11378 - Execution fails if no launcher arguments are defined
---
 src/main/java/org/apache/sling/maven/feature/launcher/Launch.java       | 2 +-
 .../java/org/apache/sling/maven/feature/launcher/LauncherArguments.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/maven/feature/launcher/Launch.java b/src/main/java/org/apache/sling/maven/feature/launcher/Launch.java
index d3a2fa7..a0c3d10 100644
--- a/src/main/java/org/apache/sling/maven/feature/launcher/Launch.java
+++ b/src/main/java/org/apache/sling/maven/feature/launcher/Launch.java
@@ -31,7 +31,7 @@ public class Launch {
 
     private String id;
     private Dependency feature;
-    private LauncherArguments launcherArguments;
+    private LauncherArguments launcherArguments = new LauncherArguments();
     private int startTimeoutSeconds = 30;
     private boolean skip = false;
     private Map<String,String> environmentVariables = new HashMap<>();
diff --git a/src/main/java/org/apache/sling/maven/feature/launcher/LauncherArguments.java b/src/main/java/org/apache/sling/maven/feature/launcher/LauncherArguments.java
index 07617fd..3693172 100644
--- a/src/main/java/org/apache/sling/maven/feature/launcher/LauncherArguments.java
+++ b/src/main/java/org/apache/sling/maven/feature/launcher/LauncherArguments.java
@@ -23,7 +23,7 @@ import java.util.Map;
 
 public class LauncherArguments {
 
-    private String[] vmOptions = null;
+    private String[] vmOptions = new String[0];
     private Map<String, String> frameworkProperties = new HashMap<>();
     private Map<String, String> variables = new HashMap<>();