Details
diff --git a/distribution/feature-packs/server-feature-pack/assembly.xml b/distribution/feature-packs/server-feature-pack/assembly.xml
index 47c914f..1e142ae 100644
--- a/distribution/feature-packs/server-feature-pack/assembly.xml
+++ b/distribution/feature-packs/server-feature-pack/assembly.xml
@@ -39,6 +39,7 @@
<filtered>true</filtered>
<includes>
<include>**/module.xml</include>
+ <include>**/MANIFEST.MF</include>
</includes>
</fileSet>
<fileSet>
@@ -47,6 +48,7 @@
<filtered>false</filtered>
<excludes>
<exclude>**/module.xml</exclude>
+ <exclude>**/MANIFEST.MF</exclude>
</excludes>
</fileSet>
<fileSet>
diff --git a/distribution/feature-packs/server-feature-pack/pom.xml b/distribution/feature-packs/server-feature-pack/pom.xml
index 0fc42f8..a638aa2 100644
--- a/distribution/feature-packs/server-feature-pack/pom.xml
+++ b/distribution/feature-packs/server-feature-pack/pom.xml
@@ -30,6 +30,11 @@
<name>Keycloak Feature Pack: Server</name>
<packaging>pom</packaging>
+ <properties>
+ <product.name>Keycloak</product.name>
+ <product.version>${project.version}</product.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/product.conf b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/product.conf
new file mode 100644
index 0000000..030791c
--- /dev/null
+++ b/distribution/feature-packs/server-feature-pack/src/main/resources/content/bin/product.conf
@@ -0,0 +1 @@
+slot=keycloak
diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/product/keycloak/dir/META-INF/MANIFEST.MF b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/product/keycloak/dir/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..dbaf97f
--- /dev/null
+++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/product/keycloak/dir/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+JBoss-Product-Release-Name: ${product.name}
+JBoss-Product-Release-Version: ${product.version}
+JBoss-Product-Console-Slot: main
diff --git a/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/product/keycloak/module.xml b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/product/keycloak/module.xml
new file mode 100644
index 0000000..4367111
--- /dev/null
+++ b/distribution/feature-packs/server-feature-pack/src/main/resources/modules/system/layers/base/org/jboss/as/product/keycloak/module.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+
+<module xmlns="urn:jboss:module:1.1" name="org.jboss.as.product" slot="keycloak">
+
+ <resources>
+ <resource-root path="dir"/>
+ <!-- Insert resources here -->
+ </resources>
+
+ <dependencies>
+ </dependencies>
+</module>