CC007 / HeadsPluginAPI

The documentation and wiki for the HeadsPluginAPI plugin
MIT License
5 stars 0 forks source link

Cant add maven dependency. Please Help! #16

Closed Placeblock closed 2 years ago

Placeblock commented 3 years ago

Hello CC007, i have a small problem with your plugin... when i try to add maven dependecy, this error shows up:

Could not transfer artifact com.github.CC007.headsplugin-build:headsplugin-api:pom:2.0.10 from/to jitpack.io (https://jitpack.io): Authentication failed for https://jitpack.io/com/github/CC007/headsplugin-build/headsplugin-api/2.0.10/headsplugin-api-2.0.10.pom 401 Unauthorized

do you have a solution for that

i would like to use that api

CC007 commented 3 years ago

Hmm yes, good point. I'll move that module to this repo whenever I got time.

CC007 commented 3 years ago

You could try version 2.1.0-SNAPSHOT (from the develop branch). If it doesn't work with JitPack, you can check out HeadsPluginAPI yourself and build it locally. That way you will have the jar in your .m2 folder so you can use it.

CC007 commented 3 years ago

Please tell me if this works or if I need to change anything to make it work.

Placeblock commented 3 years ago

Sorry, but since i had this error i have worked on many other projects, and i cant test it at the moment. But if i have time i will test it...

Keep up the great work! :)

CC007 commented 2 years ago

The packages for 2.1.0 and 3.0.0 are now available as a package on github: https://github.com/CC007/HeadsPluginAPI/packages/1160225?version=3.0.0

See this documentation for how to setup github as a repository: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry