[ 
https://issues.apache.org/jira/browse/BEAM-9292?focusedWorklogId=387214&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-387214
 ]

ASF GitHub Bot logged work on BEAM-9292:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Feb/20 08:34
            Start Date: 14/Feb/20 08:34
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on issue #10832: [BEAM-9292] Provide 
an ability to specify additional maven repositories for published POMs
URL: https://github.com/apache/beam/pull/10832#issuecomment-586153455
 
 
   I confirm that the issue that was present in the daily snapshots is now 
fixed after this merge. :clap: @aromanenko-dev !
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 387214)
    Time Spent: 1h 50m  (was: 1h 40m)

> Provide an ability to specify additional maven repositories for published POMs
> ------------------------------------------------------------------------------
>
>                 Key: BEAM-9292
>                 URL: https://issues.apache.org/jira/browse/BEAM-9292
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system, io-java-kafka
>            Reporter: Alexey Romanenko
>            Assignee: Alexey Romanenko
>            Priority: Major
>             Fix For: 2.20.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> To support Confluent Schema Registry, KafkaIO has a dependency on 
> {{io.confluent:kafka-avro-serializer}} from 
> https://packages.confluent.io/maven/ repository. In this case, it should add 
> this repository into published KafkaIO POM file. Otherwise, it will fail with 
> the following error during building a user pipeline:
> {code}
> [ERROR] Failed to execute goal on project kafka-io: Could not resolve 
> dependencies for project org.apache.beam.issues:kafka-io:jar:1.0.0-SNAPSHOT: 
> Could not find artifact io.confluent:kafka-avro-serializer:jar:5.3.2 in 
> central (https://repo.maven.apache.org/maven2) -> [Help 1]
> {code}
> The repositories for publishing can be added by {{mavenRepositories}} 
> argument in build script for Java configuration. 
> For example (KafkaIO:
> {code}
> $ cat sdks/java/io/kafka/build.gradle 
> ...
> applyJavaNature(
>   ...
>   mavenRepositories: [
>     [id: 'io.confluent', url: 'https://packages.confluent.io/maven/']
>   ]
> )
> ...
> {code}
> It will generate the following xml code snippet in pom file of 
> {{beam-sdks-java-io-kafka}} artifact after publishing:
> {code}
>   <repositories>
>     <repository>
>       <id>io.confluent</id>
>       <url>https://packages.confluent.io/maven/</url>
>     </repository>
>   </repositories>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to