Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvn grails:war does not include plugin resources/classes to the war file #33

Open
muskacirca opened this issue Oct 18, 2013 · 2 comments

Comments

@muskacirca
Copy link

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
Copy link

bavobbr commented Nov 21, 2013

Same issue here, I use remoting plugin but it is not bundled in the war

@sreeraaman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants