-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[MNG-7706] Deprecate 'localRepository' parameter expression (#1009) #1012
[MNG-7706] Deprecate 'localRepository' parameter expression (#1009) #1012
Conversation
) This PR deprecates the 'localRepository' mojo parameter expression, and Core will emit warning if used by any Mojo. --- https://issues.apache.org/jira/browse/MNG-7706
Does this have to do with warning for test phase, when actually there are no tests at all? mvn version 3.9.1
|
solved with latest 3.0.0 https://maven.apache.org/surefire/maven-surefire-plugin/ e.g. with Spring Boot <maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version> |
How should https://github.com/cloudbees/maven-license-plugin/blob/b58872cc1f4062ec01ca903d9a5546cc3b85a748/src/main/java/com/cloudbees/maven/license/ProcessMojo.java#L179 be adapted? The deprecation notice says to switch to
|
|
The |
Yup, setRepositorySession... if you are sure it is there, then not needed. |
Just for future: please use ML for asks like this one :) |
This migration was poorly documented. What you asked me to do had nothing to do with the instructions in the deprecation warning. I think it was appropriate to complain about that in this PR. |
This PR deprecates the 'localRepository' mojo parameter expression, and Core will emit warning if used by any Mojo.
Forward port of #1009
https://issues.apache.org/jira/browse/MNG-7706