Comments (20)
Thanks for the request. I'm working on a fairly major update which will include
this.
Original comment by [email protected]
on 4 Jun 2009 at 12:47
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
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 [email protected]
on 6 Oct 2009 at 4:44
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
Will re-investigate whilst investigating Issue 14.
Original comment by [email protected]
on 6 Oct 2009 at 10:55
from maven-replacer-plugin.
This issue will continue with the distinction from Issue 14 as handling
file/directory patterns, rather than individual files.
Original comment by [email protected]
on 12 Nov 2009 at 11:53
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
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 [email protected]
on 18 Dec 2009 at 3:04
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
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 [email protected]
on 20 Dec 2009 at 2:03
from maven-replacer-plugin.
Implemented in next release
Original comment by [email protected]
on 20 Dec 2009 at 11:10
- Added labels: 1.2
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
1.2-RC1 released with this feature
Original comment by [email protected]
on 20 Dec 2009 at 10:06
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
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 [email protected]
on 20 Dec 2009 at 10:10
from maven-replacer-plugin.
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 [email protected]
on 20 Dec 2009 at 10:15
from maven-replacer-plugin.
See: UpcomingUsageGuide
Original comment by [email protected]
on 21 Dec 2009 at 2:45
from maven-replacer-plugin.
[deleted comment]
from maven-replacer-plugin.
Just issue clean up.
Original comment by [email protected]
on 17 Sep 2012 at 12:40
- Changed state: Released
from maven-replacer-plugin.
Related Issues (11)
- does not preserve line feeds HOT 2
- Regex replacement over several lines HOT 5
- Change text content within archives HOT 5
- Regex-based replacing in multiple files HOT 1
- Please provide instructions or a way of downloading the plugin with just the POM HOT 4
- Option: Don't fail when file not found HOT 3
- The plugin is not deployed on Central HOT 2
- Enhancement: Output to a different filename HOT 6
- Using $ delimited tokens does not work HOT 5
- java.io.FileNotFoundException is thrown when parent path for <outputFile> doesn't exist HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-replacer-plugin.