進入jar包路徑,執行下面語会在仓库生成,然后pom中引用路径 mvn install:install-file -Dfile=bcprov-jdk15on-1.54.jar -DgroupId=org.bouncycastle -DartifactId=bcprov-jdk15on -Dversion=1.54 -Dpackaging=jar