Maven profiles - shared goals across profiles -


is possible have goals shared across profiles? have multiplatform pom should following:

  • windows? thing a.
  • mac or linux? thing b, ,
    • mac? set property xyz value 1.
    • linux x86? set property xyz value 2.
    • linux x64? set property xyz value 3.

it possible have 4 different profiles , work, however, except setting property xyz duplicated 3 times in pom. can rid of that?


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -