Issue Details (XML | Word | Printable)

Key: GRAILS-5220
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Graeme Rocher
Reporter: Michael Lawler
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Grails

GRAILS_HOME required to be set when doing Maven builds?

Created: 13/Oct/09 07:04 AM   Updated: 10/Nov/09 06:56 AM   Resolved: 10/Nov/09 06:56 AM
Component/s: Project infrastructure
Affects Version/s: 1.2-M3
Fix Version/s: 1.2-M4

Time Tracking:
Not Specified


 Description  « Hide

Maven Integration documentation says GRAILS_HOME does not need to be set if using Maven to build.

But for 1.2-M3 -era maven builds, there are a lot of nasty looking log output if you dont set GRAILS_HOME

i.e.:

::::::::::::::::::::::::::::::::::::::::::::::
:: FAILED DOWNLOADS ::
:: ^ see resolution messages for details ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: javax.servlet#servlet-api;2.5!servlet-api.jar
:: javax.servlet#jsp-api;2.1!jsp-api.jar
:: javax.servlet#jstl;1.1.2!jstl.jar
::::::::::::::::::::::::::::::::::::::::::::::

If I have $GRAILS_HOME set to 1.2-M3 then these go away..



Michael Lawler added a comment - 13/Oct/09 07:10 AM

Sorry. I realise I should have created this as a subtask under the main Maven build integration task. Should I cloe and re-create or is there a way to move it?


Graeme Rocher added a comment - 10/Nov/09 06:56 AM

This was fixed in 1.2-M4 and if you use the 1.2-SNAPSHOT version of the Maven plugin for Grails all should be good