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

Parameter localRepository uses deprecated parameter expression ${localRepository} #161

Closed
basil opened this issue May 22, 2023 · 1 comment · Fixed by #144 or #173
Closed

Parameter localRepository uses deprecated parameter expression ${localRepository} #161

basil opened this issue May 22, 2023 · 1 comment · Fixed by #144 or #173

Comments

@basil
Copy link

basil commented May 22, 2023

Reproduction steps

  • Use Maven 3.9.2.
  • Run mvn clean verify in a project that uses mrm-maven-plugin.

Expected Results

No warning

Actual Results

[WARNING]  * org.codehaus.mojo:mrm-maven-plugin:1.5.0
[…]
[WARNING]   Mojo issue(s):
[WARNING]    * Mojo mrm:start (org.codehaus.mojo.mrm.plugin.StartMojo)
[WARNING]      - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided.
[WARNING]    * Mojo mrm:stop (org.codehaus.mojo.mrm.plugin.StopMojo)
[WARNING]      - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided.

Anything else?

See https://maven.apache.org/docs/3.9.2/release-notes.html#notable-new-features for the root cause.

@slawekjaranowski
Copy link
Member

Partially fixed by #144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants