Ivan Tomić
Ivan Tomić

Reputation: 171

How to configure Maven to keep "Maven Dependencies" in Modulepath?

I've got a simple Java project with Maven.

By default dependencies loaded through Maven end up in a "Maven dependencies" library which is added to the class-path.

In eclipse it looks like this:
enter image description here

For whatever reason, I need those dependencies in the module-path, like so: enter image description here

My Problem is that every time i run maven update, it resets the "Maven Dependencies" library to class-path.

How can the project or pom file be configured to keep the libary in module-path?

Upvotes: 0

Views: 281

Answers (0)

Related Questions