https : // devserver / nexus / content / groups / public 에서 org.apache.maven.plugins : maven-resources-plugin : 2.6을 전송하지 못해 로컬 저장소에 캐시되었으며 nexus의 업데이트 간격까지 해결이 다시 시도되지 않습니다. 경과되었거나 업데이트가 강제됩니다. org.apache.maven.plugins : maven-resources-plugin : 2.6을 nexus ( https : // devserver / nexus / content / groups / public ) 에서 /로 전송할 수 없음 : sun.security.validator.ValidatorException : PXIX 경로 구축 실패 : sun.security.provider.cerpath.SunCertPathBuilderException : 요청 된 대상에 대한 유효한 인증 경로를 찾을 수 없습니다.
nexus-professional-2.14.1-01을 사용합니다.
Settings.xml 파일은
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository />
<interactiveMode />
<usePluginRegistry />
<offline />
<pluginGroups />
<servers />
<mirrors>
<mirror>
<!-- This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>https://dev.server.net/nexus/content/groups/public</url>
</mirror>
</mirrors>
<proxies />
<profiles>
<profile>
<id>nexus</id>
<!-- Enable snapshots for the built in central repo to direct -->
<!-- all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!-- make the profile active all the time -->
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>
Java는 Nexus에서 사용중인 SSL 인증서를 확인할 수 없습니다. 여기를 참조하십시오 : https://support.sonatype.com/hc/en-us/articles/213465088-Maven-is-unable-to-connect-to-Nexus-after-configuring-Nexus-to-use-SSL-
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다