Hi Peter,

I had a problem when I tried to package the application, it gave me this
error:

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

Seems to be caused because there's no webapp/WEB-INF/web.xml file.

BTW, I haven't used grails in a while, mainly due to lack of maven
integration, and wasn't aware of all that's been going on in this regard
lately. If I can help you with anything to improve maven integration, I'll
gladly do so.

Regards.

2008/11/8 Peter Ledbrook <[EMAIL PROTECTED]>

>
> Hi,
>
> I have been working on the Maven integration for Grails, basically
> incorporating the Maven Grails Plugin and taking advantage of some changes
> in Grails itself. There is now an archetype available that you can use to
> create Grails projects without having to install Grails manually. The
> command line is:
>
>  mvn archetype:generate -DarchetypeGroupId=org.grails \
>    -DarchetypeArtifactId=grails-maven-archetype \
>    -DarchetypeVersion=1.0-SNAPSHOT \
>    -DarchetypeRepository=http://snapshots.repository.codehaus.org \
>    -DgroupId=example -DartifactId=my-app \
>
> Once you have a project, you can execute the standard phases: "clean",
> "compile", "test", and "package". It's a bit rough around the edges to say
> the least, so there might be a few problems.
>
> I'm interested in what people think and whether it plays ok with other
> plugins (I suspect mostly not). Issues should be raised as sub-tasks of:
>
>  http://jira.codehaus.org/browse/GRAILS-3547
>
> Regards,
>
> Peter
>
>
> --
> View this message in context:
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20395006.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to