Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to maven central #66

Closed
jayvdb opened this issue Mar 23, 2024 · 5 comments
Closed

Publish to maven central #66

jayvdb opened this issue Mar 23, 2024 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@jayvdb
Copy link

jayvdb commented Mar 23, 2024

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

@leonchen83
Copy link
Owner

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 leonchen83 self-assigned this Mar 25, 2024
@leonchen83 leonchen83 added the question Further information is requested label Mar 25, 2024
@jayvdb
Copy link
Author

jayvdb commented Mar 25, 2024

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.

@leonchen83
Copy link
Owner

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.

@jayvdb
Copy link
Author

jayvdb commented Mar 25, 2024

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.

@leonchen83
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants