javafx-maven-plugin icon indicating copy to clipboard operation
javafx-maven-plugin copied to clipboard

How to set the --module-path?

Open seinecle opened this issue 3 years ago • 2 comments

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.

seinecle avatar Dec 17 '20 13:12 seinecle

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).

HGuillemet avatar Dec 19 '20 20:12 HGuillemet

thx!

seinecle avatar Dec 23 '20 12:12 seinecle