Found the solution. It had to do with the changes in gradle.properties file to suite the proxy server which I am using. Anyways feels good to learn a lot of other detailed things about gradle, mvn and java too while looking for a solution to such a simple problem...:)
On Friday, 19 April 2013 14:16:41 UTC+5:30, Mohit Gupta wrote: > > Still it is showing the same error...I am using windows 7 and couldnt > find JAVA_OPTS in the environment variables. Is that an issue? > > On Wednesday, 17 April 2013 12:32:19 UTC+5:30, Ashok Conflux wrote: >> >> Hi Mohit, >> >> Can you try cleaning up your local maven repository before executing the >> gradle command. >> >> You can find the maven repository in you home directory. e.g. >> C:\Users\<user name>\*.m2*\repository >> >> Regards >> Ashok >> >> >> >> On Wed, Apr 17, 2013 at 11:11 AM, Mohit Gupta <[email protected]>wrote: >> >>> When I move into the mifosng-provider directory and then use this command >>> gradle clean cleanEclipse eclipse >>> I get the following error. If somebody can please tell me about the >>> solutions to this problem if any. >>> >>> >>> c:\Users\Mohit\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 35.655 secs >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Precog is a next-generation analytics platform capable of advanced >>> analytics on semi-structured data. The platform includes APIs for >>> building >>> apps and a phenomenal toolset for data science. Developers can use >>> our toolset for easy data analysis & visualization. Get a free account! >>> http://www2.precog.com/precogplatform/slashdotnewsletter >>> Mifos-developer mailing list >>> [email protected] >>> Unsubscribe or change settings at: >>> https://lists.sourceforge.net/lists/listinfo/mifos-developer >>> >> >> -- You received this message because you are subscribed to the Google Groups "Mifos Developer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mifosdeveloper?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
