How to Push External Jar Into Artifactory Using Maven
This code assumes that you already have artifactory setup. And your local settings.xml allows you to push external jars into it. To do that ...
https://www.czetsuyatech.com/2012/07/maven-push-external-jar-to-artifactory.html
This code assumes that you already have artifactory setup. And your local settings.xml allows you to push external jars into it. To do that you only need to setup your artifactory's username and password.
Here is the code, it uploads the file javapns_2.2.jar into my artifactory. FYI javapns is an artifact use for apple push notification :-):
Here is the code, it uploads the file javapns_2.2.jar into my artifactory. FYI javapns is an artifact use for apple push notification :-):
mvn install:install-file -DgroupId=com.googlecode.javapns -DartifactId=javapns-jdk16 -Dversion=2.2 -Dfile=JavaPNS_2.2.jar -Dpackaging=jar -DgeneratePom=true
Post a Comment