Grails

GRAILS_HOME required to be set when doing Maven builds?

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.2-M3
  • Fix Version/s: 1.2-M4
  • Component/s: Project infrastructure
  • Labels:
    None

Description

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..

Activity

Hide
Michael Lawler added a comment -

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?

Show
Michael Lawler added a comment - 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?
Hide
Graeme Rocher added a comment -

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

Show
Graeme Rocher added a comment - 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

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: