Merge pull request #3984 from stianst/KEYCLOAK-3250-PROD-PROFILE
KEYCLOAK-3258 Add server dist changes to product profile
This commit is contained in:
commit
93c51c5aad
22 changed files with 234 additions and 83 deletions
|
@ -31,8 +31,12 @@
|
||||||
<outputDirectory/>
|
<outputDirectory/>
|
||||||
<filtered>true</filtered>
|
<filtered>true</filtered>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/module.xml</include>
|
<include>**/module.xml</include>
|
||||||
<include>**/MANIFEST.MF</include>
|
<include>**/MANIFEST.MF</include>
|
||||||
|
<include>**/template.xml</include>
|
||||||
|
<include>**/host.xml</include>
|
||||||
|
<include>**/host-master.xml</include>
|
||||||
|
<include>**/host-slave.xml</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
|
@ -42,6 +46,10 @@
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/module.xml</exclude>
|
<exclude>**/module.xml</exclude>
|
||||||
<exclude>**/MANIFEST.MF</exclude>
|
<exclude>**/MANIFEST.MF</exclude>
|
||||||
|
<exclude>**/template.xml</exclude>
|
||||||
|
<exclude>**/host.xml</exclude>
|
||||||
|
<exclude>**/host-master.xml</exclude>
|
||||||
|
<exclude>**/host-slave.xml</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
|
@ -58,5 +66,21 @@
|
||||||
<include>**/**</include>
|
<include>**/**</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>src/main/resources/identity</directory>
|
||||||
|
<outputDirectory>content/bin</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>**/product.conf</include>
|
||||||
|
</includes>
|
||||||
|
<filtered>true</filtered>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>src/main/resources/identity/module</directory>
|
||||||
|
<outputDirectory>modules/system/layers/keycloak/org/jboss/as/product/${product.slot}</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*</include>
|
||||||
|
</includes>
|
||||||
|
<filtered>true</filtered>
|
||||||
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<build xmlns="urn:wildfly:feature-pack-build:1.1">
|
<build xmlns="urn:wildfly:feature-pack-build:1.1">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<artifact name="org.wildfly:wildfly-feature-pack" />
|
<artifact name="${feature.parent}" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<config>
|
<config>
|
||||||
<standalone template="configuration/standalone/template.xml" subsystems="configuration/standalone/subsystems.xml" output-file="standalone/configuration/standalone.xml" />
|
<standalone template="configuration/standalone/template.xml" subsystems="configuration/standalone/subsystems.xml" output-file="standalone/configuration/standalone.xml" />
|
||||||
|
|
|
@ -47,27 +47,10 @@
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-wildfly-server-subsystem</artifactId>
|
<artifactId>keycloak-wildfly-server-subsystem</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.wildfly</groupId>
|
|
||||||
<artifactId>wildfly-feature-pack</artifactId>
|
|
||||||
<type>zip</type>
|
|
||||||
<!-- Need to exlcude that in order to use the right guava version for drools -->
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>com.google.guava</groupId>
|
|
||||||
<artifactId>guava</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<executions></executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
||||||
|
@ -111,4 +94,51 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>community</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>!product</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<feature.parent>org.wildfly:wildfly-feature-pack</feature.parent>
|
||||||
|
<xmlns.domain>urn:jboss:domain:4.0</xmlns.domain>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.wildfly</groupId>
|
||||||
|
<artifactId>wildfly-feature-pack</artifactId>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>product</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>product</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<feature.parent>org.jboss.eap:wildfly-feature-pack</feature.parent>
|
||||||
|
<xmlns.domain>urn:jboss:domain:4.1</xmlns.domain>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jboss.eap</groupId>
|
||||||
|
<artifactId>wildfly-feature-pack</artifactId>
|
||||||
|
<version>${eap.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<domain xmlns="urn:jboss:domain:4.0">
|
<domain xmlns="${xmlns.domain}">
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
is also started by this host controller file. The other instance must be started
|
is also started by this host controller file. The other instance must be started
|
||||||
via host-slave.xml
|
via host-slave.xml
|
||||||
-->
|
-->
|
||||||
<host name="master" xmlns="urn:jboss:domain:4.0">
|
<host name="master" xmlns="${xmlns.domain}">
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<host xmlns="urn:jboss:domain:4.0">
|
<host xmlns="${xmlns.domain}">
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
via host-slave.xml
|
via host-slave.xml
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<host name="master" xmlns="urn:jboss:domain:4.0">
|
<host name="master" xmlns="${xmlns.domain}">
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<server xmlns="urn:jboss:domain:4.0">
|
<server xmlns="${xmlns.domain}">
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
slot=keycloak
|
|
|
@ -1,2 +1,2 @@
|
||||||
Any provider implementation jars and libraries in this folder will be loaded by Keycloak. See the providers
|
Any provider implementation jars and libraries in this folder will be loaded. See the providers section in the
|
||||||
section in the documentation for more details.
|
documentation for more details.
|
|
@ -1,3 +1,3 @@
|
||||||
JBoss-Product-Release-Name: ${product.name}
|
JBoss-Product-Release-Name: ${product.name}
|
||||||
JBoss-Product-Release-Version: ${product.version}
|
JBoss-Product-Release-Version: ${product.version}
|
||||||
JBoss-Product-Console-Slot: main
|
JBoss-Product-Console-Slot: ${product.wildfly.console.slot}
|
|
@ -15,7 +15,7 @@
|
||||||
~ See the License for the specific language governing permissions and
|
~ See the License for the specific language governing permissions and
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
<module xmlns="urn:jboss:module:1.3" name="org.jboss.as.product" slot="keycloak">
|
<module xmlns="urn:jboss:module:1.3" name="org.jboss.as.product" slot="${product.slot}">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="jboss.api" value="private"/>
|
<property name="jboss.api" value="private"/>
|
||||||
</properties>
|
</properties>
|
|
@ -0,0 +1 @@
|
||||||
|
slot=${product.slot}
|
|
@ -39,21 +39,23 @@
|
||||||
<outputDirectory/>
|
<outputDirectory/>
|
||||||
<filtered>false</filtered>
|
<filtered>false</filtered>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/*.sh</exclude>
|
<exclude>bin/*.sh</exclude>
|
||||||
<exclude>**/module.xml</exclude>
|
<exclude>module.xml</exclude>
|
||||||
<exclude>welcome-content/**</exclude>
|
<exclude>welcome-content/**</exclude>
|
||||||
<exclude>appclient</exclude>
|
|
||||||
<exclude>appclient/**</exclude>
|
<exclude>appclient/**</exclude>
|
||||||
|
<exclude>bin/appclient.*</exclude>
|
||||||
<exclude>copyright.txt</exclude>
|
<exclude>copyright.txt</exclude>
|
||||||
<exclude>README.txt</exclude>
|
<exclude>README.txt</exclude>
|
||||||
<exclude>themes/**</exclude>
|
<exclude>themes/**</exclude>
|
||||||
|
<exclude>version.txt</exclude>
|
||||||
|
<exclude>${profileExcludes}</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>target/${project.build.finalName}</directory>
|
<directory>target/${project.build.finalName}</directory>
|
||||||
<outputDirectory/>
|
<outputDirectory/>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.sh</include>
|
<include>bin/*.sh</include>
|
||||||
</includes>
|
</includes>
|
||||||
<fileMode>0755</fileMode>
|
<fileMode>0755</fileMode>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
@ -88,4 +90,13 @@
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
|
||||||
|
<files>
|
||||||
|
<file>
|
||||||
|
<source>src/main/version.txt</source>
|
||||||
|
<outputDirectory/>
|
||||||
|
<filtered>true</filtered>
|
||||||
|
</file>
|
||||||
|
</files>
|
||||||
|
|
||||||
</assembly>
|
</assembly>
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>keycloak-${project.version}</finalName>
|
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
|
@ -69,7 +67,7 @@
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>assembly.xml</descriptor>
|
<descriptor>${assemblyFile}</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<recompressZippedFiles>true</recompressZippedFiles>
|
<recompressZippedFiles>true</recompressZippedFiles>
|
||||||
<finalName>${project.build.finalName}</finalName>
|
<finalName>${project.build.finalName}</finalName>
|
||||||
|
@ -107,4 +105,44 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>community</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>!product</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<assemblyFile>assembly.xml</assemblyFile>
|
||||||
|
</properties>
|
||||||
|
<build>
|
||||||
|
<finalName>keycloak-${project.version}</finalName>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>product</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>product</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<assemblyFile>assembly.xml</assemblyFile>
|
||||||
|
<profileExcludes>%regex[(providers.*)|(docs/contrib.*)|(docs/examples.*)|(docs/schema.*)]</profileExcludes>
|
||||||
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.wildfly</groupId>
|
||||||
|
<artifactId>wildfly-dist</artifactId>
|
||||||
|
<type>zip</type>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<finalName>${product.name}-${product.filename.version}</finalName>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
1
distribution/server-dist/src/main/version.txt
Normal file
1
distribution/server-dist/src/main/version.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
${product.name.full} - Version ${product.version}
|
|
@ -26,34 +26,6 @@
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
<includeBaseDirectory>false</includeBaseDirectory>
|
||||||
|
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet>
|
|
||||||
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/modules/system/layers/keycloak</directory>
|
|
||||||
<outputDirectory>modules/system/add-ons/keycloak</outputDirectory>
|
|
||||||
<includes>
|
|
||||||
<include>**/**</include>
|
|
||||||
</includes>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
|
||||||
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/themes</directory>
|
|
||||||
<outputDirectory>themes</outputDirectory>
|
|
||||||
<includes>
|
|
||||||
<include>**/**</include>
|
|
||||||
</includes>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
|
||||||
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/providers</directory>
|
|
||||||
<outputDirectory>providers</outputDirectory>
|
|
||||||
<includes>
|
|
||||||
<include>**/**</include>
|
|
||||||
</includes>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
|
||||||
<directory>../../</directory>
|
|
||||||
<includes>
|
|
||||||
<include>License.html</include>
|
|
||||||
</includes>
|
|
||||||
<outputDirectory></outputDirectory>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/cli</directory>
|
<directory>${project.build.directory}/cli</directory>
|
||||||
<includes>
|
<includes>
|
||||||
|
@ -62,21 +34,21 @@
|
||||||
<outputDirectory>bin</outputDirectory>
|
<outputDirectory>bin</outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/bin</directory>
|
<directory>${project.build.directory}/unpacked/${serverDistDir}</directory>
|
||||||
|
<outputDirectory/>
|
||||||
<includes>
|
<includes>
|
||||||
<include>add-user-keycloak.*</include>
|
<include>**/**</include>
|
||||||
<include>federation-sssd-setup.sh</include>
|
|
||||||
<include>kcadm.*</include>
|
|
||||||
<include>kcreg.*</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
<outputDirectory>bin</outputDirectory>
|
<excludes>
|
||||||
|
<exclude>modules/**</exclude>
|
||||||
|
</excludes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${project.build.directory}/unpacked/keycloak-${project.version}/bin/client</directory>
|
<directory>${project.build.directory}/unpacked/${serverDistDir}/modules/system/layers/keycloak</directory>
|
||||||
|
<outputDirectory>modules/system/${identityType}/keycloak</outputDirectory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>keycloak*</include>
|
<include>**/**</include>
|
||||||
</includes>
|
</includes>
|
||||||
<outputDirectory>bin/client</outputDirectory>
|
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
|
||||||
|
|
|
@ -37,9 +37,22 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<commonFilesToInclude>
|
||||||
|
${serverDistDir}/modules/system/layers/keycloak/**,
|
||||||
|
${serverDistDir}/themes/**,
|
||||||
|
${serverDistDir}/providers/**,
|
||||||
|
${serverDistDir}/License.html,
|
||||||
|
${serverDistDir}/bin/client/keycloak*,
|
||||||
|
${serverDistDir}/bin/*keycloak*,
|
||||||
|
${serverDistDir}/bin/kc*,
|
||||||
|
${serverDistDir}/bin/federation-sssd-setup.sh,
|
||||||
|
${serverDistDir}/bin/migrate*
|
||||||
|
</commonFilesToInclude>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>keycloak-overlay-${project.version}</finalName>
|
<finalName>keycloak-overlay-${project.version}</finalName>
|
||||||
<resources></resources>
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -77,6 +90,7 @@
|
||||||
<artifactId>keycloak-server-dist</artifactId>
|
<artifactId>keycloak-server-dist</artifactId>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
|
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
|
||||||
|
<includes>${filesToInclude}</includes>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
</artifactItems>
|
</artifactItems>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -169,4 +183,38 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>community</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>!product</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<identityType>add-ons</identityType>
|
||||||
|
<serverDistDir>keycloak-${project.version}</serverDistDir>
|
||||||
|
<filesToInclude>${commonFilesToInclude}</filesToInclude>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>product</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>product</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<identityType>layers</identityType>
|
||||||
|
<serverDistDir>${product.name}-${product.filename.version}</serverDistDir>
|
||||||
|
<filesToInclude>
|
||||||
|
${commonFilesToInclude},
|
||||||
|
${serverDistDir}/bin/product.conf,
|
||||||
|
${serverDistDir}/modules/layers.conf</filesToInclude>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
7
pom.xml
7
pom.xml
|
@ -42,6 +42,7 @@
|
||||||
<!-- WildFly -->
|
<!-- WildFly -->
|
||||||
<jboss.as.version>7.2.0.Final</jboss.as.version>
|
<jboss.as.version>7.2.0.Final</jboss.as.version>
|
||||||
<wildfly.version>10.0.0.Final</wildfly.version>
|
<wildfly.version>10.0.0.Final</wildfly.version>
|
||||||
|
<eap.version>7.0.5.GA-redhat-2</eap.version>
|
||||||
<version.org.wildfly.security.wildfly-elytron>1.1.0.Beta32</version.org.wildfly.security.wildfly-elytron>
|
<version.org.wildfly.security.wildfly-elytron>1.1.0.Beta32</version.org.wildfly.security.wildfly-elytron>
|
||||||
<version.org.wildfly.security.elytron-web.undertow-server>1.0.0.Beta14</version.org.wildfly.security.elytron-web.undertow-server>
|
<version.org.wildfly.security.elytron-web.undertow-server>1.0.0.Beta14</version.org.wildfly.security.elytron-web.undertow-server>
|
||||||
|
|
||||||
|
@ -1508,6 +1509,9 @@
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<product.name>Keycloak</product.name>
|
<product.name>Keycloak</product.name>
|
||||||
|
<product.name.full>Keycloak</product.name.full>
|
||||||
|
<product.slot>keycloak</product.slot>
|
||||||
|
<product.wildfly.console.slot>main</product.wildfly.console.slot>
|
||||||
<product.name-html>\u003Cdiv class="kc-logo-text"\u003E\u003Cspan\u003EKeycloak\u003C\u002Fspan\u003E\u003C\u002Fdiv\u003E</product.name-html>
|
<product.name-html>\u003Cdiv class="kc-logo-text"\u003E\u003Cspan\u003EKeycloak\u003C\u002Fspan\u003E\u003C\u002Fdiv\u003E</product.name-html>
|
||||||
<product.version>${project.version}</product.version>
|
<product.version>${project.version}</product.version>
|
||||||
<product.default-profile>community</product.default-profile>
|
<product.default-profile>community</product.default-profile>
|
||||||
|
@ -1522,7 +1526,10 @@
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
|
<product.name.full>Red Hat Single Sign-On</product.name.full>
|
||||||
<product.name>rh-sso</product.name>
|
<product.name>rh-sso</product.name>
|
||||||
|
<product.slot>rh-sso</product.slot>
|
||||||
|
<product.wildfly.console.slot>eap</product.wildfly.console.slot>
|
||||||
<product.name-html>\u003Cstrong\u003ERed Hat\u003C\u002Fstrong\u003E\u003Csup\u003E\u00AE\u003C\u002Fsup\u003E Single Sign On</product.name-html>
|
<product.name-html>\u003Cstrong\u003ERed Hat\u003C\u002Fstrong\u003E\u003Csup\u003E\u00AE\u003C\u002Fsup\u003E Single Sign On</product.name-html>
|
||||||
<product.version>${project.version}</product.version>
|
<product.version>${project.version}</product.version>
|
||||||
<product.default-profile>product</product.default-profile>
|
<product.default-profile>product</product.default-profile>
|
||||||
|
|
|
@ -218,6 +218,27 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-resources</id>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-resources</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>target/docs</outputDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/docs</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
@ -244,7 +265,7 @@
|
||||||
|
|
||||||
<reportOutputDirectory>${project.basedir}/target/apidocs-rest/swagger</reportOutputDirectory>
|
<reportOutputDirectory>${project.basedir}/target/apidocs-rest/swagger</reportOutputDirectory>
|
||||||
<useStandardDocletOptions>false</useStandardDocletOptions>
|
<useStandardDocletOptions>false</useStandardDocletOptions>
|
||||||
<additionalparam> -skipUiFiles -apiVersion 1 -includeResourcePrefixes org.keycloak.services.resources.admin,org.keycloak.protocol.oidc -docBasePath /apidocs -apiBasePath http://localhost:8080/auth -apiInfoFile ${project.basedir}/src/docs/swagger/apiinfo.json</additionalparam>
|
<additionalparam> -skipUiFiles -apiVersion 1 -includeResourcePrefixes org.keycloak.services.resources.admin,org.keycloak.protocol.oidc -docBasePath /apidocs -apiBasePath http://localhost:8080/auth -apiInfoFile ${project.basedir}/target/docs/swagger/apiinfo.json</additionalparam>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>javadoc</goal>
|
<goal>javadoc</goal>
|
||||||
|
@ -289,7 +310,7 @@
|
||||||
<goal>process-asciidoc</goal>
|
<goal>process-asciidoc</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sourceDirectory>${project.basedir}/src/docs/asciidoc</sourceDirectory>
|
<sourceDirectory>${project.basedir}/target/docs/asciidoc</sourceDirectory>
|
||||||
<sourceDocumentName>index.adoc</sourceDocumentName>
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
||||||
<outputDirectory>${project.basedir}/target/apidocs-rest/output</outputDirectory>
|
<outputDirectory>${project.basedir}/target/apidocs-rest/output</outputDirectory>
|
||||||
<backend>html5</backend>
|
<backend>html5</backend>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
= Keycloak Admin REST API
|
= ${product.name.full} Admin REST API
|
||||||
|
|
||||||
== Overview
|
== Overview
|
||||||
This is a REST API reference for the Keycloak Admin
|
This is a REST API reference for the ${product.name.full} Admin
|
||||||
|
|
||||||
=== Version information
|
=== Version information
|
||||||
Version: 1
|
Version: 1
|
||||||
|
@ -10,4 +10,3 @@ Version: 1
|
||||||
Host: localhost:8080
|
Host: localhost:8080
|
||||||
BasePath: /auth
|
BasePath: /auth
|
||||||
Schemes: HTTP
|
Schemes: HTTP
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"title": "Keycloak Admin REST API",
|
"title": "${product.name.full} Admin REST API",
|
||||||
"description": "This is a REST API reference for the Keycloak Admin"
|
"description": "This is a REST API reference for the ${product.name.full} Admin"
|
||||||
}
|
}
|
Loading…
Reference in a new issue