You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by David Huntsperger <dh...@google.com> on 2022/01/12 21:18:35 UTC
Build can't find shadow plugin
Hey folks,
I'm trying to build the website for the first time in a few months, and the
build is failing. It looks like the Gradle shadow plugin is not available
(see output below).
I'm running...
./gradlew :website:serveWebsite
... and following my usual process.
Any suggestions?
Thanks,
David
______________________________
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileGroovy'.
> Could not resolve all files for configuration
':buildSrc:compileClasspath'.
> Could not resolve gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
Required by:
project :buildSrc
> Could not resolve
gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
> Could not get resource '
https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom
'.
> Could not GET '
https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom'.
Received status code 502 from server: Bad Gateway
> Could not resolve
com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
Required by:
project :buildSrc
> Could not resolve
com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
> Could not get resource '
https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom
'.
> Could not GET '
https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom'.
Received status code 502 from server: Bad Gateway
Re: Build can't find shadow plugin
Posted by Luke Cwik <lc...@google.com>.
All the references to jcenter should now be gone.
On Mon, Jan 17, 2022 at 6:16 AM Sam Whittle <sa...@google.com> wrote:
> I was hitting this issue repeatedly as well.
> * What went wrong:
> Execution failed for task ':buildSrc:pluginUnderTestMetadata'.
> > Error while evaluating property 'paths' of task
> ':buildSrc:pluginUnderTestMetadata'
> > Could not resolve all files for configuration
> ':buildSrc:runtimeClasspath'.
> > Could not resolve org.ajoberstar.grgit:grgit-core:4.1.1.
> Required by:
> project :buildSrc > org.ajoberstar.grgit:grgit-gradle:4.1.1
> > Could not resolve org.ajoberstar.grgit:grgit-core:4.1.1.
> > Could not get resource '
> https://jcenter.bintray.com/org/ajoberstar/grgit/grgit-core/4.1.1/grgit-core-4.1.1.pom
> '.
> > Could not HEAD '
> https://jcenter.bintray.com/org/ajoberstar/grgit/grgit-core/4.1.1/grgit-core-4.1.1.pom
> '.
> > Read timed out
>
> I tried increasing the gradle timeouts to allow the downloads to complete
> but they still failed:
>
> https://stackoverflow.com/questions/23257499/how-to-use-maven-or-gradle-on-an-unreliable-network
>
> Based upon the links David found, I tried removing jcenter() from the
> gradle and groovy repositories. That seems to have worked.
> I sent out https://github.com/apache/beam/pull/16532
>
>
> On Thu, Jan 13, 2022 at 7:36 PM Luke Cwik <lc...@google.com> wrote:
>
>> I have seen this as well for other dependencies that are being sourced
>> from jcenter/bintray.
>>
>> On Wed, Jan 12, 2022 at 7:12 PM David Huntsperger <
>> dhuntsperger@google.com> wrote:
>>
>>> Okay, this is working again.
>>>
>>> But it seems like JCenter may not be a reliable repository any longer:
>>>
>>> - https://blog.gradle.org/jcenter-shutdown
>>> -
>>> https://stackoverflow.com/questions/70687342/jcenter-bintray-com-is-down-error-502-bad-gateway
>>>
>>> Apologies if this is old news.
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> On Wed, Jan 12, 2022 at 1:18 PM David Huntsperger <
>>> dhuntsperger@google.com> wrote:
>>>
>>>> Hey folks,
>>>>
>>>> I'm trying to build the website for the first time in a few months, and
>>>> the build is failing. It looks like the Gradle shadow plugin is not
>>>> available (see output below).
>>>>
>>>> I'm running...
>>>>
>>>> ./gradlew :website:serveWebsite
>>>>
>>>>
>>>> ... and following my usual process.
>>>>
>>>> Any suggestions?
>>>>
>>>> Thanks,
>>>>
>>>> David
>>>> ______________________________
>>>>
>>>> FAILURE: Build failed with an exception.
>>>>
>>>> * What went wrong:
>>>> Execution failed for task ':buildSrc:compileGroovy'.
>>>> > Could not resolve all files for configuration
>>>> ':buildSrc:compileClasspath'.
>>>> > Could not resolve
>>>> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
>>>> Required by:
>>>> project :buildSrc
>>>> > Could not resolve
>>>> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
>>>> > Could not get resource '
>>>> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom
>>>> '.
>>>> > Could not GET '
>>>> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom'.
>>>> Received status code 502 from server: Bad Gateway
>>>> > Could not resolve
>>>> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
>>>> Required by:
>>>> project :buildSrc
>>>> > Could not resolve
>>>> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
>>>> > Could not get resource '
>>>> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom
>>>> '.
>>>> > Could not GET '
>>>> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom'.
>>>> Received status code 502 from server: Bad Gateway
>>>>
>>>
Re: Build can't find shadow plugin
Posted by Sam Whittle <sa...@google.com>.
I was hitting this issue repeatedly as well.
* What went wrong:
Execution failed for task ':buildSrc:pluginUnderTestMetadata'.
> Error while evaluating property 'paths' of task
':buildSrc:pluginUnderTestMetadata'
> Could not resolve all files for configuration
':buildSrc:runtimeClasspath'.
> Could not resolve org.ajoberstar.grgit:grgit-core:4.1.1.
Required by:
project :buildSrc > org.ajoberstar.grgit:grgit-gradle:4.1.1
> Could not resolve org.ajoberstar.grgit:grgit-core:4.1.1.
> Could not get resource '
https://jcenter.bintray.com/org/ajoberstar/grgit/grgit-core/4.1.1/grgit-core-4.1.1.pom
'.
> Could not HEAD '
https://jcenter.bintray.com/org/ajoberstar/grgit/grgit-core/4.1.1/grgit-core-4.1.1.pom
'.
> Read timed out
I tried increasing the gradle timeouts to allow the downloads to complete
but they still failed:
https://stackoverflow.com/questions/23257499/how-to-use-maven-or-gradle-on-an-unreliable-network
Based upon the links David found, I tried removing jcenter() from the
gradle and groovy repositories. That seems to have worked.
I sent out https://github.com/apache/beam/pull/16532
On Thu, Jan 13, 2022 at 7:36 PM Luke Cwik <lc...@google.com> wrote:
> I have seen this as well for other dependencies that are being sourced
> from jcenter/bintray.
>
> On Wed, Jan 12, 2022 at 7:12 PM David Huntsperger <dh...@google.com>
> wrote:
>
>> Okay, this is working again.
>>
>> But it seems like JCenter may not be a reliable repository any longer:
>>
>> - https://blog.gradle.org/jcenter-shutdown
>> -
>> https://stackoverflow.com/questions/70687342/jcenter-bintray-com-is-down-error-502-bad-gateway
>>
>> Apologies if this is old news.
>>
>> Thanks,
>>
>> David
>>
>> On Wed, Jan 12, 2022 at 1:18 PM David Huntsperger <
>> dhuntsperger@google.com> wrote:
>>
>>> Hey folks,
>>>
>>> I'm trying to build the website for the first time in a few months, and
>>> the build is failing. It looks like the Gradle shadow plugin is not
>>> available (see output below).
>>>
>>> I'm running...
>>>
>>> ./gradlew :website:serveWebsite
>>>
>>>
>>> ... and following my usual process.
>>>
>>> Any suggestions?
>>>
>>> Thanks,
>>>
>>> David
>>> ______________________________
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * What went wrong:
>>> Execution failed for task ':buildSrc:compileGroovy'.
>>> > Could not resolve all files for configuration
>>> ':buildSrc:compileClasspath'.
>>> > Could not resolve
>>> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
>>> Required by:
>>> project :buildSrc
>>> > Could not resolve
>>> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
>>> > Could not get resource '
>>> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom
>>> '.
>>> > Could not GET '
>>> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom'.
>>> Received status code 502 from server: Bad Gateway
>>> > Could not resolve
>>> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
>>> Required by:
>>> project :buildSrc
>>> > Could not resolve
>>> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
>>> > Could not get resource '
>>> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom
>>> '.
>>> > Could not GET '
>>> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom'.
>>> Received status code 502 from server: Bad Gateway
>>>
>>
Re: Build can't find shadow plugin
Posted by Luke Cwik <lc...@google.com>.
I have seen this as well for other dependencies that are being sourced from
jcenter/bintray.
On Wed, Jan 12, 2022 at 7:12 PM David Huntsperger <dh...@google.com>
wrote:
> Okay, this is working again.
>
> But it seems like JCenter may not be a reliable repository any longer:
>
> - https://blog.gradle.org/jcenter-shutdown
> -
> https://stackoverflow.com/questions/70687342/jcenter-bintray-com-is-down-error-502-bad-gateway
>
> Apologies if this is old news.
>
> Thanks,
>
> David
>
> On Wed, Jan 12, 2022 at 1:18 PM David Huntsperger <dh...@google.com>
> wrote:
>
>> Hey folks,
>>
>> I'm trying to build the website for the first time in a few months, and
>> the build is failing. It looks like the Gradle shadow plugin is not
>> available (see output below).
>>
>> I'm running...
>>
>> ./gradlew :website:serveWebsite
>>
>>
>> ... and following my usual process.
>>
>> Any suggestions?
>>
>> Thanks,
>>
>> David
>> ______________________________
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Execution failed for task ':buildSrc:compileGroovy'.
>> > Could not resolve all files for configuration
>> ':buildSrc:compileClasspath'.
>> > Could not resolve
>> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
>> Required by:
>> project :buildSrc
>> > Could not resolve
>> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
>> > Could not get resource '
>> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom
>> '.
>> > Could not GET '
>> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom'.
>> Received status code 502 from server: Bad Gateway
>> > Could not resolve
>> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
>> Required by:
>> project :buildSrc
>> > Could not resolve
>> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
>> > Could not get resource '
>> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom
>> '.
>> > Could not GET '
>> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom'.
>> Received status code 502 from server: Bad Gateway
>>
>
Re: Build can't find shadow plugin
Posted by David Huntsperger <dh...@google.com>.
Okay, this is working again.
But it seems like JCenter may not be a reliable repository any longer:
- https://blog.gradle.org/jcenter-shutdown
-
https://stackoverflow.com/questions/70687342/jcenter-bintray-com-is-down-error-502-bad-gateway
Apologies if this is old news.
Thanks,
David
On Wed, Jan 12, 2022 at 1:18 PM David Huntsperger <dh...@google.com>
wrote:
> Hey folks,
>
> I'm trying to build the website for the first time in a few months, and
> the build is failing. It looks like the Gradle shadow plugin is not
> available (see output below).
>
> I'm running...
>
> ./gradlew :website:serveWebsite
>
>
> ... and following my usual process.
>
> Any suggestions?
>
> Thanks,
>
> David
> ______________________________
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':buildSrc:compileGroovy'.
> > Could not resolve all files for configuration
> ':buildSrc:compileClasspath'.
> > Could not resolve gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
> Required by:
> project :buildSrc
> > Could not resolve
> gradle.plugin.com.github.johnrengelman:shadow:7.1.1.
> > Could not get resource '
> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom
> '.
> > Could not GET '
> https://jcenter.bintray.com/gradle/plugin/com/github/johnrengelman/shadow/7.1.1/shadow-7.1.1.pom'.
> Received status code 502 from server: Bad Gateway
> > Could not resolve
> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
> Required by:
> project :buildSrc
> > Could not resolve
> com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3.
> > Could not get resource '
> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom
> '.
> > Could not GET '
> https://jcenter.bintray.com/com/github/spotbugs/snom/spotbugs-gradle-plugin/5.0.3/spotbugs-gradle-plugin-5.0.3.pom'.
> Received status code 502 from server: Bad Gateway
>