You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andy Pahne <ap...@net22.de> on 2008/07/17 17:46:33 UTC
resource filtering destroys JPEG images
I have a resource folder that contains some JPEG images. Each of the
images is altered after process-resources.
I tried to exclude jpgs from filtering like that:
<!-- Alles außer JPEGs Filtern -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>**/*.jpg</exclude>
</excludes>
</resource>
<!-- und nochmal ohne Filter für JPEGs -->
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*.jpg</include>
</includes>
</resource>
But no luck...
Then I found that jpeg should not be filtered at all by default:
http://www.mail-archive.com/commits@maven.apache.org/msg15806.html
But they are. It's reproducible...
Any ideas?
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: resource filtering destroys JPEG images
Posted by Andy Pahne <ap...@net22.de>.
forget about it: I forgot to mvn clean...
it works as expected
Andy Pahne schrieb:
>
> I have a resource folder that contains some JPEG images. Each of the
> images is altered after process-resources.
>
> I tried to exclude jpgs from filtering like that:
>
>
> <!-- Alles außer JPEGs Filtern -->
> <resource>
> <directory>src/main/resources</directory>
> <filtering>true</filtering>
> <excludes>
> <exclude>**/*.jpg</exclude>
> </excludes>
> </resource>
>
> <!-- und nochmal ohne Filter für JPEGs -->
> <resource>
> <directory>src/main/resources</directory>
> <filtering>false</filtering>
> <includes>
> <include>**/*.jpg</include>
> </includes>
> </resource>
>
>
> But no luck...
>
> Then I found that jpeg should not be filtered at all by default:
> http://www.mail-archive.com/commits@maven.apache.org/msg15806.html
>
>
> But they are. It's reproducible...
>
>
> Any ideas?
>
>
> Andy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
Andy Pahne
System Architektur & Software Design
net22 GmbH
Ehrenbergweg 24
32760 Detmold
http://www.net22.de
Email ap@net22.de
Telefon +49 (5231) 58 06 40
Mobil +49 (174) 171 68 70
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org