Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-26264. Disable releases for apache-snapshots repo #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adoroszlai
Copy link
Contributor

@adoroszlai adoroszlai commented Dec 14, 2024

What changes were proposed in this pull request?

Problem: build tries to download release artifacts from apache-snapshots repo, and non-Apache artifacts from apache-releases repo.

[INFO] Downloading from apache-releases: https://repository.apache.org/content/repositories/releases/com/google/guava/guava/28.0-jre/guava-28.0-jre.pom
[INFO] Downloading from apache-snapshots: https://repository.apache.org/content/repositories/snapshots/com/google/guava/guava/28.0-jre/guava-28.0-jre.pom
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/guava/guava/28.0-jre/guava-28.0-jre.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/guava/guava/28.0-jre/guava-28.0-jre.pom (8.7 kB at 513 kB/s)

Fix:

  • disable release artifacts in apache-snapshots
  • remove apache-releases repo, use central (inherited) instead

https://issues.apache.org/jira/browse/AMBARI-26264

How was this patch tested?

$ mvn -N --batch-mode eu.maveniverse.maven.plugins:toolbox:list-repositories
...
[INFO] --- toolbox:0.6.0:list-repositories (default-cli) @ ambari-metrics ---
[INFO] Remote repositories used by project org.apache.ambari:ambari-metrics:pom:3.1.0-SNAPSHOT.
[INFO]  * central (https://repo.maven.apache.org/maven2/, default, releases)
[INFO]    First introduced on root
[INFO]  * apache-snapshots (https://repository.apache.org/content/repositories/snapshots, default, snapshots)
[INFO]    First introduced on root

Local build.

@adoroszlai adoroszlai changed the title AMBARI-26264. Disable releases for apache-napshots repo AMBARI-26264. Disable releases for apache-snapshots repo Dec 14, 2024
@adoroszlai
Copy link
Contributor Author

@JiaLiangC @arshadmohammad please review

Failing tests are due to AMBARI-26142, as mentioned in #134 (comment)

@adoroszlai
Copy link
Contributor Author

@JiaLiangC @arshadmohammad can you please help review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant