-
Notifications
You must be signed in to change notification settings - Fork 4
/
pom.xml
198 lines (192 loc) · 7.96 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.pac4j.demo</groupId>
<artifactId>jee-pac4j-cdi-demo</artifactId>
<version>7.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>jee-pac4j CDI demo</name>
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<deploy.container.http.port>8080</deploy.container.http.port>
<java.min.version>11</java.min.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Plugin versioning -->
<embedded-payara-maven-plugin.version>1.0.13</embedded-payara-maven-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<payara-micro-maven-plugin.version>1.4.0</payara-micro-maven-plugin.version>
<!-- Dependency versions -->
<dependency.pac4j.version>5.7.7</dependency.pac4j.version>
<dependency.jee-pac4j.version>7.1.0</dependency.jee-pac4j.version>
<dependency.javaee.version>8.0.1</dependency.javaee.version>
<dependency.logback.version>1.5.12</dependency.logback.version>
<dependency.payara-micro.version>6.2022.1</dependency.payara-micro.version>
<dependency.payara-embedded-all.version>6.2024.10</dependency.payara-embedded-all.version>
</properties>
<dependencies>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>javaee-pac4j</artifactId>
<version>${dependency.jee-pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-javaee</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-oauth</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-cas</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-saml</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-gae</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-oidc</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-http</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-ldap</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-jwt</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-sql</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-mongo</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-kerberos</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-couch</artifactId>
<version>${dependency.pac4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${dependency.logback.version}</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${dependency.javaee.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>fish.payara.extras</groupId>
<artifactId>payara-micro</artifactId>
<version>${dependency.payara-micro.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<release>${java.min.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>co.luminositylabs.oss.maven.plugins</groupId>
<artifactId>embedded-payara-maven-plugin</artifactId>
<version>${embedded-payara-maven-plugin.version}</version>
<configuration>
<port>${deploy.container.http.port}</port>
</configuration>
<executions>
<execution>
<phase>none</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<app>target/${project.build.finalName}.${project.packaging}</app>
<contextRoot>/</contextRoot>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>fish.payara.extras</groupId>
<artifactId>payara-embedded-all</artifactId>
<version>${dependency.payara-embedded-all.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>fish.payara.maven.plugins</groupId>
<artifactId>payara-micro-maven-plugin</artifactId>
<version>${payara-micro-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>start</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItem>
<groupId>fish.payara.extras</groupId>
<artifactId>payara-micro</artifactId>
<version>${dependency.payara-micro.version}</version>
</artifactItem>
<deployWar>true</deployWar>
<commandLineOptions>
<option>
<key>--port</key>
<value>${deploy.container.http.port}</value>
</option>
</commandLineOptions>
</configuration>
</plugin>
</plugins>
</build>
</project>