nishtahir / gwt-pectin

Automatically exported from code.google.com/p/gwt-pectin
0 stars 0 forks source link

Building from source fails: no such property MAVEN_REPOSITORY_URL #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout from SVN repository
2. cd gwt-pectin
3. ./gradlew build  -s

What is the expected output? What do you see instead?

$ ./gradlew build  -s

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/hbf/Documents/workspace/gwt-pectin/build.gradle' line: 61

* What went wrong:
A problem occurred evaluating root project 'gwt-pectin'.
Cause: No such property: MAVEN_REPOSITORY_URL for class: 
org.gradle.api.internal.artifacts.publish.maven.deploy.groovy.DefaultGroovyMaven
Deployer

* Try:
Run with -S option to get the full (very verbose) stacktrace.

* Exception is:
org.gradle.api.GradleScriptException: Build file 
'/Users/hbf/Documents/workspace/gwt-pectin/build.gradle' line: 61
A problem occurred evaluating root project 'gwt-pectin'.
    at org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:55)
    at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:51)
    at org.gradle.configuration.DefaultProjectEvaluator.evaluate(DefaultProjectEvaluator.java:35)
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:521)
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:54)
    at org.gradle.api.internal.project.ProjectInternal$evaluate.call(Unknown Source)
    at org.gradle.configuration.BuildConfigurer$_closure1.doCall(BuildConfigurer.groovy:41)
    at $Proxy9.execute(Unknown Source)
    at org.gradle.api.internal.project.AbstractProject.applyActions(AbstractProject.java:491)
    at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:486)
    at org.gradle.api.Project$allprojects.call(Unknown Source)
    at org.gradle.configuration.BuildConfigurer.process(BuildConfigurer.groovy:48)
    at org.gradle.GradleLauncher.doBuildStages(GradleLauncher.java:147)
    at org.gradle.GradleLauncher.doBuild(GradleLauncher.java:124)
    at org.gradle.GradleLauncher.run(GradleLauncher.java:95)
    at org.gradle.Main.execute(Main.java:100)
    at org.gradle.Main.main(Main.java:43)
    at org.gradle.BootstrapMain.main(BootstrapMain.java:50)
    at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:38)
    at org.gradle.wrapper.Wrapper.execute(Wrapper.java:58)
    at org.gradle.wrapper.WrapperMain.main(WrapperMain.java:39)
Caused by: groovy.lang.MissingPropertyException: No such property: 
MAVEN_REPOSITORY_URL for class: 
org.gradle.api.internal.artifacts.publish.maven.deploy.groovy.DefaultGroovyMaven
Deployer
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195$_run_closure1_closure5_closure6.doCall(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle:61)
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195$_run_closure1_closure5_closure6.doCall(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle)
    at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:42)
    at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:33)
    at org.gradle.api.internal.artifacts.DefaultResolverContainer.addInternal(DefaultResolverContainer.java:140)
    at org.gradle.api.internal.artifacts.DefaultResolverContainer.add(DefaultResolverContainer.java:68)
    at org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.mavenDeployer(DefaultRepositoryHandler.java:138)
    at org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.mavenDeployer(DefaultRepositoryHandler.java:133)
    at org.gradle.api.artifacts.dsl.RepositoryHandler$mavenDeployer.call(Unknown Source)
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195$_run_closure1_closure5.doCall(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle:56)
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195$_run_closure1_closure5.doCall(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle)
    at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:42)
    at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:33)
    at org.gradle.api.internal.AbstractDomainObjectCollection$ContainerDynamicObject.invokeMethod(AbstractDomainObjectCollection.java:146)
    at org.gradle.api.internal.DynamicObjectHelper.invokeMethod(DynamicObjectHelper.java:195)
    at org.gradle.api.internal.project.DefaultProject.methodMissing(DefaultProject.groovy:52)
    at org.gradle.api.internal.project.DefaultProject.invokeMethod(DefaultProject.groovy)
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195$_run_closure1.doCall(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle:55)
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195$_run_closure1.doCall(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle)
    at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:42)
    at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:33)
    at org.gradle.util.ConfigureUtil$configure.call(Unknown Source)
    at org.gradle.api.internal.project.DefaultProject$_configure_closure1.doCall(DefaultProject.groovy:81)
    at org.gradle.api.internal.project.DefaultProject.configure(DefaultProject.groovy:80)
    at org.gradle.api.Project$configure.callCurrent(Unknown Source)
    at org.gradle.api.internal.project.DefaultProject.allprojects(DefaultProject.groovy:68)
    at org.gradle.api.internal.project.DefaultProject.invokeMethod(DefaultProject.groovy)
    at org.gradle.groovy.scripts.DefaultScriptMetaData$_applyMetaData_closure1.doCall(DefaultScriptMetaData.groovy:31)
    at build_gradle_876c8cdf0ec63107eef5e4fd10592195.run(/Users/hbf/Documents/workspace/gwt-pectin/build.gradle:14)
    at org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:53)
    ... 20 common frames omitted

BUILD FAILED

Total time: 3.757 secs

What version of the product are you using? On what operating system?

Java 1.6/MacOS 10.6.4

Please provide any additional information below.

I tried defining an environment variable MAVEN_REPOSITORY_URL in the shell 
without success and could not get any results on "MAVEN_REPOSITORY_URL 
DefaultGroovyMavenDeployer" in Google.

Original issue reported on code.google.com by kaspar.f...@gtempaccount.com on 6 Jul 2010 at 8:21

GoogleCodeExporter commented 8 years ago
In the mean time can you try commenting out the uploadArchives task in the top 
level build.gradle file? Hopefully this will let you build. 

Original comment by andrew.pietsch on 7 Jul 2010 at 4:00

GoogleCodeExporter commented 8 years ago
Thanks, that worked.

Original comment by kaspar.f...@gtempaccount.com on 14 Jul 2010 at 11:10

GoogleCodeExporter commented 8 years ago
I've checked in an updated build.gradle.  I've checked it on my machine, can 
you give it a try in your environment?

Original comment by andrew.pietsch on 16 Jul 2010 at 1:49