Don't know if this message went through to users @ maven, sending again...
Nope. I have no resources defined in <build>, it is using the standard
maven directory structure to find resources (src/main/resources).
Nothing really interesting in the POM, it is using the war plugin defaults:
<plugin>
<groupId>org.apache.maven.
plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
resource1.xml is in src/main/resources. The resulting WAR looks like this:
-META-INF
- maven
- services
- MANIFEST.MF
-WEB-INF
-lib
-classes
- resource1.xml
-web.xml
-etc
-resource1.xml
I don't want resource1.xml again at the top level. Any way to remove that?
On Thu, Jul 1, 2010 at 12:50 AM, CONSULTANT Composants-Chaaba (93) <
[email protected]> wrote:
> Hye,
> Did you define your resources in <build></build>.
> Can we see your pom file.
>
> -------- Message original --------
> Sujet : WAR packaging question
> De : CassUser CassUser <[email protected]>
> Pour : [email protected]
> Date : 30/06/2010 22:48
>
> When the maven war plugin packages the maven project, the war includes my
>> xml resource in the root directory as well as in the WEB-INF/classes.
>>
>> Is there any way to not include the one in the root directory of the WAR?
>>
>> Thanks!
>>
>>
>>
>
>