Closed GoogleCodeExporter closed 9 years ago
Thanks for the request. I'm working on a fairly major update which will include
this.
Original comment by baker.st...@gmail.com
on 4 Jun 2009 at 12:47
[deleted comment]
This change could radically change the plugin usage and impact on outputFile
functionality.
I am delaying this change unless there is high demand.
Original comment by baker.st...@gmail.com
on 6 Oct 2009 at 4:44
[deleted comment]
Will re-investigate whilst investigating Issue 14.
Original comment by baker.st...@gmail.com
on 6 Oct 2009 at 10:55
This issue will continue with the distinction from Issue 14 as handling
file/directory patterns, rather than individual files.
Original comment by baker.st...@gmail.com
on 12 Nov 2009 at 11:53
[deleted comment]
I just discovered this plugin on a google search looking for a maven replacment
for
ant replace plugin. This product looks perfect except for the fact that it
requries
to do this one file at a time.
I could only use the product if I could name a directory and it would every
file that
matches or if I could put some sort of file search expression.
Original comment by mendelso...@gmail.com
on 18 Dec 2009 at 3:04
[deleted comment]
I will prioritise this task again.
My concerns with implementing this feature to support file patterns like ants
is that
I will either have to rewrite what ant has done, or make use of ant which will
require users to either:
- include ant (at least whilst maven-replacer-plugin is not within the maven
repo) in
their dependencies.
- be forced to use plugin repository to install (See [InstallationGuide])
- or use a jar which has ant embedded (jar-with-dependencies), which will bloat
the
file size to over 1 MB.
I will still be attempting to implement this for you.
Original comment by baker.st...@gmail.com
on 20 Dec 2009 at 2:03
Implemented in next release
Original comment by baker.st...@gmail.com
on 20 Dec 2009 at 11:10
[deleted comment]
1.2-RC1 released with this feature
Original comment by baker.st...@gmail.com
on 20 Dec 2009 at 10:06
[deleted comment]
[deleted comment]
Current usage (in RC1):
<build>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.2-RC1</version>
<executions>
<execution>
<id>multiple-files</id>
<phase>test</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<includes>
<include>target/classes/**/multiple-files*.txt</include>
</includes>
<excludes>
<exclude>target/classes/excluded*.*</exclude>
</excludes>
<token>token</token>
<value>value</value>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Original comment by baker.st...@gmail.com
on 20 Dec 2009 at 10:10
Note: Do not attempt to use includes with the file param. If the file param is
given
it will only use that param and ignore the includes.
Original comment by baker.st...@gmail.com
on 20 Dec 2009 at 10:15
See: UpcomingUsageGuide
Original comment by baker.st...@gmail.com
on 21 Dec 2009 at 2:45
[deleted comment]
Just issue clean up.
Original comment by baker.st...@gmail.com
on 17 Sep 2012 at 12:40
Original issue reported on code.google.com by
briank...@gmail.com
on 29 May 2009 at 9:14