[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. |
|
Resolve #9271 |
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