Hi,

I'm using Spring, Eclipse and maven2 as build tool. In my development
environment I use a Spring property overrider to set certain properties for
my computer whereas my co-workers use their.

The problem is when we do mvn clean:clean install. The my.properties is
included and will of course override spring. If I alter the pom file 

<resource>
  <filtering>false</filtering>
  <directory>src/main/resources</directory>
    <excludes>
      <exclude>**/my.properties</exclude>
    </excludes>
</resource>

The war file will be ok but when deployed with eclipse on tomcat the
my.properties will be exluded. Is there a way to include, exclude this file
in certain situations. Is pretty annoing to go back and comment out lines in
the pom for deployment.
-- 
View this message in context: 
http://www.nabble.com/Exclude-properties-in-certain-situations-tp22117356p22117356.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to