如何从源代码构建Jenkins WAR

时间:2019-06-23 14:10:47

标签: java maven jenkins

我正在尝试从GitHub源https://github.com/jenkinsci/jenkins构建Jenkins WAR文件。

当我尝试使用mvn clean install进行构建时,出现以下错误:

[INFO] Scanning for projects...
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/jenkins-ci/jenkins/1.52/jenkins-1.52.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.jenkins-ci.main:jenkins-parent:${revision}${changelist}: Could not transfer artifact org.jenkins-ci:jenkins:pom:1.52 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM @ line 28, column 11

我正在使用Windows 10,Oracle JDK jdk1.8.0_131和apache-maven-3.6.1。

看着错误消息,我觉得我需要生成并安装一些证书,但是我不完全知道该怎么做。有准则吗?

0 个答案:

没有答案