[
https://issues.apache.org/jira/browse/BEAM-12510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528319#comment-17528319
]
Beam JIRA Bot commented on BEAM-12510:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> POM files with direct reference to maven repositories
> -----------------------------------------------------
>
> Key: BEAM-12510
> URL: https://issues.apache.org/jira/browse/BEAM-12510
> Project: Beam
> Issue Type: Bug
> Components: build-system, dependencies, io-java-kafka
> Affects Versions: 2.30.0
> Reporter: Abel Matos
> Priority: P2
> Labels: stale-P2
> Attachments: image-2021-06-18-14-36-36-437.png,
> image-2021-06-18-14-36-45-842.png, image-2021-06-18-14-55-41-740.png
>
>
> Issue:
> I'm working on a company that only allow private maven repositories ( like
> nexus internal proxies ) .
> I'm starting to see a public repository been called on my builds
> {code:java}
> [ERROR] Failed to execute goal on project pipeline-app: Could not resolve
> dependencies for project
> com.equifax.dfds.platform:pipeline-app:jar:20210618.2.ae73898: Failed to
> collect dependencies at
> org.apache.beam:beam-runners-google-cloud-dataflow-java:jar:2.30.0 ->
> org.apache.beam:beam-sdks-java-io-kafka:jar:2.30.0 ->
> io.confluent:kafka-avro-serializer:jar:5.3.2: Failed to read artifact
> descriptor for io.confluent:kafka-avro-serializer:jar:5.3.2: Could not
> transfer artifact io.confluent:kafka-avro-serializer:pom:5.3.2 from/to
> io.confluent (https://packages.confluent.io/maven/): Connection reset ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project pipeline-app: Could not resolve dependencies for project
> com.equifax.dfds.platform:pipeline-app:jar:20210618.2.ae73898: Failed to
> collect dependencies at
> org.apache.beam:beam-runners-google-cloud-dataflow-java:jar:2.30.0 ->
> org.apache.beam:beam-sdks-java-io-kafka:jar:2.30.0 ->
> io.confluent:kafka-avro-serializer:jar:5.3.2
> {code}
> !image-2021-06-18-14-36-36-437.png!
> !image-2021-06-18-14-36-45-842.png!
> Has part of the ticket, a repository has been added directly to the generated
> pom.
> This repository should be configured by users that want to compile the
> code... not pre-configured/ forced on the pom file.
> https://issues.apache.org/jira/browse/BEAM-9292
> Now exit this element on the pom
> {code:java}
> <repositories>
> <repository>
> <id>io.confluent</id>
> <url>https://packages.confluent.io/maven/</url>
> </repository>
> </repositories>{code}
> [https://repo1.maven.org/maven2/org/apache/beam/beam-sdks-java-io-kafka/2.30.0/beam-sdks-java-io-kafka-2.30.0.pom]
> VS
>
> [https://repo1.maven.org/maven2/org/apache/beam/beam-sdks-java-io-kafka/2.19.0/beam-sdks-java-io-kafka-2.19.0.pom]
>
> dependencies added here
> !image-2021-06-18-14-55-41-740.png!
> https://github.com/apache/beam/commit/f2cc92663ad8ae685183e076cdb652d8fc3ba4e0
--
This message was sent by Atlassian Jira
(v8.20.7#820007)