Closed Riduidel closed 5 years ago
@Riduidel when you first installed Jenkins X was there no maven-group
created? its all working fine for me here, I wonder what caused the maven group to not include maven central in your installation.
Does your pom.xml
define any <repository>
settings?
@Riduidel I am going to close this issue. In the current version of jx seems to be fixed. Thanks
Summary
Jenkins-X can't build the Spring boot quick-start because it doesn't mirror Maven Central
Steps to reproduce the behavior
On a newly created Jenkins-X environment, run
jx create spring -d web -d actuator
and answer all questions the wizard asksJx version
The output of
jx version
is:Kubernetes cluster
GKE cluster created using command
Operating system / Environment
Running on Windows with CygWin (useless, but I tried to install istio)
Expected behavior
The Jenkins build should succeed
Actual behavior
The Jenkins build fails with the following error message
I guess that, as a default, Nexus doesn't mirror/proxies maven central, which is, as far as as I understand, a bad idea since most Java artifacts are built using OSS dependencies.
So, could it be possible to have Nexus configured to proxy Maven Central as a default ?
In fact, after taking a look, maven central is configured, but the "maven-group" used in maven is not. After I've created the group myself, the build works correctly !