pom错误解决.txt
642 Bytes
1、jsonpath手动导入
pom定义如下:
<!-- https://mvnrepository.com/artifact/pentaho/simple-jndi -->
<dependency>
<groupId>pentaho</groupId>
<artifactId>simple-jndi</artifactId>
<version>1.0.0</version>
</dependency>
pom中repositoy添加如下:
<repository>
<id>pentaho-public</id>
<url>https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/</url>
</repository>
如果无法获取,可能由于被墙了,则手动导入,控制台输入命令如下:
mvn install:install-file -DgroupId=pentaho -DartifactId=simple-jndi -Dversion=1.0.0 -Dpackaging=jar -Dfile=./jar/simple-jndi-1.0.0.jar