apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.55k stars 1.17k forks source link

Plugin [id:'maven'] not found #5517

Closed bipinbohara closed 1 month ago

bipinbohara commented 1 month ago

Environment details: Ubuntu 20.04

Steps to reproduce the issue:

  1. ansible-playbook setup.yml
  2. ansible-playbook prereq.yml
  3. cd ~/openwhisk
  4. ./gradlew distDocker

Provide the expected results and outputs:

./gradlew distDocker command should go through without any errors

Provide the actual results and outputs:

bipin@bipin:~/repos/openwhisk$ sudo ./gradlew distDocker
Downloading https://services.gradle.org/distributions/gradle-7.0.2-bin.zip
..........10%...........20%...........30%..........40%...........50%...........60%..........70%...........80%...........90%..........100%

Welcome to Gradle 7.0.2!

Here are the highlights of this release:
 - File system watching enabled by default
 - Support for running with and building Java 16 projects
 - Native support for Apple Silicon processors
 - Dependency catalog feature preview

For more details see https://docs.gradle.org/7.0.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
Build using Scala 2.12

FAILURE: Build failed with an exception.

* Where:
Build file '/home/bipin/repos/openwhisk/tests/build.gradle' line: 23

* What went wrong:
Plugin [id: 'maven'] was not found in any of the following sources:

- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/7.0.2/userguide/standard_plugins.html for available core plugins)
- Plugin Repositories (plugin dependency must include a version number for this source)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 18s

WARNING: Error invoking build scan buildFinished action
        Cannot obtain value from provider of system property 'idea.vendor.name' at configuration time.
Use a provider returned by 'forUseAtConfigurationTime()' instead.

Additional information you deem important: