adoroszlai opened a new pull request, #138:
URL: https://github.com/apache/ambari-metrics/pull/138

   ## 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to