jonathanlermitage / oga-maven-plugin

:jigsaw: Old GroupIds Alerter - A Maven plugin that checks for deprecated groupId+artifactId (e.g. did you know that graphql-spring-boot-starter moved from com.graphql-java to com.graphql-java-kickstart?).
https://central.sonatype.com/search?q=biz.lermitage.oga
MIT License
39 stars 7 forks source link

relocations for plugins #23

Closed froque closed 3 years ago

froque commented 3 years ago

What is the difference between dependency-maven-plugin and maven-dependency-plugin? Actually, they are the same, it's just that it was moved and renamed. The dependency-maven-plugin is hosted at Mojo while maven-dependency-plugin is hosted at Apache. The recommended plugin to use is the maven-dependency-plugin.

https://maven.apache.org/plugins/maven-dependency-plugin/faq.html#plugin_name

Shoud this oga-maven-plugin also analyze other maven plugins ?

jonathanlermitage commented 3 years ago

@froque I think this is a good idea :+1:
Maven plugin coordinates can move too :-D

froque commented 3 years ago

another relocated plugin: pl.project13.maven:git-commit-id-plugin -> io.github.git-commit-id:git-commit-id-maven-plugin

https://github.com/git-commit-id/git-commit-id-maven-plugin#relocation-of-the-project

https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/465

jonathanlermitage commented 3 years ago

Implemented, and pl.project13.maven:git-commit-id-plugin -> io.github.git-commit-id:git-commit-id-maven-plugin added to definitions.
Will publish 1.6 release soon.

jonathanlermitage commented 3 years ago

Note: the definition file manages dependencies and plugins. It is probably not necessary to have two files.
The generated report indicates whether the deprecated artifacts are dependencies or plugins.

froque commented 3 years ago

@jonathanlermitage nice. What about dependency-maven-plugin ?

jonathanlermitage commented 3 years ago

Yeah, you're right. Definitions file updated :-)