gpedro / slack-webhook

Slack WebHook Integration for Java
MIT License
182 stars 54 forks source link

Central? #5

Closed chrylis closed 9 years ago

chrylis commented 9 years ago

Any chance of getting this library pushed to Central?

gpedro commented 9 years ago

idk how i can make this

minecrafter commented 9 years ago

:+1:

@gpedro can use the Sonatype OSS repository: http://central.sonatype.org/pages/ossrh-guide.html

gpedro commented 9 years ago

@minecrafter thanks! I'll add there.

gpedro commented 9 years ago

Issue created: OSSRH-13320

chrylis commented 9 years ago

You can see the client I maintain at https://github.com/chrylis/blitline-java-client for an example POM, including the necessary metadata (URL, maintainers, repositories), and the profile at the bottom that handles GPG signatures for pushing to Central.

gpedro commented 9 years ago

@chrylis I would be happy to see a PR for this from you.

chrylis commented 9 years ago

I think I can get that done fairly easily.

gpedro commented 9 years ago

@chrylis great. i'll waiting for your PR

gpedro commented 9 years ago

Pending

OSSRH-13320 (resolved)

borodust commented 9 years ago

Also, I can suggest using bintray. Should be easier to maintan and you can include package into oss repo later, if needed. You can check my fork of your project. If you like the approach, I can arrange a PR of features you like to be merged back into your project.

chrylis commented 9 years ago

Bintray is fine, but it's a non-default repository for Maven and (I think) Grape, so it's a both-and rather than an either-or.

gpedro commented 9 years ago
<dependency>
  <groupId>net.gpedro.integrations.slack</groupId>
  <artifactId>slack-webhook</artifactId>
  <version>1.0.4-SNAPSHOT</version>
</dependency>

yeaaaaaaaaaaaaaaaaaaaaaah!

minecrafter commented 9 years ago

It doesn't appear resolved, search.maven.org doesn't turn up with this library.

chrylis commented 9 years ago

minecrafter's right. Make sure that you closed and then released the staging repository on OSSRH.

gpedro commented 9 years ago

@chrylis @minecrafter try again. look: https://oss.sonatype.org/content/repositories/snapshots/net/gpedro/integrations/slack/slack-webhook/

minecrafter commented 9 years ago

Looks to be good now.

chrylis commented 9 years ago

That's a snapshot, but not a release, and snapshots aren't synced to Central. You'll need to have a non-SNAPSHOT Maven version, then run mvn deploy -DperformRelease, log in to the OSSRH Nexus interface, select your repository, close it, wait a few seconds, then release it.

Robert-Ernst commented 9 years ago

+1 for chrylis

rlemaitre commented 9 years ago

+1 for chrylis too

gpedro commented 9 years ago

i will solve this issue today.

thesmith commented 9 years ago

Can you add my sonatype user 'thesmith' as an authorized deployer so I can help get the release out?

thesmith commented 8 years ago

Ok, it's released now : https://oss.sonatype.org/content/repositories/releases/net/gpedro/integrations/slack/slack-webhook/1.1.1/

For reference, to release the project you need to prepare and perform the release using the 'release-sign-artifacts' profile:

mvn -Prelease-sign-artifacts release:prepare release:perform

Obviously make sure you've set up your sonatype and gpg settings.