[
https://issues.apache.org/jira/browse/PHOENIX-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905745#comment-17905745
]
ASF GitHub Bot commented on PHOENIX-7488:
-----------------------------------------
adoroszlai opened a new pull request, #149:
URL: https://github.com/apache/phoenix-connectors/pull/149
## What changes were proposed in this pull request?
[Build](https://github.com/apache/phoenix-connectors/actions/runs/11933840635/job/33461210942#step:4:1507)
tries to download non-Apache artifacts from `apache release` repo:
```
[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)
```
This change removes `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 (with some retries while I found out correct Java version and
how to skip Scala tests):
```
$ mvn -DskipTests -Dskip.scalatest clean package
...
[INFO] Reactor Summary for Apache Phoenix Connectors 6.0.0-SNAPSHOT:
[INFO]
[INFO] Apache Phoenix Connectors .......................... SUCCESS [ 1.639
s]
[INFO] Phoenix Hive 3 Connector for Phoenix 5 ............. SUCCESS [ 4.806
s]
[INFO] Shaded Phoenix Hive 3 Connector for Phoenix 5 ...... SUCCESS [02:15
min]
[INFO] Phoenix Hive 4 Connector for Phoenix 5 ............. SUCCESS [ 3.213
s]
[INFO] Shaded Phoenix Hive 4 Connector for Phoenix 5 ...... SUCCESS [02:15
min]
[INFO] Phoenix Spark 2 Connector for Phoenix 5 ............ SUCCESS [ 16.846
s]
[INFO] Shaded Phoenix Spark 2 Connector for Phoenix 5 ..... SUCCESS [02:11
min]
[INFO] Phoenix Spark 3 Connector for Phoenix 5 ............ SUCCESS [ 55.221
s]
[INFO] Shaded Phoenix Spark 3 Connector for Phoenix 5 ..... SUCCESS [02:15
min]
[INFO] Phoenix 5 Connectors Distribution Assembly ......... SUCCESS [ 7.039
s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
```
> 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)