os-maven-plugin
os-maven-plugin copied to clipboard
Can this plugin affect os-based profile activation?
Would it be possible for this plugin (as an extension) to change the properties used by maven-enforcer-plugin, for example in profile activation.
I'd really like this to work on all linux distributions, not just Red Hat-based ones:
<profiles>
<profile>
<id>linux-x86_64</id>
<activation>
<os>
<name>linux</name>
<arch>x86_64</arch>
</os>
</activation>
Tried to get this work somehow, but couldn't figure out yet. It seems like profiles are activated even before the extension is executed. I also tried property-based activation, but it doesn't seem to work either.