We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb2288 commit 91d1272Copy full SHA for 91d1272
src/main/java/fvarrui/maven/plugin/javapackager/PackageMojo.java
@@ -693,7 +693,9 @@ private String getRequiredModules(File libsFolder) throws MojoExecutionException
693
694
List<String> modulesList = Arrays.asList(modulesArray).stream()
695
.map(module -> module.trim())
696
+ .map(module -> module.contains("/") ? module.split("/")[0] : module)
697
.filter(module -> !module.startsWith("JDK removed internal"))
698
+ .distinct()
699
.collect(Collectors.toList());
700
701
if (!StringUtils.isEmpty(additionalModules)) {
0 commit comments