Maven notes: Publish the jar package collected by yourself

 

Purpose

Upload the collected jar package to the maven repository for archiving for subsequent use.

 

 

method

Assuming that you now have a sorted jar package (e:/memcached.jar), you can quickly publish it to your maven server through the following command line.

mvn install:install-file -Dfile=e:/memcached.jar -DgroupId=com.danga -DartifactId=memcached -Dversion=1.5 -Dpackaging=jar -DgeneratePom=true

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326680893&siteId=291194637