repaint-io / maven-tiles

Injecting maven configurations by composition rather than inheritance
154 stars 32 forks source link

Create mechanism to share properties/configuration between pom.xml and its attached tile.xml #55

Closed akanter closed 4 years ago

akanter commented 8 years ago

When creating a checkstyle artifact jar with a tile attached, I had to repeat a lot of the configuration between the pom.xml and the tile.xml. It'd be neat if there were some streamlined way to pass configuration from the pom to the tile.

stickycode commented 4 years ago

There is now, you can use standard filtering to replace values in the tile.xml, just enable filtering in the tile configuration

<confguration>
  <filtering>true</filtering>
</configuration>

@talios @rvowles can close this one...