Re: Transitive dependency from external repository

2020-02-11 Thread Alexey Romanenko
Thanks all for suggestions! For now, I just added another option to “JavaNatureConfiguration” and some logic into “pom.withXml" function. I created a PR about that: https://github.com/apache/beam/pull/10832 > On 7 Feb 2020, at 01:06, Luke Cwik wrote

Re: Transitive dependency from external repository

2020-02-06 Thread Luke Cwik
It could do that as well. On Thu, Feb 6, 2020 at 11:25 AM Kenneth Knowles wrote: > That XML-generating code should be able to traverse project.repositories > and add them on a per-module basis, no? > > On Thu, Feb 6, 2020 at 9:47 AM Luke Cwik wrote: > >> We generate the pom using Gradle here[1]

Re: Transitive dependency from external repository

2020-02-06 Thread Kenneth Knowles
That XML-generating code should be able to traverse project.repositories and add them on a per-module basis, no? On Thu, Feb 6, 2020 at 9:47 AM Luke Cwik wrote: > We generate the pom using Gradle here[1]. > > The issue is that it applies to all beam modules and what you are asking > for isn't cu

Re: Transitive dependency from external repository

2020-02-06 Thread Luke Cwik
We generate the pom using Gradle here[1]. The issue is that it applies to all beam modules and what you are asking for isn't currently plumbed through. You could try adding an option to the JavaNatureConfiguration[2] and then specify the additional repository in your module. 1: https://github.com

Re: Transitive dependency from external repository

2020-02-06 Thread Jean-Baptiste Onofre
Like this: repositories { jcenter() maven { url "https://plugins.gradle.org/m2/"; } maven { url "https://repo.spring.io/plugins-release/"; content { includeGroup "io.spring.gradle" } } maven { url "foo" } } > Le 6 févr. 2020 à 18:37, Jean-Baptiste Onofre a écrit : > > Great, t

Re: Transitive dependency from external repository

2020-02-06 Thread Jean-Baptiste Onofre
Great, thanks ! Back on your question, I guess we can add the repository in buildSrc/build.gradle (repositories property). Regards JB > Le 6 févr. 2020 à 18:33, Alexey Romanenko a écrit : > > Yes, it's Apache License 2.0 > > https://packages.confluent.io/maven/io/confluent/kafka-avro-seriali

Re: Transitive dependency from external repository

2020-02-06 Thread Alexey Romanenko
Yes, it's Apache License 2.0 https://packages.confluent.io/maven/io/confluent/kafka-avro-serializer/5.4.0/kafka-avro-serializer-5.4.0.pom > On 6 Feb 2020, at 18:12, Jean-Baptiste Onofr

Re: Transitive dependency from external repository

2020-02-06 Thread Jean-Baptiste Onofre
Hi, Just a side note: did you check the license of the dependency (just to be sure it’s not a Cat X dependency) ? Regards JB > Le 6 févr. 2020 à 18:06, Alexey Romanenko a écrit : > > Hi, > > To add support of Confluent Registry Schema in KafkaIO we added new > dependency on “io.confluent:ka

Transitive dependency from external repository

2020-02-06 Thread Alexey Romanenko
Hi, To add support of Confluent Registry Schema in KafkaIO we added new dependency on “io.confluent:kafka-avro-serializer”. The artifacts of this dependency exist in external repository [1]. So, it should not be a problem to add this repository into the list of available repositories of Beam bu