opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

jcenter repository no more available. #737

Open victorpablosceruelo opened 2 years ago

victorpablosceruelo commented 2 years ago

Describe the bug When trying to build the provisioning app, it tries to download libraries from jcenter, no more available. For more details, see https://github.com/opendevstack/ods-quickstarters/issues/804

To Reproduce Try to build the OdsBox.

Expected behavior It should not try to download from jcenter.

Screenshots N/A

Affected version (please complete the following information):

Log Output (ensure to remove any confidential information like tokens, project names, etc. build-log.txt build-log.txt

[2022-06-20T01:00:55.694Z]     amazon-ebs: Execution failed for task ':compileJava'.
[2022-06-20T01:00:55.694Z]     amazon-ebs: > Could not resolve all files for configuration ':compileClasspath'.
[2022-06-20T01:00:55.694Z]     amazon-ebs:    > Could not resolve com.atlassian.security:atlassian-cookie-tools:3.2.14.
[2022-06-20T01:00:55.694Z]     amazon-ebs:      Required by:
[2022-06-20T01:00:55.694Z]     amazon-ebs:          project :
[2022-06-20T01:00:55.694Z]     amazon-ebs:       > Could not resolve com.atlassian.security:atlassian-cookie-tools:3.2.14.
[2022-06-20T01:00:55.694Z]     amazon-ebs:          > Could not parse POM https://nexus-ods.ocp.odsbox.lan/repository/atlassian_public/com/atlassian/security/atlassian-cookie-tools/3.2.14/atlassian-cookie-tools-3.2.14.pom
[2022-06-20T01:00:55.954Z]     amazon-ebs:             > Could not resolve com.atlassian.security:atlassian-security:3.2.14.
[2022-06-20T01:00:55.954Z]     amazon-ebs:                > Could not resolve com.atlassian.security:atlassian-security:3.2.14.
[2022-06-20T01:00:55.954Z]     amazon-ebs:                   > Could not parse POM https://nexus-ods.ocp.odsbox.lan/repository/atlassian_public/com/atlassian/security/atlassian-security/3.2.14/atlassian-security-3.2.14.pom
[2022-06-20T01:00:55.954Z]     amazon-ebs:                      > Could not find com.atlassian.platform:platform:3.5.2.
[2022-06-20T01:00:55.954Z]     amazon-ebs:    > Could not find com.atlassian.crowd:crowd-integration-springsecurity:1000.82.0.
[2022-06-20T01:00:55.954Z]     amazon-ebs:      Required by:
[2022-06-20T01:00:55.954Z]     amazon-ebs:          project :
[2022-06-20T01:00:55.954Z]     amazon-ebs:
[2022-06-20T01:00:55.954Z]     amazon-ebs: * Try:
[2022-06-20T01:00:55.954Z]     amazon-ebs: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[2022-06-20T01:00:55.954Z]     amazon-ebs:
[2022-06-20T01:00:55.954Z]     amazon-ebs: * Exception is:
[2022-06-20T01:00:55.954Z]     amazon-ebs: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.

Additional context Add any other context about the problem here.

victorpablosceruelo commented 2 years ago

The jcenter problem affects some atlassian packages we use:

Maven Repository: com.atlassian.security » atlassian-cookie-tools » 3.2.14 (mvnrepository.com) Note: this artifact is located at Atlassian repository (https://packages.atlassian.com/mvn/maven-atlassian-external/)

Maven Repository: com.atlassian.security » atlassian-security » 3.2.14 (mvnrepository.com) Note: this artifact is located at AtlassianPkgs repository (https://packages.atlassian.com/maven-public/)

Maven Repository: com.atlassian.platform » platform » 3.5.24 (mvnrepository.com) Note: this artifact is located at Atlassian repository (https://packages.atlassian.com/mvn/maven-atlassian-external/)

Maven Repository: com.atlassian.crowd » crowd-integration-springsecurity » 1000.82.0 (mvnrepository.com) Note: this artifact is located at Atlassian Public repository (https://maven.atlassian.com/content/repositories/atlassian-public/)

We need to fix all entries to be able to compile again.