Created
February 15, 2012 16:13
-
-
Save derekbrameyer/1836976 to your computer and use it in GitHub Desktop.
Adding a .jar to our internal repo
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
Make sure you've set up your .m2/settings.xml with appropriate creds: | |
mvn deploy:deploy-file -Dfile=path/to/jarfile.jar -DgroupId=com.blah.blah -DartifactId=artifactname -Dversion=x.x.x -Dpackaging=jar -DrepositoryId=wta.internal -Durl=http://maven.willowtreeapps.com/ | |
Try to follow the .jar's package naming convention. For example, I did this for Urban Airship: | |
mvn deploy:deploy-file -Dfile=urbanairship-lib-1.0.7.jar -DgroupId=com.urbanairship.android -DartifactId=urbanairship-lib -Dversion=1.0.7 -Dpackaging=jar -DrepositoryId=wta.internal -Durl=http://maven.willowtreeapps.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment