redis-rdb-cli icon indicating copy to clipboard operation
redis-rdb-cli copied to clipboard

Publish to maven central

Open jayvdb opened this issue 11 months ago • 5 comments

I like to run java tools using https://github.com/scijava/jgo , which requires that the package is hosted on a maven repository

jayvdb avatar Mar 23 '24 02:03 jayvdb

Hi This Java library is not suitable for publishing to Maven because it already contains relevant Bash script files. Could you consider using Docker to run it instead?

leonchen83 avatar Mar 25 '24 06:03 leonchen83

I guess you are referring to the scripts at https://github.com/leonchen83/redis-rdb-cli/tree/master/src/main/assembly/bin

I don't need those scripts when I use https://github.com/scijava/jgo , which is much more efficient that using docker as it uses my local maven cache.

jayvdb avatar Mar 25 '24 06:03 jayvdb

If you want to use jgo, you can try packaging and publishing it to GitHub Packages yourself, similar to the example here: https://github.com/billcrook/redis-rdb-cli/packages/481686.

leonchen83 avatar Mar 25 '24 07:03 leonchen83

Well the idea is that the package is distributed as part of each release here in this repo. If you preferred to publish it to GitHub Packages on this repo, that would be wonderful. I can get jgo to use that repository also.

jayvdb avatar Mar 25 '24 07:03 jayvdb

The demand for this is not significant at the moment. If others have a similar issue in the future, I'll upload redis-rdb-cli to the Maven Central Repository then. So currently, you can fork the project and execute mvn clean install to install it to the local ~/.m2 directory.

leonchen83 avatar Mar 26 '24 02:03 leonchen83