suztomo edited a comment on issue #11168: [BEAM-9542] Limit and clarify the effect of "force" in Java build URL: https://github.com/apache/beam/pull/11168#issuecomment-601987472 Because the effect of `force` is only for tests. The compileJava configuration still fetches the latest google-api-client, which is 1.30.8, which has a bug of android annotation dependency. ``` 17:21:41 Execution failed for task ':sdks:java:testing:test-utils:compileJava'. 17:21:41 > Could not resolve all files for configuration ':sdks:java:testing:test-utils:compileClasspath'. 17:21:41 > Could not find androidx.annotation:annotation:1.1.0. 17:21:41 Searched in the following locations: 17:21:41 - file:/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_PR/src/sdks/java/testing/test-utils/offline-repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - file:/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Java_PR/src/sdks/java/testing/test-utils/offline-repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 - https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 - file:/home/jenkins/.m2/repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - file:/home/jenkins/.m2/repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 - https://jcenter.bintray.com/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - https://jcenter.bintray.com/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 - https://oss.sonatype.org/content/repositories/staging/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - https://oss.sonatype.org/content/repositories/staging/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 - https://repository.apache.org/snapshots/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - https://repository.apache.org/snapshots/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 - https://repository.apache.org/content/repositories/releases/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom 17:21:41 - https://repository.apache.org/content/repositories/releases/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar 17:21:41 Required by: 17:21:41 project :sdks:java:testing:test-utils > project :sdks:java:extensions:google-cloud-platform-core > com.google.api-client:google-api-client:1.30.8 ``` Maybe I'll need to upgrade google-api-client to the latest version that has the fix.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
