Closed kreyssel closed 7 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
Thanks @johnou please join this project please.
@kreyssel Release to jcenter (http://jcenter.bintray.com) please use jcenter
@debop when I get back from holiday I will take care of getting this library into Maven central.
@johnou Thank you ^^
@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..?
The other option is to drop the shaded jar and ship individual artifacts.
@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^^
@debop sure, just let me know when you have rolled back.
@debop never mind about rolling back, I am confident I can get it to work with gradle afterall.
@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.
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
next step, add some instruction to maven pom for distribution
@debop sounds good. I will continue on this soon with your suggestion.
@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.
~/.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
It seems good! Thanks
Published to central Maven.
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