Output directory for replacer plugib
Closed this issue · 7 comments
GoogleCodeExporter commented
I'm using maven replacer plugin http://code.google.com/p/maven-replacer-plugin/
with below configuration
<configuration>
<includes>
<include>api/**/*.java</include>
</includes>
<token>@Start.*?@End</token>
<value></value>
<regexFlags>
<regexFlag>DOTALL</regexFlag>
</regexFlags>
<outputBasedir>publicapi</outputBasedir>
</configuration>
My project structure is api/src/main/java/...xxx.java. I want replacer plugin
to generate files in this structure - publicapi/src/main/java/...xxx.java
whereas with current configuration, plugin generates files like this
-publicapi/api/src/main/java/...xxx.java
I don't want "api" directory in between. Is there any property available in
this plugin which can solve my problem.
Original issue reported on code.google.com by Dubey.pa...@gmail.com
on 14 May 2012 at 11:17
GoogleCodeExporter commented
[deleted comment]
GoogleCodeExporter commented
[deleted comment]
GoogleCodeExporter commented
I'm at work at the moment so I cant verify this.
But have you tried using <basedir>api</basedir> and keeping your outputBasedir
as publicapi? You will also need to change your include to not include api
Original comment by baker.st...@gmail.com
on 15 May 2012 at 2:33
GoogleCodeExporter commented
Have you already found a solution? I'm confronted with the same problem...
Original comment by andi.t...@googlemail.com
on 12 Jun 2012 at 2:02
GoogleCodeExporter commented
[deleted comment]
GoogleCodeExporter commented
Try this:
<configuration>
<filesToInclude>**/*.java</filesToInclude>
<token>@Start.*?@End</token>
<value></value>
<regexFlags>
<regexFlag>DOTALL</regexFlag>
</regexFlags>
<basedir>${basedir}/api</basedir>
<outputDir>.</outputDir>
<outputBasedir>publicapi</outputBasedir>
</configuration>
Original comment by baker.st...@gmail.com
on 12 Jun 2012 at 11:47
GoogleCodeExporter commented
Closing old issue with no response.
Original comment by baker.st...@gmail.com
on 8 Aug 2012 at 12:26
- Changed state: WontFix