repaint-io / maven-tiles

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

Unable to use tiles with the flatten-maven-plugin #42

Closed talios closed 8 years ago

talios commented 8 years ago

When using the flatten-maven-plugin, tiles cannot be used as the plugin requires a "pom" packaging parent as it's resolving the tiles PROJECT pom, not the TILE itself.

[ERROR] Invalid packaging for parent POM com.theoryinpractise:halbuilder-release-tile:
1.0.4-SNAPSHOT, must be "pom" but is "tile" @ com.theoryinpractise:halbuilder-release-tile:
1.0.4-SNAPSHOT

It's possible we could get around this by injecting the parent with the tile classifer/type so the artifact gets resolved rather than the project pom.