我无法获得具有jdbc依赖性的cas覆盖构建

时间:2019-07-11 23:25:12

标签: jdbc build overlay cas

在通过静态身份验证成功为v5.3.9构建cas覆盖后,为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]

0 个答案:

没有答案