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

iis - ASP.Net Core CreatedAtAction in HttpPost action returns 201 but entire request ends with 500 -

gcc - Neither ld wrap nor LD_PRELOAD working to intercept system call -

ssh - Vagrant Windows - ssh_exchange_identification: read: Connection reset by peer -