为什么我在Maven项目中突然从Sourceforge收到错误?

时间:2017-09-27 13:55:05

标签: maven sourceforge

我突然开始在我的Maven项目中遇到类似于下面显示的错误。我甚至在我的项目的旧版本中得到这些错误,这些版本过去常常构建错误。为什么这些错误现在突然发生?我将来应该期待更多这样的错误吗?在我接触这些错误之前,有没有可以找到导致这些错误的变化的地方?我目前正在运行Java 1.7(更新到1.8不是一个选项)。

[ERROR] Failed to execute goal on project myprojcore: Could not resolve dependencies for project myorg-myproj:myprojcore:jar:4.6.0-SNAPSHOT: 
        Failed to collect dependencies for [myorg-myproj:myprojrestclient:jar:4.6.0-SNAPSHOT (compile), 
        myorg-myproj:myprojgfclient:jar:4.6.0-SNAPSHOT (compile), myorg-myproj:myprojjbossclient:jar:4.6.0-SNAPSHOT 
        (compile), myorg-myproj:myorgserver:jar:4.6.0-SNAPSHOT (compile), myorg-myproj:common:jar:4.6.0-SNAPSHOT 
        (compile), myorg-myproj:myorgmessage:jar:4.6.0-SNAPSHOT (compile), myorg-myproj:dag:jar:4.6.0-SNAPSHOT (compile), 
        myorg-myproj:graph:jar:4.6.0-SNAPSHOT (compile), myorg-myproj:fhirdata:jar:4.6.0-SNAPSHOT (compile), 
        xalan:xalan:jar:2.7.1 (compile), myorg-myproj:ojdbc6:jar:4.1 (system), com.microsoft.sqlserver.sqljdbc:sqljdbc4:jar:4.0 
        (compile), mysql:mysql-connector-java:jar:5.1.24 (runtime), xpp3:xpp3:jar:1.1.4c (compile), junit:junit:jar:4.7 (test)]: 
        Failed to read artifact descriptor for com.microsoft.sqlserver.sqljdbc:sqljdbc4:jar:4.0: 
        Could not transfer artifact com.microsoft.sqlserver.sqljdbc:sqljdbc4:pom:4.0 from/to myorg-myproj.repo 
        (https://myorg-myproj.svn.sourceforge.net/svnroot/myorg-myproj/repos/repo): com.ibm.jsse2.util.j: 
        PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; 
        internal cause is:
[ERROR] java.security.cert.CertPathValidatorException: The certificate issued by CN=DST Root CA X3, 
        O=Digital Signature Trust Co. is not trusted; internal cause is:
[ERROR] java.security.cert.CertPathValidatorException: Certificate chaining error
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]

1 个答案:

答案 0 :(得分:2)

这不是SSH错误。 Maven正在尝试访问https://myorg-myproj.svn.sourceforge.net/,并且在验证该网页的证书时收到错误。

据twitter介绍,Sourceforge现在遇到了问题:

https://twitter.com/sfnet_ops/status/913044025791467520

SourceForge正在遇到连接问题。我们正在与我们的上游提供商合作。

- SF.net Operations(@sfnet_ops)September 27, 2017