下载jar包
下载地址:https://mvnrepository.com
搜索框搜xmlsectool
一步一步点击如下网站
https://build.shibboleth.net/maven/releases/net/shibboleth/tool/xmlsectool/2.0.0/
找到如下jar
安装jar包
步骤1.修改maven的setting.xml文件
<mirror>
<id>shibboleth</id>
<name>shibboleth maven</name>
<mirrorOf>*</mirrorOf>
<url>https://build.shibboleth.net/nexus/content/repositories/releases/</url>
</mirror>
步骤2.运行脚本安装jar包
在windows的cmd窗口,运行如下命令:
mvn install:install-file -Dfile=D:\xmlsectool-2.0.0.jar -DgroupId=net.shibboleth.tool -DartifactId=xmlsectool -Dversion=2.0.0 -Dpackaging=jar