mvn grails:war does not include plugin resources/classes to the war file
Opened this issue · 2 comments
muskacirca commented
We are trying to build our grails 2.3.0 project with maven but we can't manage to get plugins resources and classes in the generated war file.
Steps to reproduce:
- grails create-app test
- grails create-pom com.mycompany
- mvn install or mvn grails:war
What we observed is:
- in non fork mode, plugins are not compiled at all and everything produced files are directly under target directory
- in fork mode, plugins seems to be compiled, every produced files are also directly under target folder
In both mode, plugins files are not included into the war
When doing grails war however, build files are not directly under target folder but under target/work/ and the war file does correctly contains the plugins files.
For information: we have tested it under maven 2 and maven 3 and JDK 7.
bavobbr commented
Same issue here, I use remoting plugin but it is not bundled in the war
sreeraaman commented
Same issue here too. Except Tomcat Plugin all other plugins like Resources Plugin, Hibernate plugin, Scaffolding, cache are missing. Hope 2.3.3 plugin resolves this issue.