[ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id default @ line 71, column 12
I don't use maven, so this is only a guess:
- you have 4 profile elements in your XML document
- two of them are explicitly identified (
test and
prod), and two are not
- the profile elements without the
id sub-element are implicitly given the
id default (I don't know if this is actually true)
- whatever is processing the document determines you have two profiles with the
id of
default