ijemmy / maven-replacer-plugin

Automatically exported from code.google.com/p/maven-replacer-plugin
MIT License
0 stars 0 forks source link

Absolute path does not work in file/includes:include #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The below code works as expected

<plugin>
  <groupId>com.google.code.maven-replacer-plugin</groupId>
  <artifactId>replacer</artifactId>
  <version>1.5.2</version>
  <configuration>
    <includes>
      <include>target/${project.build.finalName}/*.html</include>
    </includes>
    <replacements>
      ...
    </replacements>
  </configuration>
</plugin>

but not this one

<plugin>
  <groupId>com.google.code.maven-replacer-plugin</groupId>
  <artifactId>replacer</artifactId>
  <version>1.5.2</version>
  <configuration>
    <includes>
      <include>${project.build.directory}/${project.build.finalName}/*.html</include>
    </includes>
    <replacements>
      ...
    </replacements>
  </configuration>
</plugin>

Please note that the only difference is that in the second target was replaced 
by ${project.build.directory}, becoming an absolute path.

Original issue reported on code.google.com by beradrian on 26 Mar 2014 at 4:46

GoogleCodeExporter commented 9 years ago
Could you try a build from trunk HEAD?

Original comment by baker.st...@gmail.com on 27 Mar 2014 at 6:03

GoogleCodeExporter commented 9 years ago
I believe this has been fixed in Issue 69 which has yet to be released.

Original comment by baker.st...@gmail.com on 27 Mar 2014 at 6:04

GoogleCodeExporter commented 9 years ago
Released 1.5.3. Please test with this version.

Original comment by baker.st...@gmail.com on 16 Apr 2014 at 9:25