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

Rename maven-license-plugin to license-maven-plugin #20

Closed
basil opened this issue Jun 30, 2023 · 9 comments · Fixed by #24
Closed

Rename maven-license-plugin to license-maven-plugin #20

basil opened this issue Jun 30, 2023 · 9 comments · Fixed by #24

Comments

@basil
Copy link
Member

basil commented Jun 30, 2023

Our Maven build contains the following warning:

Artifact IDs of the format maven-___-plugin are reserved for plugins in the group ID org.apache.maven.plugins. Please change your artifact ID to the format ___-maven-plugin. In the future this error will break the build.

This notice elaborates further:

Calling it maven-<yourplugin>-plugin (note "Maven" is at the beginning of the plugin name) is strongly discouraged since it's a reserved naming pattern for official Apache Maven plugins maintained by the Apache Maven team with group ID org.apache.maven.plugins. Using this naming pattern is an infringement of the Apache Maven Trademark.

Renaming this plugin is trivial, but the real work in this task is adapting all consumers to the new name.


Reference: https://maven.apache.org/guides/plugin/guide-java-plugin-development.html

@jglick
Copy link
Member

jglick commented Jul 6, 2023

Perhaps merge with @NotMyFault’s proposal in #15 (comment)

We could cease publishing to the central repository and publish releases to repo.jenkins-ci.org.

and change the groupId while we are at it.

@jglick
Copy link
Member

jglick commented Jul 6, 2023

Fixed by #24 IIUC?

@basil
Copy link
Member Author

basil commented Jul 6, 2023

Fixed by #24 IIUC?

Partially. From the issue description:

Renaming this plugin is trivial, but the real work in this task is adapting all consumers to the new name.

@basil
Copy link
Member Author

basil commented Jul 6, 2023

Most of the affected plugins are dead, but at least two appear to be still maintained:

name                     popularity
-----------------------  ----------
jacoco                   22315     
gatling                  3405      
ldapemail                2303      
maven-release-cascade    677       
htmlresource             598       
BlazeMeterJenkinsPlugin  258       
associated-files         72        
plasticscm-mergebot      63        
TwilioNotifier           61        

Reopening until pull requests are filed to adapt JaCoCo and Gatling to this breaking change.

@jglick
Copy link
Member

jglick commented Jul 6, 2023

@jglick
Copy link
Member

jglick commented Jul 6, 2023

Then I see jenkinsci/plugin-pom#801 + jenkinsci/jenkins#8231 + jenkinsci/pom#460 which I suppose covers the normal stuff?

@basil
Copy link
Member Author

basil commented Jul 6, 2023

Yeah, I think we have covered enough of the ecosystem to be able to declare success. The rest of the plugin references do not seem worth spending any time on.

@basil basil closed this as completed Jul 6, 2023
@batmat
Copy link
Member

batmat commented Jul 10, 2023

I had in mind to ask this question when the move was initiated even before the rename. I guess this question is even more valid now :).

WDYT #33?

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

Successfully merging a pull request may close this issue.

5 participants