Grails Maven Plugin

grails:create-domain-class fails.

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Ubuntu Hardy Heron
    Java 1.5
    Maven 2.0.8
    Glassfish V3 prelude

Description

I have created a simple project based on the archetype posted by Peter, but when I try to run grails:create-domain-class I get the following error:

[INFO] [grails:create-domain-class]
[INFO]
[INFO] Welcome to Grails 1.0.3 - http://grails.org/
[INFO] Licensed under Apache Standard License 2.0
[INFO] Grails home is set to: /home/pablosaavedra/applications/glassfishv3-prelude/glassfish/grails
[INFO]
[INFO] Base Directory: /home/pablosaavedra/projects/opensource/grails/application
[INFO] Note: No plugin scripts found
[INFO] Running script /home/pablosaavedra/applications/glassfishv3-prelude/glassfish/grails/scripts/CreateDomainClass.groovy
[INFO] Environment set to development
[INFO] /home/pablosaavedra/projects/opensource/grails/application/null/grails-lib not found.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Grails ended with a non null return code: 13

Activity

Hide
Peter Ledbrook added a comment -

This looks like GRAILS_HOME was set. I have added a wiki page that explains how to get started with the latest plugin:

http://www.grails.org/Maven+Integration

Show
Peter Ledbrook added a comment - This looks like GRAILS_HOME was set. I have added a wiki page that explains how to get started with the latest plugin: http://www.grails.org/Maven+Integration

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: