« Return to Thread: can't build grails war with "mvn install"

can't build grails war with "mvn install"

by Daryoush Mehrtash-3 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

I am running with  Grails 1.1.1 and maven grails plugin 1.1-SNAPSHOT.     To build the project “mvn grails:war” works fine.  But when I try to do “mvn install” it fails with the following message:

 

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode

 

I need to do my build “mvn install” since the project is build with “mvn install” from the root (along with other java modules under my parent node).

 

Is there a way to get “mvn install” to work?   If not, is there a way to map install to “grails:war” in my grails project?

 

Thanks,


Daryoush

 « Return to Thread: can't build grails war with "mvn install"