[ 
https://issues.apache.org/jira/browse/PHOENIX-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905748#comment-17905748
 ] 

ASF GitHub Bot commented on PHOENIX-7488:
-----------------------------------------

adoroszlai opened a new pull request, #11:
URL: https://github.com/apache/phoenix-thirdparty/pull/11

   ## What changes were proposed in this pull request?
   
   Remove `repository.apache.org` definition, to let the build use `central` 
repo from super POM.
   
   Please see last item about `repository.apache.org` at 
https://infra.apache.org/infra-ban.html.
   
   https://issues.apache.org/jira/browse/PHOENIX-7488
   
   ## How was this patch tested?
   
   Local build:
   
   ```
   $ mvn -DskipTests clean package
   ...
   [INFO] Reactor Summary for Apache Phoenix Third-Party Libs 2.1.1-SNAPSHOT:
   [INFO] 
   [INFO] Apache Phoenix Third-Party Libs .................... SUCCESS [  0.901 
s]
   [INFO] Apache Phoenix Relocated (Shaded) Guava ............ SUCCESS [  1.380 
s]
   [INFO] Apache Phoenix Patched and Relocated (Shaded) Commons-CLI SUCCESS [  
0.392 s]
   ```




> Use central repo, not repository.apache.org
> -------------------------------------------
>
>                 Key: PHOENIX-7488
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7488
>             Project: Phoenix
>          Issue Type: Bug
>          Components: connectors, omid
>            Reporter: Attila Doroszlai
>            Priority: Major
>              Labels: snapshot-repo
>
> Build tries to download non-Apache artifacts from {{apache release}} repo:
> {code:title=https://github.com/apache/phoenix-connectors/actions/runs/11933840635/job/33461210942#step:4:1507}
> [INFO] Downloading from apache release: 
> https://repository.apache.org/content/repositories/releases/com/google/guava/guava/27.0-jre/guava-27.0-jre.pom
> [INFO] Downloading from central: 
> https://repo.maven.apache.org/maven2/com/google/guava/guava/27.0-jre/guava-27.0-jre.pom
> [INFO] Downloaded from central: 
> https://repo.maven.apache.org/maven2/com/google/guava/guava/27.0-jre/guava-27.0-jre.pom
>  (8.1 kB at 812 kB/s)
> {code}
> bq. Neither repository.apache.org nor people.apache.org are general purpose 
> Maven repositories, and should only be used for the testing of pre-production 
> ASF code artifacts. Maven Central is the correct public java artifact 
> repository service. ([source|https://infra.apache.org/infra-ban.html])
> (Will post PR for this.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to