Giter Site home page Giter Site logo

org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.13-bin.zip' about gradle-maven-plugin HOT 4 CLOSED

lendingclub avatar lendingclub commented on July 3, 2024
org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.13-bin.zip'

from gradle-maven-plugin.

Comments (4)

pmandala avatar pmandala commented on July 3, 2024

Seems like a proxy issue in downloading gradual from maven.

added ~/gradle/gradle.properties but problem is not solved

systemProp.http.proxyHost=www.somehost.org
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=
systemProp.http.proxyPassword=

systemProp.https.proxyHost=www.somehost.org
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=
systemProp.https.proxyPassword=

systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost

from gradle-maven-plugin.

rgudla avatar rgudla commented on July 3, 2024

We already have gradle installed on our slaves, and this plugin is still trying download gradle binaries from 'https://services.gradle.org/distributions/gradle-2.13-bin.zip'. Is there a way to bypass this step and pass GRADLE_HOME so that this plugin resolved the gradle which is already available? I am not seeing issue while running gradle projects, this issue is coming only when this plugin is used in our pom.xml?

from gradle-maven-plugin.

pmandala avatar pmandala commented on July 3, 2024

We used intranet gradle zip url as below to solve the issue.
<plugin> <groupId>org.fortasoft</groupId> <artifactId>gradle-maven-plugin</artifactId> <version>1.0.8</version> <configuration> <gradleDistribution>gradle-2.13-bin.zip intranet url to bypass proxy </gradleDistribution> <tasks> <task>clean</task> <task>dist</task> </tasks> </configuration> <executions> <execution> <phase>compile</phase> <goals> <!-- goal must be "invoke" --> <goal>invoke</goal> </goals> </execution> </executions> </plugin>

from gradle-maven-plugin.

rgudla avatar rgudla commented on July 3, 2024

@pmandala Thanks for the response, above option worked for me as well. This is how I resolved it instead.

<groupId>org.fortasoft</groupId> <artifactId>gradle-maven-plugin</artifactId> <version>1.0.8</version> <configuration> <gradleInstallationDir>${env.GRADLE_HOME}</gradleInstallationDir> </configuration>

from gradle-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.