You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rebels_mascot <bp...@gmail.com> on 2006/07/14 16:19:27 UTC
[m2] Filters
I'm trying to specify different filter files during different phases, 1
during the main filtering process and the other during the test filters, so
I checked out the maven-resource-plugin and saw I could change the filters
for each goal or so I think I can, anyway this is what I tried but it ain't
working, any advice?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>testResources</goal>
</goals>
<configuration>
<filters>
<filter>
${basedir}/test/resources/filter-test-resources.properties
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
And have another execution for the resources goal with a different filter
file.
Can you specify a filter file in this way, is it a bug they're not working?
I can't use the other (normal) way because will have the same properties but
with different values, I have been using antrun but would prefer not to.
Thanks,
Brian
--
View this message in context: http://www.nabble.com/-m2--Filters-tf1943491.html#a5327412
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org