Good find, Thomas! It looks like it is for testing releases because they are staged to this repository. IMHO there is no need for it to be enabled by default.

-Max

On 04.03.20 23:06, Thomas Weise wrote:
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 <mailto: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 <mailto: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 <mailto: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
            <mailto: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 <mailto:pulasthi...@gmail.com>>
                *Sent:* Tuesday, February 18, 2020 5:11 PM
                *To:* dev <dev@beam.apache.org <mailto:dev@beam.apache.org>>
                *Cc:* Stefan Djelekar <stefan.djele...@redbox.com
                <mailto: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 <mailto: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>
                    <mailto: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 <http://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

Reply via email to