Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the --module-path? #111

Open
seinecle opened this issue Dec 17, 2020 · 2 comments
Open

How to set the --module-path? #111

seinecle opened this issue Dec 17, 2020 · 2 comments

Comments

@seinecle
Copy link

seinecle commented Dec 17, 2020

Hi,
Newbie here. I see in the readme that:

The plugin includes by default: --module-path, --add-modules and -classpath options.

-> how can I set the --module-path?

I tried to set it in the configuration by doing:

                    <options>
                        <option>--module-path</option>
                        <option>relative/path/to/mods</option>
                    </options>

or

                    <options>
                        <option>--module-path relative/path/to/mods</option>
                    </options>

But it is not taken into account.

@HGuillemet
Copy link

By default, it's set automatically according to the module graph constructed using the module descriptor of your application as the root.
But there is also an option newly merged into master allowing to add all maven dependencies to the module path (see this PR).

@seinecle
Copy link
Author

thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants