diff --git a/distribution/demo-dist/assembly.xml b/distribution/demo-dist/assembly.xml index f00bfea444..5a6be78a2a 100755 --- a/distribution/demo-dist/assembly.xml +++ b/distribution/demo-dist/assembly.xml @@ -14,7 +14,6 @@ keycloak **/*.sh - standalone/configuration/standalone-keycloak.xml @@ -25,6 +24,20 @@ 0755 + + ${project.build.directory}/unpacked/keycloak-server-overlay-${project.version} + keycloak + + standalone/configuration/standalone-keycloak.xml + + + + ${project.build.directory}/unpacked/keycloak-wf9-adapter-${project.version} + keycloak + + standalone/configuration/standalone-keycloak.xml + + ${project.build.directory}/unpacked/keycloak-docs-${project.version} docs @@ -34,5 +47,11 @@ examples + + + ${project.build.directory}/unpacked/standalone.xml + keycloak/standalone/configuration + + diff --git a/distribution/demo-dist/pom.xml b/distribution/demo-dist/pom.xml index 37e4bdc727..e5394f1f84 100755 --- a/distribution/demo-dist/pom.xml +++ b/distribution/demo-dist/pom.xml @@ -16,7 +16,12 @@ org.keycloak - keycloak-server-dist + keycloak-server-overlay + zip + + + org.keycloak + keycloak-wf9-adapter-dist zip @@ -63,7 +68,7 @@ - unpack-server-overlay + unpack-server prepare-package unpack @@ -74,7 +79,24 @@ org.keycloak keycloak-server-overlay zip - ${project.build.directory}/unpacked/wildfly-${wildfly.version} + ${project.build.directory}/unpacked/keycloak-server-overlay-${project.version} + + + + + + unpack-adapter + prepare-package + + unpack + + + + + org.keycloak + keycloak-wf9-adapter-dist + zip + ${project.build.directory}/unpacked/keycloak-wf9-adapter-${project.version} @@ -134,7 +156,7 @@ standalone.xml - ${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration + ${project.build.directory}/unpacked/ diff --git a/distribution/demo-dist/src/main/keycloak-server.json b/distribution/demo-dist/src/main/keycloak-server.json deleted file mode 100644 index 9f0d03ea5d..0000000000 --- a/distribution/demo-dist/src/main/keycloak-server.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "admin": { - "realm": "master" - }, - - "eventsStore": { - "provider": "jpa", - "jpa": { - "exclude-events": [ "REFRESH_TOKEN" ] - } - }, - - "realm": { - "provider": "jpa" - }, - - "user": { - "provider": "jpa" - }, - - "userSessions": { - "provider" : "mem" - }, - - "realmCache": { - "provider": "mem" - }, - - "userCache": { - "provider": "mem", - "mem": { - "maxSize": 20000 - } - }, - - "timer": { - "provider": "basic" - }, - - "theme": { - "default": "keycloak", - "staticMaxAge": 2592000, - "cacheTemplates": true, - "cacheThemes": true, - "folder": { - "dir": "${jboss.server.config.dir}/themes" - } - }, - - "login": { - "provider": "freemarker" - }, - - "account": { - "provider": "freemarker" - }, - - "email": { - "provider": "freemarker" - }, - - "scheduled": { - "interval": 900 - }, - - "connectionsJpa": { - "default": { - "dataSource": "java:jboss/datasources/KeycloakDS", - "databaseSchema": "update" - } - } -} \ No newline at end of file diff --git a/distribution/demo-dist/src/main/providers/README.txt b/distribution/demo-dist/src/main/providers/README.txt deleted file mode 100644 index a6d523b43f..0000000000 --- a/distribution/demo-dist/src/main/providers/README.txt +++ /dev/null @@ -1,2 +0,0 @@ -Any provider implementation jars and libraries in this folder will be loaded by Keycloak. See the providers -section in the documentation for more details. \ No newline at end of file diff --git a/distribution/demo-dist/src/main/themes/README.txt b/distribution/demo-dist/src/main/themes/README.txt deleted file mode 100644 index 705b73ac69..0000000000 --- a/distribution/demo-dist/src/main/themes/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -Themes to configure the look and feel of login pages and account management console. It's not recommended to -modify existing the built-in themes, instead you should create a new theme that extends a built-in theme. See the theme -section in the documentation for more details. \ No newline at end of file diff --git a/distribution/demo-dist/src/main/xslt/standalone.xsl b/distribution/demo-dist/src/main/xslt/standalone.xsl index 5de72afe94..bc0233a99e 100755 --- a/distribution/demo-dist/src/main/xslt/standalone.xsl +++ b/distribution/demo-dist/src/main/xslt/standalone.xsl @@ -39,11 +39,9 @@ - - true - auth - + auth + diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/sun/jdk/jgss/main/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/sun/jdk/jgss/main/module.xml new file mode 100644 index 0000000000..6df03ff4ba --- /dev/null +++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/sun/jdk/jgss/main/module.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/distribution/pom.xml b/distribution/pom.xml index 3b7a66f869..68f19b540e 100755 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -28,13 +28,13 @@ adapters - + demo-dist docs-dist examples-dist modules proxy-dist server-dist - + server-overlay src-dist subsystem-war feature-packs diff --git a/distribution/server-overlay/assembly.xml b/distribution/server-overlay/assembly.xml index f8424b1d93..6efb409247 100755 --- a/distribution/server-overlay/assembly.xml +++ b/distribution/server-overlay/assembly.xml @@ -10,20 +10,38 @@ - ${project.build.directory}/unpacked/modules - modules + ${project.build.directory}/unpacked/keycloak-${project.version}/modules/system/layers/base + modules/system/layers/base + + com/google/zxing/** + de/idyl/winzipaes/** + net/iharder/** + org/freemarker/** + org/keycloak/** + org/liquibase/** + org/mongodb/** + org/twitter4j/** + sun/jdk/jgss/** + - ${project.build.directory}/unpacked/content + ${project.build.directory}/unpacked/keycloak-${project.version}/content - ../../forms/common-themes/src/main/resources/theme + ${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/themes standalone/configuration/themes **/** + + ${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/providers + standalone/configuration/providers + + **/** + + ../../ @@ -31,25 +49,19 @@ + - ${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration/standalone.xml + ${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/standalone.xml standalone/configuration standalone-keycloak.xml - src/main/keycloak-server.json + ${project.build.directory}/unpacked/keycloak-${project.version}/standalone/configuration/keycloak-server.json standalone/configuration - - src/main/themes/README.txt - standalone/configuration/themes - - - src/main/providers/README.txt - standalone/configuration/providers - + diff --git a/distribution/server-overlay/pom.xml b/distribution/server-overlay/pom.xml index a066b2c095..7ab8862188 100755 --- a/distribution/server-overlay/pom.xml +++ b/distribution/server-overlay/pom.xml @@ -10,49 +10,27 @@ keycloak-server-overlay pom - Keycloak Server Overlay + Keycloak Server Overlay Distribution org.keycloak - keycloak-jboss-modules - zip - - - org.wildfly - wildfly-dist + keycloak-server-dist zip keycloak-overlay-${project.version} + org.apache.maven.plugins maven-dependency-plugin - unpack-standalone-xml - prepare-package - - unpack - - - - - org.wildfly - wildfly-dist - zip - ${project.build.directory}/unpacked - - - */standalone/configuration/standalone.xml - - - - unpack-module + unpack-server-dist prepare-package unpack @@ -61,9 +39,9 @@ org.keycloak - keycloak-jboss-modules + keycloak-server-dist zip - ${project.build.directory}/unpacked/modules + ${project.build.directory}/unpacked @@ -71,32 +49,7 @@ - org.codehaus.mojo - xml-maven-plugin - 1.0 - - - generate-resources - package - - transform - - - - - ${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration - src/main/xslt/standalone.xsl - - standalone.xml - - ${project.build.directory}/unpacked/wildfly-${wildfly.version}/standalone/configuration - - - - - - - + org.apache.maven.plugins maven-assembly-plugin @@ -109,9 +62,11 @@ assembly.xml - target - target/assembly/work + true + ${project.build.finalName} false + ${project.build.directory} + ${project.build.directory}/assembly/work gnu diff --git a/distribution/server-overlay/src/main/keycloak-server.json b/distribution/server-overlay/src/main/keycloak-server.json deleted file mode 100644 index 9f0d03ea5d..0000000000 --- a/distribution/server-overlay/src/main/keycloak-server.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "admin": { - "realm": "master" - }, - - "eventsStore": { - "provider": "jpa", - "jpa": { - "exclude-events": [ "REFRESH_TOKEN" ] - } - }, - - "realm": { - "provider": "jpa" - }, - - "user": { - "provider": "jpa" - }, - - "userSessions": { - "provider" : "mem" - }, - - "realmCache": { - "provider": "mem" - }, - - "userCache": { - "provider": "mem", - "mem": { - "maxSize": 20000 - } - }, - - "timer": { - "provider": "basic" - }, - - "theme": { - "default": "keycloak", - "staticMaxAge": 2592000, - "cacheTemplates": true, - "cacheThemes": true, - "folder": { - "dir": "${jboss.server.config.dir}/themes" - } - }, - - "login": { - "provider": "freemarker" - }, - - "account": { - "provider": "freemarker" - }, - - "email": { - "provider": "freemarker" - }, - - "scheduled": { - "interval": 900 - }, - - "connectionsJpa": { - "default": { - "dataSource": "java:jboss/datasources/KeycloakDS", - "databaseSchema": "update" - } - } -} \ No newline at end of file diff --git a/distribution/server-overlay/src/main/providers/README.txt b/distribution/server-overlay/src/main/providers/README.txt deleted file mode 100644 index a6d523b43f..0000000000 --- a/distribution/server-overlay/src/main/providers/README.txt +++ /dev/null @@ -1,2 +0,0 @@ -Any provider implementation jars and libraries in this folder will be loaded by Keycloak. See the providers -section in the documentation for more details. \ No newline at end of file diff --git a/distribution/server-overlay/src/main/themes/README.txt b/distribution/server-overlay/src/main/themes/README.txt deleted file mode 100644 index 705b73ac69..0000000000 --- a/distribution/server-overlay/src/main/themes/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -Themes to configure the look and feel of login pages and account management console. It's not recommended to -modify existing the built-in themes, instead you should create a new theme that extends a built-in theme. See the theme -section in the documentation for more details. \ No newline at end of file diff --git a/distribution/server-overlay/src/main/xslt/standalone.xsl b/distribution/server-overlay/src/main/xslt/standalone.xsl deleted file mode 100755 index dd17b23830..0000000000 --- a/distribution/server-overlay/src/main/xslt/standalone.xsl +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE - h2 - - sa - sa - - - - - - - - - - - - true - auth - - - - - - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 68471dc512..a8dcdb715b 100755 --- a/pom.xml +++ b/pom.xml @@ -1106,6 +1106,12 @@ ${project.version} zip + + org.keycloak + keycloak-wf9-adapter-dist + ${project.version} + zip + org.keycloak keycloak-server-overlay