Last active
December 31, 2022 15:07
-
-
Save jitpack-io/f928a858aa5da08ad9d9662f982da983 to your computer and use it in GitHub Desktop.
Publish an existing jar file to jitpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install: | |
- FILE="-Dfile=jars/my-library.jar" | |
- mvn install:install-file $FILE -DgroupId=com.github.user -DartifactId=repo -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true |
@kekru the groupId and artifactId will be overwritten by JitPack at the time of build. If you put another username then the groupId will still be 'com.github.YourUsername'
@jitpack-io I published an aar by following that example. but after I used the dependency url and I can't reach the classes that exist on the aar file. it doesn't even available in library folder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Isn't there any kind of authentication required?
Can everyone upload artifacts named with every github username?
This would be a huge security issue