Hi,
I've built a Maven Grails project which can be build fine using command mvn grails:war
.
However, using the standard mvn install
fails to work - I get exceptions complaining that a util Java class (held under the grails-app/util folder) can't compile because it can't find one of the domain classes.
I'm not using any package structures, so the domain class isn't imported to the util class.
I suppose my first question is - does Maven fully support the building of a mavenised Grails project? Should I be expecting mvn install
to work?
My second question is - If i'm forced to build the app using mvn grails:war
- how do I enforce this when the parent project / pom has it as a dependant module?