4drian3d / AuthMeVelocity

AuthMeReloaded support for Velocity proxy
https://modrinth.com/plugin/authmevelocity
GNU General Public License v3.0
67 stars 14 forks source link

Inconsistent package name in API dependency #111

Closed MagmaBlock closed 1 year ago

MagmaBlock commented 1 year ago

I noticed that your GitHub username seems changed, which led to an inconsistency in the package name of the library's dependency. The current package name in the Maven repository is "io.github.4drian3d", but the actual jar file still contains the package name as "io.github._4drian3d".

Dependency information in wiki also wrong: https://github.com/4drian3d/AuthMeVelocity/wiki/Plugin-API

This inconsistency is causing issues when trying to use the library in my project, as the IDE cannot properly resolve the package names.

4drian3d commented 1 year ago

I noticed that your GitHub username seems changed, which led to an inconsistency in the package name of the library's dependency. The current package name in the Maven repository is "io.github.4drian3d", but the actual jar file still contains the package name as "io.github._4drian3d".

Dependency information in wiki also wrong: https://github.com/4drian3d/AuthMeVelocity/wiki/Plugin-API

This inconsistency is causing issues when trying to use the library in my project, as the IDE cannot properly resolve the package names.

Yes, I would have liked to have consistency in both the groupId and the package, but it is not possible because the domain that corresponds to me is io.github.4drian3d, but in Java it is not possible to assign a number as the initial character of a package, so, according to advice from developers who have already published libraries in Maven Central and according to documentation, I had to add an initial _(io.github._4drian3d). In my other projects like MiniPlaceholders I do have consistency in the groupId and in the package (io.github.miniplaceholders) since it does not contain numbers. The bug about the documentation is already fixed, thanks for reporting.