#!/bin/bash #mvn install:install-file -DgroupId=org.wltea.analyzer -DartifactId=IKanalyzer -Dversion=3.2.8 -Dpackaging=jar -Dfile=./IKAnalyzer-3.2.8.jar #mvn install:install-file -DgroupId=com.octo.images.captcha -DartifactId=jcaptcha -Dversion=1.0 -Dpackaging=jar -Dfile=./jcaptcha-1.0.jar #mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate -Dversion=3.6.10 -Dpackaging=jar -Dfile=./hibernate-3.6.10.jar #mvn install:install-file -DgroupId=com.alipay -DartifactId=alipay-sdk-201712 -Dversion=201712 -Dpackaging=jar -Dfile=./alipay-sdk-201712-201712.jar echo '[INFO] Please make sure "mvn" installed in your PATH.' echo '[INFO] Installing IKAnalyzer...' mvn org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file \ -Dfile=./IKAnalyzer-3.2.8.jar \ -DgroupId=org.wltea.analyzer \ -DartifactId=IKanalyzer \ -Dversion=3.2.8 \ -Dpackaging=jar \ -DgeneratePom=true \ -DlocalRepositoryPath=. echo '[INFO] Installing jcaptcha...' mvn org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file \ -Dfile=./jcaptcha-1.0.jar \ -DgroupId=com.octo.images.captcha \ -DartifactId=jcaptcha \ -Dversion=1.0 \ -Dpackaging=jar \ -DgeneratePom=true \ -DlocalRepositoryPath=. echo '[INFO] Installing Hibernate...' mvn org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file \ -Dfile=./hibernate-3.6.10.jar \ -DgroupId=org.hibernate \ -DartifactId=hibernate \ -Dversion=3.6.10 \ -Dpackaging=jar \ -DgeneratePom=true \ -DlocalRepositoryPath=. echo '[INFO] Installing Alipay SDK...' mvn org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file \ -Dfile=./alipay-sdk-201712-201712.jar \ -DgroupId=com.alipay \ -DartifactId=alipay-sdk-201712 \ -Dversion=201712 \ -Dpackaging=jar \ -DgeneratePom=true \ -DlocalRepositoryPath=.