question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Distribute through maven central and change groupId and base package

See original GitHub issue

Current groupId of bucket4j is com.github, but Maven Central requires that groupId of artefact should be a controlled(by author) domain, so groupId should be changed, else it is not possible to publish artefacts to Maven Central:

This issue originally raised in jhipster#5388

Proposed to release 2.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
jduboiscommented, Apr 2, 2017

Sorry, I didn’t realize your package name was different from your groupId, and in fact it should be, otherwise that’s quite confusing. What you could do, is what we did for for the JHipster library:

0reactions
vladimir-bukhtoyarovcommented, Apr 23, 2017

Bucket4j has been published to Maven Central:

<dependency>
    <groupId>com.github.vladimir-bukhtoyarov</groupId>
    <artifactId>bucket4j-core</artifactId>
    <version>2.0.0</version>
</dependency>
<dependency>
    <groupId>com.github.vladimir-bukhtoyarov</groupId>
    <artifactId>bucket4j-jcache</artifactId>
    <version>2.0.0</version>
</dependency>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Maven – Guide to uploading artifacts to the Central Repository
Guide to uploading artifacts to the Central Repository. In order for users of Maven to utilize artifacts produced by your project, you must...
Read more >
Introduction to Repositories - Apache Maven
A repository in Maven holds build artifacts and dependencies of varying types. There are exactly two types of repositories: local and remote: ......
Read more >
Maven Getting Started Guide
pom.xml contains the Project Object Model (POM) for this project. The POM is the basic unit of work in Maven. This is important...
Read more >
Guide to relocation - Apache Maven
Copy all foo -related files from /bar/foo/ in your Maven 2 repository to a temporary location. · Change the groupId to org. ·...
Read more >
Guide to Naming Conventions - Apache Maven
Guide to naming conventions on groupId, artifactId, and version. groupId uniquely identifies your project across all projects. A group ID should follow ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found