有时需要下载所需的jar包添加到maven本地仓库,命令如下:
mvn install:install-file -Dfile=*.jar -DgroupId=*.*.* -DartifactId=* -Dversion=*.*.* -Dpackaging=jar
在pom.xml中添加:
<dependency>
<groupId>*.*.*</groupId>
<artifactId>*</artifactId>
<version>*.*.*</version>
</dependency>
end.