I run into this problem today and found that removing https://oss.sonatype.org/content/repositories/staging/ from buildSrc/src/main/groovy/org/apache/beam/gradle/Repositories.groovy also resolves the issue.
Is it possible that a flaky repository can poison the gradle cache? Do we need this repository entry at all? On Tue, Mar 3, 2020 at 7:06 AM Pulasthi Supun Wickramasinghe < pulasthi...@gmail.com> wrote: > Thanks, that seems to have fixed the issue. > > Best Regards, > Pulasthi > > On Tue, Mar 3, 2020 at 5:47 AM Kamil Wasilewski < > kamil.wasilew...@polidea.com> wrote: > >> I had the same problem, it seems that removing Gradle's cache (`rm -rf >> ~/.gradle/caches`) solved the issue. >> >> On Tue, Feb 25, 2020 at 4:33 PM Pulasthi Supun Wickramasinghe < >> pulasthi...@gmail.com> wrote: >> >>> Hi Stefan, >>> >>> Yes, I am also still getting this error on my local setup, However, >>> strangely I am not getting this on my laptop. I tried manually installing >>> the missing 'error_prone' dependencies to maven but then go some other >>> error. >>> Might this be some kind of cache issue? >>> >>> Best Regards, >>> Pulasthi >>> >>> On Tue, Feb 25, 2020 at 5:38 AM Stefan Djelekar < >>> stefan.djele...@redbox.com> wrote: >>> >>>> Hi all, >>>> >>>> >>>> >>>> No this is not yet fixed. >>>> >>>> >>>> >>>> @Pulasthi do you still get the same error? >>>> >>>> >>>> >>>> @Maximilian I don’t have any overrides. >>>> >>>> It looks like on localhost build references >>>> https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/ >>>> >>>> istead of >>>> >>>> >>>> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4 >>>> >>>> >>>> >>>> and the first link returns 404 >>>> >>>> >>>> >>>> >>>> >>>> Can you please advise? >>>> >>>> >>>> >>>> All the best, >>>> >>>> Stefan >>>> >>>> >>>> >>>> *From:* Pulasthi Supun Wickramasinghe <pulasthi...@gmail.com> >>>> *Sent:* Tuesday, February 18, 2020 5:11 PM >>>> *To:* dev <dev@beam.apache.org> >>>> *Cc:* Stefan Djelekar <stefan.djele...@redbox.com> >>>> *Subject:* [EXTERNAL] Re: Java Build broken >>>> >>>> >>>> >>>> Hi All, >>>> >>>> >>>> >>>> Was this issue resolved? I started to get the same error on my local >>>> build suddenly. >>>> >>>> >>>> >>>> Best Regards, >>>> >>>> Pulasthi >>>> >>>> >>>> >>>> On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels <m...@apache.org> >>>> wrote: >>>> >>>> Do you have any overrides in your ~/.m2/settings.xml? The artifacts >>>> should be found as part of Maven central, e.g. >>>> >>>> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api >>>> >>>> Cheers, >>>> Max >>>> >>>> On 23.01.20 11:11, Stefan Djelekar wrote: >>>> > Hi guys, >>>> > >>>> > It’s been days now since the build for Java SDK is broken. >>>> > >>>> > Namely, pipeline is successful on Jenkins, but it fails in my >>>> localhost >>>> > with error in task model:pipeline:compileJava. As I've seen, last >>>> couple >>>> > of builds were served from cache, so maybe that is the reason why >>>> it's >>>> > green. I confirmed same thing happened to other devs as well. >>>> > >>>> > 22:49:34 > Task :model:pipeline:compileJava FROM-CACHE >>>> > >>>> > It looks like it’s related to mismatch of com.google.errorprone >>>> library >>>> > version. Can someone please take a look as this is a blocker to >>>> > localhost development? >>>> > >>>> > Cheers, >>>> > >>>> > *Stefan Đelekar* >>>> > >>>> > Sofware Engineer >>>> > >>>> > Mobile +381 65 22 33 293 >>>> > >>>> > stefan.djele...@redbox.com <mailto:stefan.djele...@redbox.com> >>>> > >>>> > Redbox Automated Retail LLC / Interventure d.o.o >>>> > >>>> > 16. Oktobra 21/67, 11050 Zvezdara, Serbia >>>> > >>>> > djelekar.com >>>> > >>>> > -- >>>> > >>>> > This email is confidential and intended for the recipient specified >>>> in >>>> > the message only. >>>> > If you have received this message in error, please notify the sender >>>> by >>>> > e-mail, discard any >>>> > paper copies and delete the mail and all electronic files of the >>>> message >>>> > from your system. >>>> > >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Pulasthi S. Wickramasinghe >>>> >>>> PhD Candidate | Research Assistant >>>> >>>> School of Informatics and Computing | Digital Science Center >>>> >>>> Indiana University, Bloomington >>>> >>>> cell: 224-386-9035 >>>> >>> >>> >>> -- >>> Pulasthi S. Wickramasinghe >>> PhD Candidate | Research Assistant >>> School of Informatics and Computing | Digital Science Center >>> Indiana University, Bloomington >>> cell: 224-386-9035 >>> >> > > -- > Pulasthi S. Wickramasinghe > PhD Candidate | Research Assistant > School of Informatics and Computing | Digital Science Center > Indiana University, Bloomington > cell: 224-386-9035 >