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

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

                Author: ASF GitHub Bot
            Created on: 21/Mar/20 03:33
            Start Date: 21/Mar/20 03:33
    Worklog Time Spent: 10m 
      Work Description: suztomo commented 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-cloud-api, 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
   ```
 
----------------------------------------------------------------
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]


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

    Worklog Id:     (was: 407365)
    Time Spent: 4h 20m  (was: 4h 10m)

> Where the BeamModulePlugin's force is needed?
> ---------------------------------------------
>
>                 Key: BEAM-9542
>                 URL: https://issues.apache.org/jira/browse/BEAM-9542
>             Project: Beam
>          Issue Type: Task
>          Components: build-system
>            Reporter: Tomo Suzuki
>            Assignee: Tomo Suzuki
>            Priority: Major
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> Followup of https://github.com/apache/beam/pull/11156#discussion_r394408735
> {noformat}
> > Task :sdks:java:core:compileTestJava FAILED
> /Users/suztomo/beam/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/DeduplicateTest.java:21:
>  error: cannot find symbol
> import static org.junit.Assert.assertThrows;
> ^
>   symbol:   static assertThrows
>   location: class
> /Users/suztomo/beam/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/splittabledofn/WatermarkEstimatorsTest.java:21:
>  error: cannot find symbol
> import static org.junit.Assert.assertThrows;
> ^
>   symbol:   static assertThrows
>   location: class
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> <====---------> 36% EXECUTING [19m 37s]
> {noformat}
> Memo for my Mac:
> {noformat}
> suztomo-macbookpro44% ./gradlew -p sdks/java check -x 
> extensions:sql:zetasql:check -x harness:test -x io:jdbc:test  -x 
> io:kafka:test -x io:solr:test -x core:test
> {noformat}



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

Reply via email to