http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

warSourceDirectory is the configuration element to set to WebRoot.

On 10/23/05, Hong Xing <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> In my previous projects, I have the following project layout:
>
> my-webapp
> |-- pom.xml
> |-- WebRoot
> |   |-- index.jsp
> |   `-- WEB-INF
> |       `-- classes
> |       `-- lib
> `-- src
>
> When I used "mvn package" to package my war, it can't find my WebRoot and 
> failed.
> So how can I change the m2's defalut webapp dir to my own webroot dir in 
> pom.xml?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to