Meiko,
I'm surprised you are getting any resources copied during your build,
you seem to be excluding them all:
<excludes>
<exclude>**/*</exclude>
</excludes>
What resource file is being copied without filtering being applied?
And what does your filter file look like?
William
-----Original Message-----
From: meiko [mailto:[EMAIL PROTECTED]
Sent: Friday, 31 August 2007 9:01 AM
To: [email protected]
Subject: [***POSSIBLE SPAM***] - filtering properties like pom.* dont
work - Email has different SMTP TO: and MIME TO: fields in the email
addresses
I have a problem with filtering.
- properties like maven.* or pom.* or project.*(e.g. ${pom.version})
dont work
- other properties like ${basedir} or ${java.version} work What could be
the reason ?
Thank you for helping a frustrated maven-user ;-)
here is my pom:
<?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
http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>trilobita-game</artifactId>
<groupId>trilobita</groupId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>trilobita</groupId>
<artifactId>trilobita-frontend</artifactId>
<packaging>war</packaging>
<version>1.0</version>
<build>
<filters>
<filter>
${basedir}/src/main/resources/components.properties
</filter>
</filters>
<resources>
<resource>
<directory>/src/main/resources/</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<webResources>
<webResource>
<directory>
${basedir}/src/main/webapp
</directory>
<filtering>true</filtering>
</webResource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-seam-ui</artifactId>
<version>1.2.1.GA</version>
</dependency>
</dependencies>
</project>
--
View this message in context:
http://www.nabble.com/filtering-properties-like-pom.*-dont-work-tf435738
4s177.html#a12417818
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]