cxf-java2ws-plugin plugin running on non-modular JDK fails with NullPointerException
@@ -293,10 +293,12 @@ public class Java2WSMojo extends AbstractMojo {
List<String> args = new ArrayList<>();
if (fork) {
+ if (!StringUtils.isEmpty(additionalJvmArgs)) {
String[] split = additionalJvmArgs.split("\\s+");
for (String each : split) {
args.add(each);
}
+ }
// @see JavaToWS#isExitOnFinish()
args.add("-DexitOnFinish=true");
}
