Here’s the table of contents:
- 阿里云maven仓库配置
- 完美解决Maven:sun.security.validator.ValidatorException: PKIX path building failed
- maven安装JAR到本地仓库
阿里云maven仓库配置
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
完美解决Maven:sun.security.validator.ValidatorException: PKIX path building failed
idea中的设置: settings ==> Build,Execution,Deployment ==> Build Tools ==> Maven ==> Runner 中的 VM Options ,将参数填入
# 接忽略掉SSL证书检查,跳过这个验证,或者在 maven 打包命令中加上参数
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
maven安装JAR到本地仓库
mvn install:install-file -Dfile=ZHConverter-1.0.jar -DgroupId=ZHConverter -DartifactId=ZHConverter -Dversion=1.0 -Dpackaging=jar
mvn install:install-file -Dfile=graphframes-0.7.0-spark2.4-s_2.11.jar -DgroupId=graphframes -DartifactId=graphframes -Dversion=0.7.0-spark2.4-s_2.11 -Dpackaging=jar
mvn install:install-file -Dfile=commons-lang3-3.12.0.jar -DgroupId=org.apache.commons -DartifactId=commons-lang3 -Dversion=3.12.0 -Dpackaging=jar
PREVIOUSMySQL字符串截取与常用查询