mojohaus / mojohaus/exec-maven-plugin

add third execution mode to enable jvm parameters such as --enable-preview

Open
#345 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
191
Forks
111
Avg merge
1d 21h
Merged PRs (30d)
4

Description

It appears not possible to add jvm parameters.
A use case is to execute the built product in a maven project with special (e.g. --enable-preview) jvm parameters.
The execution mode is similar to exec with an additional parameter (or parameters) to add jvm parameters,
such that e.g. --enable-preview or -Xmx512 can be passed.

This would be useful for new features and would allow starting the maven project from the IDE (with a specific configuration).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the existing exec execution mode is implemented in the Maven plugin and how its parameters are passed to the launched JVM. Define the additional execution mode or parameters for values such as --enable-preview and -Xmx512, then verify that the product can be started from a Maven project or IDE with those JVM options.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.