Я не могу получить оверлейную сборку с зависимостью jdbc - PullRequest
0 голосов
/ 12 июля 2019

После успешной сборки оверлея cas для v5.3.9 со статической аутентификацией, после добавления зависимости для jdbc сборка завершается неудачей.

Единственное отличие от базовой сборки - добавление зависимости в pom.xml (согласно документации):

<dependency>
    <groupId>org.apereo.cas</groupId>
    <artifactId>cas-server-support-jdbc</artifactId>
    <version>${cas.version}</version>
</dependency>

В документации нет указаний на то, что для доступа к содержимому репозитория мне потребуется какая-либо авторизация

Результаты сборки Maven выглядят следующим образом:

/NetBeansProjects/cas-overlay-template-5.3; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home M2_HOME=/opt/apache-maven-3.6.1 /opt/apache-maven-3.6.1/bin/mvn clean install
Scanning for projects...

---------------------< org.apereo.cas:cas-overlay >---------------------
Building cas-overlay 1.0
--------------------------------[ war ]---------------------------------
Downloading from shibboleth-releases: https://build.shibboleth.net/nexus/content/repositories/releases/net/shibboleth/tool/xmlsectool/2.0.0/xmlsectool-2.0.0.pom
Downloading from shib-release: https://build.shibboleth.net/nexus/content/repositories/releases/net/shibboleth/tool/xmlsectool/2.0.0/xmlsectool-2.0.0.pom
Downloading from shib-release: https://build.shibboleth.net/nexus/content/repositories/releases/com/nimbusds/lang-tag/maven-metadata.xml
Downloading from shibboleth-releases: https://build.shibboleth.net/nexus/content/repositories/releases/com/nimbusds/lang-tag/maven-metadata.xml
Could not transfer metadata com.nimbusds:lang-tag/maven-metadata.xml from/to shibboleth-releases (https://build.shibboleth.net/nexus/content/repositories/releases): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not transfer metadata com.nimbusds:lang-tag/maven-metadata.xml from/to shib-release (https://build.shibboleth.net/nexus/content/repositories/releases): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Failed to execute goal on project cas-overlay: Could not resolve dependencies for project org.apereo.cas:cas-overlay:war:1.0: Failed to collect dependencies at org.apereo.cas:cas-server-support-jdbc:jar:5.3.9 -> org.apereo.cas:cas-server-core-authentication-api:jar:5.3.9 -> org.apereo.cas:cas-server-core-api-events:jar:5.3.9 -> org.apereo.cas:cas-server-core-util-api:jar:5.3.9 -> org.pac4j:pac4j-saml:jar:3.6.1 -> net.shibboleth.tool:xmlsectool:jar:2.0.0: Failed to read artifact descriptor for net.shibboleth.tool:xmlsectool:jar:2.0.0: Could not transfer artifact net.shibboleth.tool:xmlsectool:pom:2.0.0 from/to shibboleth-releases (https://build.shibboleth.net/nexus/content/repositories/releases): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
...