Comments (4)
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.
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.
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.
@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)
- Broken on maven 3.3.1 HOT 1
- Integration tests fail with Maven 3.3.1 HOT 3
- cut a new release 1.0.7 to maven central? HOT 6
- "A required class was missing": NewMojoLogger on Maven 3.3.3 HOT 2
- Error with gradle-tooling-api 2.6 and up HOT 1
- 1.0.6 is not at maven central HOT 2
- A required class was missing while executing org.fortasoft:gradle-maven-plugin:1.0.5:invoke HOT 3
- Add property for custom build file name HOT 1
- Multiple tasks HOT 3
- need maven project and session bound to variables for checkInvokeScript feature
- Use https to download Gradle distribution
- Multi module maven dependencies are not available in gradle HOT 1
- mvn clean doesn't clean Gradle-generated files
- How to disable gradle daemon
- Could not determine java version from '9.0.1' HOT 2
- Gradle 5.x Tooling API HOT 3
- How to use gradle wrapper? HOT 1
- How can I add changelog in debian file?
- Multi thread build failed sometimes due Could not create an instance of Tooling API implementation using the specified Gradle distribution 'https://services.gradle.org/distributions/gradle-7.1.1-bin.zip'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-maven-plugin.