[GRADLE-2203] m9 build fails because LOCAL_MAVEN_REPO is not set Created: 29/Mar/12 Updated: 04/Jan/13 Resolved: 19/Aug/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.1-rc-1 |
Type: | Improvement | ||
Reporter: | Gradle Forums | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Description |
Trying to build without environment variable LOCAL_MAVEN_REPO fails with this output: FAILURE: Build aborted because of an internal error.
|
Comments |
Comment by Gradle Forums [ 29/Mar/12 ] |
It means that you reference an environment variable LOCAL_MAVEN_REPO from your Maven settings.xml. Gradle's Maven plugin reads that file to learn about the location of the local Maven repository. Either remove the reference to the environment variable, or set the environment variable. |
Comment by Gradle Forums [ 29/Mar/12 ] |
You know, that environment variable did look familiar. I do think though that this is a bug. It doesn't make sense to me that gradle fails because maven is not configured correctly. |
Comment by Adam Murdoch [ 29/Mar/12 ] |
Do you have the full stack trace for the failure? |