debop / hibernate-redis

hibernate 2nd level cache privder using redis
Apache License 2.0
357 stars 184 forks source link

Release it on central #39

Closed kreyssel closed 7 years ago

kreyssel commented 9 years ago

Hi,

do you think you are able to release your project on maven central or bintray? Would be great! :)

It's a great project!

Thanks Conny

johnou commented 8 years ago

@kreyssel I have forked this project with bostanio and it has been deployed to central maven. See https://github.com/hibernate-redis/hibernate-redis

debop commented 8 years ago

Thanks @johnou please join this project please.

debop commented 8 years ago

@kreyssel Release to jcenter (http://jcenter.bintray.com) please use jcenter

johnou commented 8 years ago

@debop when I get back from holiday I will take care of getting this library into Maven central.

debop commented 8 years ago

@johnou Thank you ^^

johnou commented 8 years ago

@debop unfortunately the gradle shadow plugin does not support sources jar out of the box see https://github.com/johnrengelman/shadow/issues/112 and https://github.com/johnrengelman/shadow/issues/41 , if I cannot get it working would you be against reverting back to Maven..?

johnou commented 8 years ago

The other option is to drop the shaded jar and ship individual artifacts.

debop commented 8 years ago

@johnou I know that problem ... so, try maven also (it need publish parent pom also)

I will rollback to Maven ... but, help me to publish jcenter or maven central directly in maven pom^^

johnou commented 8 years ago

@debop sure, just let me know when you have rolled back.

johnou commented 8 years ago

@debop never mind about rolling back, I am confident I can get it to work with gradle afterall.

johnou commented 7 years ago

@debop after further consideration and testing with gradle I think our options are..

1) roll back to Maven (allowing us to have a shaded uber jar) 2) stick with gradle but ship individual jars (with no uber jar) eg. we would have multiple artifacts hibernate-redis-hibernate4, hibernate-redis-hibernate5, hibernate-redis-hibernate52

let me know what direction you would like to go.

debop commented 7 years ago

I want to release merged one jar (hibernate-redis) If use maven, build merged one jar and one sources jar, but release hibernate-redis-parent.pom also.

or separate hibernate-exampes (or exclude in maven)

I think this is best

  1. use maven for merged jar
  2. exclude hibernate-examples (individual maven pom.xml)

next step, add some instruction to maven pom for distribution

johnou commented 7 years ago

@debop sounds good. I will continue on this soon with your suggestion.

johnou commented 7 years ago

@debop I made a few changes to the poms and ran the release plugin mojo, here is the staging url https://oss.sonatype.org/content/repositories/comgithubdebop-1002/ let me know if this looks good or not, if yes I will proceed with release to central Maven.

johnou commented 7 years ago

hibernate-redis

johnou commented 7 years ago

~/.m2/settings.xml

...
    <server>
      <id>ossrh</id>
      <username>xxx</username>
      <password>xxx</password>
    </server>
...

CLI

mvn -Darguments="-Dgpg.passphrase=xxx" release:clean release:prepare release:perform -P release
debop commented 7 years ago

It seems good! Thanks

johnou commented 7 years ago

Published to central Maven.