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