Closed dhamo-pk closed 2 years ago
@dhamo-pk can you please replace your setting.xml with this one and check if it works
@prashanth-sams thank you, this trick didn't help.
[INFO] Scanning for projects...
Downloading from central: http://repository.emirates.com/repository/maven-all/org/springframework/boot/spring-boot-starter-parent/2.6.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-parent:2.6.0-SNAPSHOT/maven-metadata.xml from/to central (http://repository.emirates.com/repository/maven-all/): transfer failed for http://repository.emirates.com/repository/maven-all/org/springframework/boot/spring-boot-starter-parent/2.6.0-SNAPSHOT/maven-metadata.xml
Downloading from central: http://repository.emirates.com/repository/maven-all/org/springframework/boot/spring-boot-starter-parent/2.6.0-SNAPSHOT/spring-boot-starter-parent-2.6.0-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.wmock:spring-boot-wiremock-boilerplate:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.6.0-SNAPSHOT from/to central (http://repository.emirates.com/repository/maven-all/): transfer failed for http://repository.emirates.com/repository/maven-all/org/springframework/boot/spring-boot-starter-parent/2.6.0-SNAPSHOT/spring-boot-starter-parent-2.6.0-SNAPSHOT.pom and 'parent.relativePath' points at no local POM @ line 7, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.wmock:spring-boot-wiremock-boilerplate:0.0.1-SNAPSHOT (C:\Repositories\Experiments\spring-wiremock-boilerplate\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.wmock:spring-boot-wiremock-boilerplate:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.6.0-SNAPSHOT from/to central (http://repository.emirates.com/repository/maven-all/): transfer failed for http://repository.emirates.com/repository/maven-all/org/springframework/boot/spring-boot-starter-parent/2.6.0-SNAPSHOT/spring-boot-starter-parent-2.6.0-SNAPSHOT.pom and 'parent.relativePath' points at no local POM @ line 7, column 10: Unknown host repository.emirates.com -> [Help 2]
Can we downgrade one version to avoid snapshot versions not being downloadable?
As the snapshot versions are not available in maven central, local execution, and also in CI flow - it is failing.
Stacktrace: