Details
-
Type:
Sub-task
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:linux-2.6.24-21
Description
I tried setting up a multi-module project with one grails module and one plain java module. Because " Aggregator projects require 'pom' as packaging", I had to create a parent pom. So now, my structure is:
/bugreport/pom.xml
/bugreport/grailsapp/pom.xml
/bugreport/grailsapp/grails-app
/bugreport/grailsapp/...
/bugreport/util/pom.xml
/bugreport/util/src/main/java/...
When I do a mvn install on the parent project, I get the error message:
Compilation error: srcdir "/home/eric/all/bugreport/grails-app/conf" does not exist!
Attached file contains the entire zipped project/s.
Looks like the grails project is looking for sources relative to the parent project location, not relative to itself. Not sure if this is expected behavior, or a bug.
I have deployed a new version of the plugin that has a quick fix for this. I'm leaving the issue open because I need to implement a proper fix that doesn't rely on a system property, but you should be able to make progress with the latest version.