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

Michael Luckey commented on BEAM-7003:
--------------------------------------

Oh no, forgot about that workaround in BeamModulePlugin:

{noformat}
diff --git 
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy 
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 918df02c22..92962b91f2 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -1145,7 +1145,7 @@ class BeamModulePlugin implements Plugin<Project> {
       project.configurations.all { config ->
         // The "errorprone" configuration controls the classpath used by 
errorprone static analysis, which
         // has different dependencies than our project.
-        if (config.getName() != "errorprone") {
+        if (config.getName() != "errorprone" && 
!config.getName().startsWith('variant')) {
           config.resolutionStrategy {
             force project.library.java.values()
           }
{noformat}

That of course implies its not so easy to test as stated :(

> Test KafkaIO against different versions of Kafka
> ------------------------------------------------
>
>                 Key: BEAM-7003
>                 URL: https://issues.apache.org/jira/browse/BEAM-7003
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-kafka
>            Reporter: Ismaël Mejía
>            Priority: Minor
>
> KafkaIO is supposed to support multiple versions of Kafka (> 0.9) but our 
> current test infrastructure only validates this against the version 1.0.0. We 
> should find a mecanism to parametrize KafkaIO tests with different versions 
> of Kafka to ensure that multi-version support works as expected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to