keycloak-scim/prod-arguments.json
Alex Szczuczko 52d8b759d3 KEYCLOAK-11293 Update theme build for keycloak-preview
`npm install` is changed to run at build time, removing the need for commiting
the js modules, which are getting a bit silly in size with the introduction of
account2. Appropriate changes to prod-arguments.json are included that should
enable the product build to function properly. The community and developer
builds will continue to work without the proxying PNC provides.

This also changes the themes pom to work with more than one `package.json`
file. The only other one at the moment is for the new account console /
account2.

The documentation file has been updated.

Since we're building directly out of the source directories, it is possible in
a local dev environment for unintended files (e.g. old compiled .js files),
placed within src/main/resources/, to be included in the themes jar. This
shouldn't be a problem for actual builds though, which use a fresh clone.

Other small changes include refactoring the npm setup stuff to a global
definition, and the introduction of some properties to avoid duplicating path
definitions everywhere.

This commit does not include the churn that would result from deleting the
existing commited modules.
2020-01-29 05:26:55 -03:00

36 lines
1.8 KiB
JSON

{
"mvn": {
"profiles": ["product", "!community", "jboss-release", "distribution-downloads"],
"properties": {
"skipTests": "true",
"npmRegistryURL": "$NPM_REGISTRY_INSTANCE_URL"
}
},
"pme": {
"properties": {
"scanActiveProfiles": "false",
"dependencySource": "BOMREST",
"strictAlignment": "false",
"dependencyManagement": "org.jboss.eap:jboss-eap-parent:$EAP_VERSION",
"dependencyRelocations.org.wildfly:@org.jboss.eap:": "$EAP_VERSION",
"dependencyExclusion.org.jboss.as:*@*": "$EAP6SUPPORTED_ORG_JBOSS_AS_JBOSS_AS_SERVER",
"dependencyOverride.org.infinispan:*@org.keycloak:keycloak-saml-as7-adapter": "5.2.23.Final-redhat-1",
"dependencyExclusion.org.osgi:org.osgi.core@*": "5.0.0",
"dependencyExclusion.org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec@*": "$EAP6SUPPORTED_ORG_JBOSS_SPEC_JAVAX_SERVLET_JBOSS_SERVLET_API_3_0_SPEC",
"dependencyExclusion.org.jboss:jboss-parent@*": "19.0.0.redhat-2",
"dependencyExclusion.org.jboss.web:jbossweb@*": "$EAP6SUPPORTED_ORG_JBOSS_WEB_JBOSSWEB",
"dependencyOverride.com.google.guava:guava@org.keycloak.testsuite:integration-arquillian": "",
"dependencyOverride.com.fasterxml.jackson.dataformat:*@*": "2.10.0.redhat-00002",
"dependencyOverride.org.jboss.logging:jboss-logging-processor@*": "",
"dependencyOverride.org.jboss.logging:jboss-logging@org.keycloak:keycloak-as7-subsystem": "",
"dependencyOverride.org.jboss.logging:jboss-logging@org.keycloak:keycloak-saml-as7-subsystem": ""
}
},
"prereqs": [
"npm config set fetch-retry-mintimeout 60000",
"npm config set fetch-retry-maxtimeout 120000",
"npm config set fetch-retries 10",
"npm config set strict-ssl=false",
"npm config set cafile /tmp/indy-proxy-ca.crt"
]
}