Skip to content

Rename project to comply with maven convention and rename artifact id to provide better general clarity #465

Closed
@hazendaz

Description

@hazendaz

[see] (https://maven.apache.org/guides/plugin/guide-java-plugin-development.html)

While the underlying build does comply with trademark as maven sets out abit with name off slightly, the project name does not. The name change is trivial and should mostly be a no-op to everyone using it. Forks would need to rename themselves from what I recall but would still be connected. Further, I would make sure 'maven' is actually in the plugin name itself. That serves for clarity as well as following maven requirements.

Project name -> maven-git-commit-id-plugin to git-commit-id-maven-plugin
Artifact id -> git-commit-id-plugin to git-commit-id-maven-plugin

The artifact id rename could make use of maven artifact relocation pom so that users are able to quickly find out it's changed.

Understandably this is a big ask but will bring it in line with 99% of all other maven plugins in the wild. Only a few deviate this way. Further, with the big jumps this project has already made I get the feeling if this were accepted it would be version 5.

I'm also available to help in said transition where needed :)

As this project has further become modular, it also stands that if this is accepted that the underlying modules also get entirely named properly.

The downside: maven compliance on project name if they cared at all. The bigger downside is that it's confusing in IDEs when each module has to further state that it's called X in module Y when that is entirely unnecessary and conflicts with disk layout. While not a big deal for those with few projects, it's a considerable issue IMHO when 100s of projects are in one IDE.

Suggestions on modules. Note maven is specifically in each.

  • git-commit-id-maven-plugin-parent
  • git-commit-id-maven-plugin
  • git-commit-id-maven-plugin-core

That alone would keep me from seeing the reality as this -> git-commit-id-plugin-core (in core) [maven-git-commit-id-plugin]. A huge ask, I know, but wanted to toss it out there since this project seems to be going through big changes ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions