can't build grails war with "mvn install"

View: New views
2 Messages — Rating Filter:   Alert me  

can't build grails war with "mvn install"

by Daryoush Mehrtash-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: can't build grails war with "mvn install"

by Franck Theroude :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,


could please show us your pom.xml ?

regards,


   Franck THEROUDE
   Ekito - Consultant SI

   Siège :
   5, Avenue Albert Durand
   Aéropole Bâtiment 1
   31 700 Blagnac - France

   Agence Centre ville :
   13, rue de la bourse
   31 000 Toulouse - France

   Tel: +33 (0)5 61 31 62 40 /
   Fax: +33 (0)5 61 71 35 00

   www.ekito.fr
   ftheroude@...



Economisez du papier, n'imprimez ce mail que si nécessaire.



2009/6/18 Daryoush Mehrtash <DMehrtash@...>

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