Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Publish artifacts to maven central #32

Closed
norbertpotocki opened this issue Jun 19, 2015 · 12 comments
Closed

Publish artifacts to maven central #32

norbertpotocki opened this issue Jun 19, 2015 · 12 comments

Comments

@norbertpotocki
Copy link

Hi,

could you please publish consul-client to maven central repository?

@rickfast
Copy link
Owner

I can try to do this next week, but I'm out of town at the moment. Is there a reason you can't use JCenter?

@ghost
Copy link

ghost commented Jun 23, 2015

I can't speak for norbert but my guess is that I'm not the only one who can't resolve the jar.

I think your JCenter coordinates may be hosed. The JCenter link on your README.md gives a "The requested path was not found."-error and the jar is not resolving when I run Gradle locally.

To reproduce, build.gradle:

repositories {
    mavenLocal()
    mavenCentral()
    jcenter()
}

dependencies {
    compile 'com.orbitz.consul:consul-client:0.9.5'
}

Then run gradle eclipse and nothing resolves.

Are you positive those coordinates are correct?!

@rickfast
Copy link
Owner

Interesting. We cache JCenter in Artifactory and haven't had a problem. I'll work to resolve this

@rickfast
Copy link
Owner

JCenter path got borked on this release. When I'm back at my laptop I will resolve

@ghost
Copy link

ghost commented Jun 23, 2015

Thank you! BTW not complaining here, this is a great lib you're providing here, much appreciated!

@rickfast
Copy link
Owner

No worries. It was my bad. The artifacts have been re-published (correctly). Let me know if there's any other issues.

@norbertpotocki - I will be back at work Thursday, and I will see what I can do about publishing to Central.

@norbertpotocki
Copy link
Author

Thanks @rickfast. I'm using your library as a dependency for my configuration library which is hosted only on Maven Central for now. So all my users need to add both repositories for the dependency to be found. I'm going to publish to JCenter to fix that soon.

I also noticed that some maven users prefer (or have) to stick to the default repo and can't use JCenter artifacts. It would be nice to support them too.

@rickfast
Copy link
Owner

No problem. I did the initial work with Sonatype to get accepted, I just have to set up a user token or something to sync between JCenter and Central. Once I'm back in the office I'll tackle it. Thanks for the patience!

@rickfast
Copy link
Owner

@norbertpotocki I have released 0.9.6-RC1 to Central. Give it a whirl and if everything's good, I'll close this ticket. Enjoy.

<dependency>
  <groupId>com.orbitz.consul</groupId>
  <artifactId>consul-client</artifactId>
  <version>0.9.6-RC1</version>
</dependency>

@norbertpotocki
Copy link
Author

Thanks, works great. Out of curiosity - why RC1 on maven central and GA on jcenter?

@rickfast
Copy link
Owner

RC1 was just a test. I will sync GA today. Thanks!

@rickfast
Copy link
Owner

0.9.6 is now available

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

No branches or pull requests

2 participants