-
Notifications
You must be signed in to change notification settings - Fork 16
/
pom.xml
executable file
·94 lines (77 loc) · 4.52 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-docker-quickstart</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>Keycloak - SDK Docker Quickstart</name>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<!-- Keycloak dependencies -->
<keycloak.version>20.0.2</keycloak.version>
<!-- Docker settings -->
<docker.keepRunning>true</docker.keepRunning>
<docker.keycloak.groupId>quay.io/keycloak</docker.keycloak.groupId>
<docker.keycloak.artifactId>keycloak</docker.keycloak.artifactId>
<docker.keycloak.image.name>keycloak</docker.keycloak.image.name>
<docker.keycloak.user>admin</docker.keycloak.user>
<docker.keycloak.password>admin</docker.keycloak.password>
<docker.keycloak.port.test>8080</docker.keycloak.port.test>
<docker.keycloak.port.internal>8080</docker.keycloak.port.internal>
<docker.keycloak.port.external>8080</docker.keycloak.port.external>
<docker.keycloak.port.debug.internal>9090</docker.keycloak.port.debug.internal>
<docker.keycloak.port.debug.external>9090</docker.keycloak.port.debug.external>
<docker.keycloak.time.test>120000</docker.keycloak.time.test>
<!-- Docker logging -->
<docker.keycloak.showLogs>true</docker.keycloak.showLogs>
<docker.keycloak.logAll>true</docker.keycloak.logAll>
<docker.keycloak.verbose>true</docker.keycloak.verbose>
<!-- Docker Arguments -->
<docker.keycloak.run.cmd.arg.1>start-dev</docker.keycloak.run.cmd.arg.1>
<docker.keycloak.run.cmd.arg.2>--import-realm</docker.keycloak.run.cmd.arg.2>
<!-- Docker Volumes Building -->
<!-- Realm -->
<docker.keycloak.volume.internal.realm-config>/realm-config</docker.keycloak.volume.internal.realm-config>
<docker.keycloak.volume.external.realm-config>/opt/keycloak/data/import</docker.keycloak.volume.external.realm-config>
<!-- Keycloak Theme -->
<docker.keycloak.volume.internal.theme>/keycloak-theme-${project.version}.jar</docker.keycloak.volume.internal.theme>
<docker.keycloak.volume.external.theme>/opt/keycloak/providers/keycloak-theme-${project.version}.jar</docker.keycloak.volume.external.theme>
<!-- Keycloak Identity Providers -->
<docker.keycloak.volume.internal.providers.authenticator.1>/keycloak-identity-provider-authenticator-${project.version}.jar</docker.keycloak.volume.internal.providers.authenticator.1>
<docker.keycloak.volume.external.providers.authenticator.1>/opt/keycloak/providers/keycloak-identity-provider-authenticator-${project.version}.jar</docker.keycloak.volume.external.providers.authenticator.1>
<!-- Docker - Binding volumes -->
<docker.keycloak.bind.volume.realm-config>../keycloak-assembly/src/main${docker.keycloak.volume.internal.realm-config}:${docker.keycloak.volume.external.realm-config}</docker.keycloak.bind.volume.realm-config>
<docker.keycloak.bind.volume.theme>../keycloak-theme/target${docker.keycloak.volume.internal.theme}:${docker.keycloak.volume.external.theme}</docker.keycloak.bind.volume.theme>
<docker.keycloak.bind.volume.providers.authenticator.1>../keycloak-identity-providers/keycloak-identity-provider-authenticator/target${docker.keycloak.volume.internal.providers.authenticator.1}:${docker.keycloak.volume.external.providers.authenticator.1}</docker.keycloak.bind.volume.providers.authenticator.1>
<!-- Docker - Image saving options -->
<docker.keycloak.saveName>custom/keycloak:${project.version}</docker.keycloak.saveName>
<docker.keycloak.saveFile>custom-keycloak-server</docker.keycloak.saveFile>
<docker.keycloak.skipSave>false</docker.keycloak.skipSave>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.40.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>keycloak-theme</module>
<module>keycloak-identity-providers</module>
<module>keycloak-assembly</module>
<module>keycloak-integration-tests</module>
</modules>
</project>