Comments (9)
Feature implemented. Will be included in the next release.
Original comment by [email protected]
on 30 Oct 2010 at 10:54
- Changed state: Fixed
from maven-replacer-plugin.
Released in 1.3.3.
Original comment by [email protected]
on 30 Oct 2010 at 3:03
- Added labels: 1.3.3
from maven-replacer-plugin.
I tested it. Useful extension, thanks!
One issue: outputDir seems to be relative to basedir. Can it be made relative
to the maven execution directory instead? For example, I would like my
processed files to go into a target/ subdirectory.
Original comment by [email protected]
on 1 Nov 2010 at 3:30
from maven-replacer-plugin.
I think I would need to add another option such as outputBaseDir which would be
the maven baseDir by default and you could just have it empty to be the
execution dir.
Would this work for you?
Original comment by [email protected]
on 2 Nov 2010 at 10:51
from maven-replacer-plugin.
Yes I think this would do the trick! Thanks
Original comment by [email protected]
on 3 Nov 2010 at 8:18
from maven-replacer-plugin.
Changes made to source. Just need to test and release.
Feel free to give the source code a try.
Just set your basedir to empty and use the new parameter: outputBasedir (note
the lower case d).
(The lower case was chosen because the basedir follows this convention).
Original comment by [email protected]
on 15 Nov 2010 at 4:24
from maven-replacer-plugin.
Released in version 1.3.4. Please test.
Original comment by [email protected]
on 15 Nov 2010 at 9:16
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:42
- Changed state: Released
from maven-replacer-plugin.
Related Issues (20)
- Why is <token> required when using <xpath>? HOT 3
- ReplacerMojo#replaceContents eats exceptions
- Can't replace with dynamic value form the properties file for the matched token HOT 2
- Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to com.google.code.maven_replacer_plugin.Replacement HOT 3
- maven-replacer-plugin don't include the license file HOT 5
- Use of outputFilePattern generate "Error creating directory" error HOT 5
- Add posbility to choose if you want to replace first ocurrence. HOT 4
- Add special characters in "value" HOT 1
- replacer cause jetty-maven-plugin jetty:run fails because dependencies in pom.xml are not included in its classpath HOT 3
- replacer add /null at basedir and cannot search file HOT 4
- NullPointerException when using inputFilePattern/outputFilePattern HOT 3
- StackOverflowError HOT 4
- Absolute path does not work in file/includes:include HOT 3
- xpath replaces text content with duplication HOT 3
- Naming of the plugin is not following the Apache Rules HOT 1
- XPath in Replacements leads to Duplicate Substitution of Value HOT 2
- Feature suggestion - ability to specify multiple files for the same replacement(s) HOT 1
- Paths relative to POM do not work HOT 2
- Patterns containing any of '^', '$', '<', '>' do not match HOT 3
- Error during XML replacement: Content is not allowed in prolog. HOT 6
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.