KEYCLOAK-7361 Add !community profile to prod-arguments.json

This causes the community profile to be disabled in the product build.

The product profile is active already, but unfortunately maven doesn't allow
chained profile activation, so there's no way to automatically disable the
community profile when the product profile is active.

An alternative solution would have been to add `-Dproduct` to the properties
list, but then it wouldn't be clear what was trying to be done with the extra
argument.

I've checked with `git grep -B3 '!product'`, and the only profiles that use the
`!product` property activation condition are the community profiles.
This commit is contained in:
Alex Szczuczko 2018-05-16 13:46:20 -06:00
parent e5a6dbd77a
commit e914b6fe8d

View file

@ -1,6 +1,6 @@
{
"mvn": {
"profiles": ["product", "jboss-release"],
"profiles": ["product", "!community", "jboss-release"],
"properties": {
"skipTests": "true"
}