-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add possibility to pass arguments before -cp command in native-maven-plugin #641
Comments
@maximkovalenko-h thank you for reporting. We will discuss this at our next meeting to find a solution. In the meanwhile, have you opened a ticket for |
Hello @vjovanov, thank you. |
While I agree that in this instance the right solution is to fix the tomcat artifacts to not use deprecated options anymore, the request to allow to control the place where The right way to provide that for maven is to use the maven exec plugin for inspiration. I.e. we could also introduce |
We discussed this in the meeting and the conclusion is that investing effort in this feature for this single malicious case is not worth the effort. In this case, the mechanism worked as the ticket is reported and it will eventually get fixed. If we make it easy to bypass these warnings, the real issue will never be fixed and we will be stuck with the original problem. The workaround for this issue would be to use an environment variable: maximkovalenko-hc please let us know if this did the trick. |
We're trying to use
-H:+UnlockExperimentalVMOptions
option in native-maven-plugin to get rid form native compilation warnings:It works only when
-H:+UnlockExperimentalVMOptions
option is before-cp
command.Please add a possibility to pass arguments before
-cp
command in native-maven-plugin.The text was updated successfully, but these errors were encountered: