jira-importer commented on issue #265: URL: https://github.com/apache/maven-jlink-plugin/issues/265#issuecomment-2629101479
**[Gili](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cowwoc)** commented I've updated the testcase to use maven-jlink-plugin. In spite of the aforementioned bug in getModulePathElements(), which still needs to be fixed, the actual output by maven-jlink-plugin is correct. I can swap the dependency order and the first entry always shadows the second when I run "bin\java.exe -m com.company.main/com.company.main.Main" from the generated JAR file. In its current form, getModulePathElements() will always be missing one of the "plugin" dependencies. Which one gets dropped is undefined. The expected behavior is for this method to return both the modules. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org