maven


gradle clean cleanEclipse eclipse command is not able to build while installing mifos on windows


I cloned the mifos repository in my pc. After that installed gradle 1.5
Folowed the instructions to install gradle from here https://github.com/openMF/mifosx/wiki/Gradle
wasnt able to figure out JAVA_OPTS and what it is..if somebody can help regarding that?
Then I went into the mifosng-provider directory and tried executing the following command which should work perfectly fine but it is not working and instead showed the following
c:\mifosx\mifosng-provider>gradle clean cleanEclipse eclipse
Listening for transport dt_socket at address: 8005
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve org.zeroturnaround:gradle-jrebel-plugin:1.0.2-SNAPSHOT.
Required by:
:mifosng-provider:unspecified
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/org/zerot
urnaround/gradle-jrebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/org/zeroturnaround/gradle-j
rebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml'.
> repo1.maven.org
> Unable to load Maven meta-data from http://repos.zeroturnaround.com/nexus/c
ontent/groups/zt-public/org/zeroturnaround/gradle-jrebel-plugin/1.0.2-SNAPSHOT/m
aven-metadata.xml.
> Could not GET 'http://repos.zeroturnaround.com/nexus/content/groups/zt-p
ublic/org/zeroturnaround/gradle-jrebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml'
.
> repos.zeroturnaround.com
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/org/zerot
urnaround/gradle-jrebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/org/zeroturnaround/gradle-j
rebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml'.
> repo1.maven.org
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/org/zerot
urnaround/gradle-jrebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/org/zeroturnaround/gradle-j
rebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml'.
> repo1.maven.org
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/org/zerot
urnaround/gradle-jrebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/org/zeroturnaround/gradle-j
rebel-plugin/1.0.2-SNAPSHOT/maven-metadata.xml'.
> repo1.maven.org
> Could not resolve org.gradle.api.plugins:gradle-tomcat-plugin:0.9.7.
Required by:
:mifosng-provider:unspecified
> Could not GET 'http://repo1.maven.org/maven2/org/gradle/api/plugins/gradle-
tomcat-plugin/0.9.7/gradle-tomcat-plugin-0.9.7.pom'.
> repo1.maven.org
> Could not GET 'http://repos.zeroturnaround.com/nexus/content/groups/zt-publ
ic/org/gradle/api/plugins/gradle-tomcat-plugin/0.9.7/gradle-tomcat-plugin-0.9.7.
pom'.
> repos.zeroturnaround.com
> Could not GET 'http://repo1.maven.org/maven2/org/gradle/api/plugins/gradle-
tomcat-plugin/0.9.7/gradle-tomcat-plugin-0.9.7.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/org/gradle/api/plugins/gradle-
tomcat-plugin/0.9.7/gradle-tomcat-plugin-0.9.7.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/org/gradle/api/plugins/gradle-
tomcat-plugin/0.9.7/gradle-tomcat-plugin-0.9.7.pom'.
> repo1.maven.org
> Could not resolve nl.javadude.gradle.plugins:license-gradle-plugin:0.5.0.
Required by:
:mifosng-provider:unspecified
> Could not GET 'http://repo1.maven.org/maven2/nl/javadude/gradle/plugins/lic
ense-gradle-plugin/0.5.0/license-gradle-plugin-0.5.0.pom'.
> repo1.maven.org
> Could not GET 'http://repos.zeroturnaround.com/nexus/content/groups/zt-publ
ic/nl/javadude/gradle/plugins/license-gradle-plugin/0.5.0/license-gradle-plugin-
0.5.0.pom'.
> repos.zeroturnaround.com
> Could not GET 'http://repo1.maven.org/maven2/nl/javadude/gradle/plugins/lic
ense-gradle-plugin/0.5.0/license-gradle-plugin-0.5.0.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/nl/javadude/gradle/plugins/lic
ense-gradle-plugin/0.5.0/license-gradle-plugin-0.5.0.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/nl/javadude/gradle/plugins/lic
ense-gradle-plugin/0.5.0/license-gradle-plugin-0.5.0.pom'.
> repo1.maven.org
> Could not resolve com.github.ben-manes:gradle-flyway-plugin:0.2.
Required by:
:mifosng-provider:unspecified
> Could not GET 'http://repo1.maven.org/maven2/com/github/ben-manes/gradle-fl
yway-plugin/0.2/gradle-flyway-plugin-0.2.pom'.
> repo1.maven.org
> Could not GET 'http://repos.zeroturnaround.com/nexus/content/groups/zt-publ
ic/com/github/ben-manes/gradle-flyway-plugin/0.2/gradle-flyway-plugin-0.2.pom'.
> repos.zeroturnaround.com
> Could not GET 'http://repo1.maven.org/maven2/com/github/ben-manes/gradle-fl
yway-plugin/0.2/gradle-flyway-plugin-0.2.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/com/github/ben-manes/gradle-fl
yway-plugin/0.2/gradle-flyway-plugin-0.2.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/com/github/ben-manes/gradle-fl
yway-plugin/0.2/gradle-flyway-plugin-0.2.pom'.
> repo1.maven.org
> Could not resolve mysql:mysql-connector-java:5.1.22.
Required by:
:mifosng-provider:unspecified
> Could not GET 'http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1
.22/mysql-connector-java-5.1.22.pom'.
> repo1.maven.org
> Could not GET 'http://repos.zeroturnaround.com/nexus/content/groups/zt-publ
ic/mysql/mysql-connector-java/5.1.22/mysql-connector-java-5.1.22.pom'.
> repos.zeroturnaround.com
> Could not GET 'http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1
.22/mysql-connector-java-5.1.22.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1
.22/mysql-connector-java-5.1.22.pom'.
> repo1.maven.org
> Could not GET 'http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1
.22/mysql-connector-java-5.1.22.pom'.
> repo1.maven.org
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 2 mins 38.61 secs
I got the solution. I just had to set my proxy settings in gradle.properties file and it worked for me.

Related Links

Apache Archiva: how do I edit Artifact information?
Running docker-maven-plugin on the very end of parent pom building
Intellij: How to create context-sensitive Maven shortcuts
How to use property values in postinstall scripts during Maven build
Maven: No source to compile
jgitflow start-release fails for https url with OAuth token
is there any alternative for maven reactor plugin?
Cannot capture network packets in storm spout using jNetpcap
How to create 'resources' folder in Intellij?
Gradle tells me ' Must specify a repository for deployment'
Grails Unit Testing occurring on Wrong Phase of Maven Life Cycle
Maven variables set after running goals cannot be resolved in IDEA [duplicate]
Release project with SNAPSHOT test dependency
Continuous Delivery with Maven: Why not just use the build number a the artifact's version?
Maven settings not working for all projects
Groovy install HTTPBuilder now that Codehaus shutdown?

Categories

HOME
date
hive
keycloak
activiti
minimum-spanning-tree
single-sign-on
tinymce
plot
relative-path
onedrive
routes
programming-languages
filtering
cmd
microservices
electronics
twitter-bootstrap-4
onelogin
slick-slider
primary-key
gorm
here-api
nano-server
imacros
export-to-csv
apache-metamodel
kvc
dxf
smb
brunch
wtx
libssl
tasklet
bpel
asset-pipeline
git-merge
web-mining
swift3.0.2
sqlite2
lumberjack
ruby-on-rails-3.1
bootstrap-dialog
slick-3.0
galleria
logfiles
azure-application-gateway
network-flow
blogengine.net
datastax-startup
rdfs
nodebb
django-scheduler
minimization
topbeat
xcb
url-pattern
color-picker
grails-tomcat-plugin
httplistener
android-textview
ado.net-entity-data-model
mikroc
etsy
prettytensor
jms2
intel-fortran
marching-cubes
muse
truevault
codeigniter-url
knuth
phalanger
titanium-modules
php-5.4
terminfo
google-reader
mesa
ember-charts
app42
intentservice
floating-point-precision
quantlib-swig
quartz-graphics
bulkloader
easy-install
ril
pushbackinputstream
e4x
anonymous-methods
isnullorempty
mt
quickdialog
ohm
whoosh
window-management
javax.script
radcombobox
iweb
procedural-music
zune

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App