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

setting MAVEN_OPTS in environment variables does not work #398

Open
siddhsql opened this issue Nov 21, 2023 · 0 comments
Open

setting MAVEN_OPTS in environment variables does not work #398

siddhsql opened this issue Nov 21, 2023 · 0 comments

Comments

@siddhsql
Copy link

per the documentation:

Any VM specific option that you want to pass to the executed class must be passed to the Maven VM using the MAVEN_OPTS environment variable.

so I did just that:

    <configuration>
...
                <environmentVariables>
            <MAVEN_OPTS>--enable-preview --add-modules jdk.incubator.vector -ea </MAVEN_OPTS>
          </environmentVariables>
            </configuration>
                </execution>

except that it does not work.

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

1 participant