Change filtering from true to false.

On Jan 17, 2008 12:03 PM, Rex Huang <[EMAIL PROTECTED]> wrote:

> by default in pom.xml there has properity <name>
> such as:
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>com.mycompany.app</groupId>
>    <artifactId>my-app</artifactId>
>    <packaging>jar</packaging>
>    <version>1.1-SNAPSHOT</version>
>    <name>my-app</name>
>
> and I use filtering like this:
>      <build>
>        <resources>
>          <resource>
>            <directory>src/main/resources</directory -->
>            <filtering>true</filtering>
>          </resource>
>        </resources>
>    </build>
>
> then files in src/main/resources has been replaced not as I wanted, such
> as
> in abc.txt:
> path=${name}.dat changed to path=my-app.dat
>
> actually I don't want it to be replaced, how can I do?
>



-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com

Reply via email to