keycloak-scim/distribution/feature-pack-builds/README.md

26 lines
1.8 KiB
Markdown
Raw Normal View History

2015-04-27 12:15:29 +00:00
Keycloak Feature Pack Builds
============================
The feature pack builds rely on WildFly Feature packs to create different combinations
of Keycloak server/adapter and WildFly web/full.
2015-04-27 14:37:54 +00:00
Types of Builds Created
2015-04-27 12:15:29 +00:00
--------------------
2015-04-27 14:37:54 +00:00
The three directories under feature-pack-builds are _adapter-only_, _server-only_, and _server-and-adapter_.
2015-04-27 12:15:29 +00:00
2015-04-27 14:37:54 +00:00
* **adapter-only** - A WildFly server with the Keycloak adapter subsystem added. This build is based on the WildFly Web Feature Pack. **keycloak-adapter-feature-pack** contains all the modules needed to run the Keycloak WildFly Adapter. Therefore, the build is _org.wildfly:wildfly-web-feature-pack_ + _org.keycloak:keycloak-adapter-feature-pack_.
* **server-only** - A WildFly server with the Keycloak adapter subsystem added. This build is based on the WildFly Full Feature Pack. **keycloak-server-feature-pack** contains all the modules needed to run the Keycloak Server without those already provided by the full WildFly Server. Therefore, the build is _org.wildfly:wildfly-feature-pack_ + _org.keycloak:keycloak-server-feature-pack_.
* **server-and-adapter** is the same thing as **server-only** except it also includes **keycloak-adapter-feature-pack**. Therefore, the build is _org.wildfly:wildfly-feature-pack_ + _org.keycloak:keycloak-server-feature-pack_ + _org.keycloak:keycloak-adapter-feature-pack_.
2015-04-27 12:15:29 +00:00
Building
--------
2015-04-27 14:37:54 +00:00
Each of the three types of builds in turn creates a build version and a dist version.
2015-04-27 12:15:29 +00:00
2015-04-27 14:37:54 +00:00
The build version is a server that uses the new WildFly 9 feature whereby maven artifacts are not bundled with the server. Instead, they are looked up in a repository.
2015-04-27 12:15:29 +00:00
2015-04-27 14:37:54 +00:00
For the dist version, these artifacts are copied into the server itself and no maven repo is required.
2015-04-27 12:15:29 +00:00
2015-04-27 14:37:54 +00:00
By default, the dist version does not get built. To build it, specify the jboss-release profile:
2015-04-27 12:15:29 +00:00
2015-04-27 14:37:54 +00:00
_mvn install -Pjboss-release_