Hi Adam,
 what's the command you supply ?? 
 'm2 war:war' or 'm2 package' (it should be the latter)
 this might be a stupid question, but is the '
ApplicationResources.properties' file
located at the 'src/main/resources' location in yout project ?
 Dennis


 On 7/13/05, Adam Hardy <[EMAIL PROTECTED]> wrote: 
> 
> I have exhausted the mailing list archives and the documentation on the
> website and I cannot see why my .properties file is not being included
> in my war, since my pom.xml appears to be correct. The file is not
> copied into the target directory nor is it included in the war file.
> 
> I see from the archives that other people appear to be managing this fine.
> 
> Here is my pom.xml (shortened):
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.mystuff</groupId>
> <artifactId>mystuff-web</artifactId>
> <packaging>war</packaging>
> <version>1.0-SNAPSHOT</version>
> <dependencies>
> <dependency>........
> </dependency>
> </dependencies>
> <build>
> <finalName>mystuff-web</finalName>
> <resources>
> <resource>
> <directory>src/main/resources</directory>
> <includes>
> <include>ApplicationResources.properties</include>
> </includes>
> </resource>
> </resources>
> </build>
> </project>
> 
> 
> I tried it with a targetPath element too, but with no joy either.
> 
> Thanks
> Adam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to