mvn deploy:deploy-file -Durl=http://repo.my.com/repositories/snapshots \
-DrepositoryId=deployment \
-DgroupId=com.chs \
-DartifactId=chs-api \
-Dversion=1.0-SNAPSHOT \
-DgeneratePom=true \
-Dfile=/Users/chs/develop/study/chs/chs-api/target/chs-api-1.0-SNAPSHOT.jar
-DrepositoryId=deployment \
-DgroupId=com.chs \
-DartifactId=chs-api \
-Dversion=1.0-SNAPSHOT \
-DgeneratePom=true \
-Dfile=/Users/chs/develop/study/chs/chs-api/target/chs-api-1.0-SNAPSHOT.jar
origin wiki: http://blog.163.com/wf_shunqiziran/blog/static/176307209201221115158641/
http://maven.apache.org/plugins/maven-deploy-plugin/usage.html