Delete the whole plugin configuration section, you don't need if you use the defaults which are ok in most situations. Then put your java sources in src/main/java, web.xml in src/main/resources/WEB-INF and your jsp or html pages in src/main/webapp. From there everything should work.
On 5/22/06, Leo L <[EMAIL PROTECTED]> wrote:
Hi! I have a problem and i can´t fixed it. I can´t find web.xml when i try to packaging my war. My App. is an EAR, which i have an ejb packaging, jar and a War: When I packaging the war, i get a Build Error: Error assembling War... I saw the thread http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.html and didn´t help me, because some configurations that i saw was for Maven 1, and i´m using mave 2. Here is my war(web) pom.xml ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <executions> <execution> <goals> <goal>war</goal> </goals> <configuration> <warSourceDirectory>src</warSourceDirectory> <webResources> <resource> <directory>WebRoot</directory> <filtering>false</filtering> <includes> <include>**/*.xml</include> </includes> </resource> </webResources> </configuration> </execution> </executions> </plugin> ... </plugins> </build> How can I fixed it?? Anyone can send me a pom.xml example with a configuration that works. Any help would be great... Regards, Leo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]