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

Publish to Maven Central #5

Open
Marcono1234 opened this issue Sep 23, 2024 · 0 comments
Open

Publish to Maven Central #5

Marcono1234 opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Marcono1234
Copy link
Owner

Note

If you are interested in this, please react with 👍 and optionally add a comment.
Additionally if you have suggestions, tips or know of alternatives, then feel free to share them here as well.

Problem

Currently it is a bit cumbersome to use this project because it is not published anywhere, and using JitPack seems to not be possible either at the moment (#3).

Possible Solution

Publish to Maven Central

However, there are multiple requirements, see https://central.sonatype.org/publish/requirements/

Things to consider before publishing

  • Check the groupId and artifactId; adjust them if necessary to match conventions
  • Change the package name (and module-info name)
    Otherwise users might encounter classpath issues when both this artifact as well as the original Lingua artifact, both with the same package, are present on the classpath.
  • https://central.sonatype.org/publish/requirements/

Alternatives

  • Publish to GitHub packages
    The disadvantage is that users need to authenticate to be able to use the package, see GitHub documentation.
@Marcono1234 Marcono1234 added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant