os-maven-plugin icon indicating copy to clipboard operation
os-maven-plugin copied to clipboard

Can this plugin affect os-based profile activation?

Open OrangeDog opened this issue 8 years ago • 1 comments

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>

OrangeDog avatar Aug 02 '16 15:08 OrangeDog

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.

trustin avatar Apr 22 '18 07:04 trustin