Team,
I am facing issues while compiling Elasticsearch 8.5.1, the source code is allowed to pull the files from the in-house repo,
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':build-tools'.
> Could not determine the dependencies of null.
Could not resolve all task dependencies for configuration ':build-tools:classpath'.
Could not resolve org.apache.maven:maven-model:3.6.2.
Required by:
project :build-tools > project :build-conventions
Could not resolve org.apache.maven:maven-model:3.6.2.
Could not get resource 'https://plugins.gradle.org/m2/org/apache/maven/maven-model/3.6.2/maven-model-3.6.2.pom'.
Could not HEAD 'https://plugins.gradle.org/m2/org/apache/maven/maven-model/3.6.2/maven-model-3.6.2.pom'.
Connect to plugins.gradle.org:443 [plugins.gradle.org/104.17.46.54, plugins.gradle.org/104.17.10.66] failed: Connection refused
Could not resolve gradle.plugin.com.github.johnrengelman:shadow:7.1.2.
Required by:
project :build-tools > project :build-conventions
Could not resolve gradle.plugin.com.github.johnrengelman:shadow:7.1.2.
Could not get resource 'https://plugins.gradle.org/m2/gradle/plugin/com/github/johnrengelman/shadow/7.1.2/shadow-7.1.2.pom'.
Could not HEAD 'https://plugins.gradle.org/m2/gradle/plugin/com/github/johnrengelman/shadow/7.1.2/shadow-7.1.2.pom'.
Connect to plugins.gradle.org:443 [plugins.gradle.org/104.17.46.54, plugins.gradle.org/104.17.10.66] failed: Connection refused
Could not resolve org.apache.rat:apache-rat:0.11.
Required by:
project :build-tools > project :build-conventions
Could not resolve org.apache.rat:apache-rat:0.11.
Could not get resource 'https://plugins.gradle.org/m2/org/apache/rat/apache-rat/0.11/apache-rat-0.11.pom'.
Could not HEAD 'https://plugins.gradle.org/m2/org/apache/rat/apache-rat/0.11/apache-rat-0.11.pom'.
Connect to plugins.gradle.org:443 [plugins.gradle.org/104.17.46.54, plugins.gradle.org/104.17.10.66] failed: Connection refused
Could not resolve com.diffplug.spotless:spotless-plugin-gradle:6.7.2.
Required by:
project :build-tools > project :build-conventions
Could not resolve com.diffplug.spotless:spotless-plugin-gradle:6.7.2.
Could not get resource 'https://plugins.gradle.org/m2/com/diffplug/spotless/spotless-plugin-gradle/6.7.2/spotless-plugin-gradle-6.7.2.pom'.
Could not HEAD 'https://plugins.gradle.org/m2/com/diffplug/spotless/spotless-plugin-gradle/6.7.2/spotless-plugin-gradle-6.7.2.pom'.
Connect to plugins.gradle.org:443 [plugins.gradle.org/104.17.46.54, plugins.gradle.org/104.17.10.66] failed: Connection refused
Issues I face are as below
When i run the build-conventions, it compiles perfectly, but the build-tools is not compiling.
Is there any way that i can pull the required software bundles locally and complete the compilation?
can i keep all the jar's from "build.versions.toml" locally
I am using Elasticsearch 8.5.1, Gradle 7.5.1, jdk 17
please let me know, the next steps