Maven Dependencies in Module Path in Runconfiguration [message #1800143] |
Thu, 20 December 2018 07:44  |
Eclipse User |
|
|
|
I'm currently in the process of creating my first Java 10 (soon to be 11) Module based project.
The Problem is, I also chose Maven for dependency managment and I need these dependencies to be on the module path.
I managed to to this for the build configuration by simply dragging the "Maven Dependencies" into the module path. But the same does not seem to be possible for any run configurations. These list "Maven managed dependencies" on the classpath resulting in a java.lang.module.FindException when trying to run them.
The Project itself can be successfully build using eclipse and/or maven. Also using the experimental maven-jlink-plugin results in a working runtime image.
It seems to me all that would be needed to fix this, is to have the maven managed dependencies on the module path inside the run configuration. But as I said, I could not find any way to do this.
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08600 seconds