pom.xml 11.6 KB
Newer Older
1
2
3
4
<!-- Copyright (c) 2014 Michael Simon. All rights reserved. This program 
	and the accompanying materials are made available under the terms of the 
	GNU Public License v3.0 which accompanies this distribution, and is available 
	at http://www.gnu.org/licenses/gpl.html Contributors: Michael Simon - initial -->
michael.simon's avatar
michael.simon committed
5
6
7
8
9
<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>edu.kit.scc</groupId>
	<artifactId>bwreg</artifactId>
michael.simon's avatar
michael.simon committed
10
	<version>2.7.5</version>
michael.simon's avatar
michael.simon committed
11
12
13
14
15
16
17
18
19
	<packaging>pom</packaging>
	<name>bw Services Registration Webapp</name>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>

	<modules>
20
		<module>bwreg-entities</module>
michael.simon's avatar
michael.simon committed
21
22
23
24
25
26
27
28
		<module>bwreg-jpa</module>
		<module>bwreg-service</module>
		<module>bwreg-webapp</module>
		<module>bwreg-ear</module>
	</modules>

	<dependencyManagement>
		<dependencies>
michael.simon's avatar
michael.simon committed
29
30
31
32
33
34
35
36
			<dependency>
				<groupId>org.wildfly.bom</groupId>
    			<artifactId>wildfly-javaee8-with-tools</artifactId>
    			<version>17.0.1.Final</version>
    			<type>pom</type>
				<scope>import</scope>
				<optional>false</optional>
			</dependency>
michael.simon's avatar
michael.simon committed
37
38
39
			<dependency>
				<groupId>javax</groupId>
				<artifactId>javaee-api</artifactId>
michael.simon's avatar
michael.simon committed
40
				<version>8.0</version>
michael.simon's avatar
michael.simon committed
41
42
			</dependency>
			<dependency>
michael.simon's avatar
michael.simon committed
43
44
45
				<groupId>jakarta.xml.bind</groupId>
				<artifactId>jakarta.xml.bind-api</artifactId>
				<version>3.0.0</version>
michael.simon's avatar
michael.simon committed
46
			</dependency>
michael.simon's avatar
michael.simon committed
47
48
49
50
51
			<dependency>
				<groupId>com.sun.xml.bind</groupId>
				<artifactId>jaxb-impl</artifactId>
				<version>3.0.0</version>
			</dependency>			
michael.simon's avatar
michael.simon committed
52
53
			<dependency>
				<groupId>org.opensaml</groupId>
michael.simon's avatar
michael.simon committed
54
				<artifactId>opensaml-saml-api</artifactId>
michael.simon's avatar
michael.simon committed
55
				<version>3.4.6</version>
michael.simon's avatar
michael.simon committed
56
57
58
59
			</dependency>
			<dependency>
				<groupId>org.opensaml</groupId>
				<artifactId>opensaml-saml-impl</artifactId>
michael.simon's avatar
michael.simon committed
60
				<version>3.4.6</version>
michael.simon's avatar
michael.simon committed
61
62
63
64
65
			</dependency>
			<dependency>
				<groupId>org.apache.velocity</groupId>
				<artifactId>velocity</artifactId>
				<version>1.7</version>
michael.simon's avatar
michael.simon committed
66
67
			</dependency>
			<dependency>
68
69
				<groupId>commons-beanutils</groupId>
				<artifactId>commons-beanutils</artifactId>
michael.simon's avatar
michael.simon committed
70
				<version>1.9.4</version>
michael.simon's avatar
michael.simon committed
71
			</dependency>
michael.simon's avatar
michael.simon committed
72
73
74
			<dependency>
				<groupId>org.apache.httpcomponents</groupId>
				<artifactId>httpclient</artifactId>
75
				<version>4.5.13</version>
michael.simon's avatar
michael.simon committed
76
77
78
79
80
81
82
83
84
			</dependency>
			<dependency>
				<groupId>edu.vt.middleware</groupId>
				<artifactId>vt-ldap</artifactId>
				<version>3.3.7</version>
			</dependency>
			<dependency>
				<groupId>org.primefaces</groupId>
				<artifactId>primefaces</artifactId>
85
86
87
88
89
90
				<version>10.0.0</version>
			</dependency>
			<dependency>
				<groupId>org.primefaces.extensions</groupId>
				<artifactId>primefaces-extensions</artifactId>
				<version>10.0.1</version>
michael.simon's avatar
michael.simon committed
91
92
93
94
			</dependency>
			<dependency>
				<groupId>org.primefaces.themes</groupId>
				<artifactId>all-themes</artifactId>
michael.simon's avatar
michael.simon committed
95
				<version>1.0.10</version>
michael.simon's avatar
michael.simon committed
96
			</dependency>
97
98
99
100
101
			<dependency>
			     <groupId>org.webjars</groupId>
			     <artifactId>font-awesome</artifactId>
			     <version>5.12.0</version>
			</dependency>
michael.simon's avatar
michael.simon committed
102
103
104
			<dependency>
				<groupId>org.omnifaces</groupId>
				<artifactId>omnifaces</artifactId>
ls1947's avatar
ls1947 committed
105
				<version>3.6.1</version>
michael.simon's avatar
michael.simon committed
106
107
108
109
			</dependency>
			<dependency>
				<groupId>commons-fileupload</groupId>
				<artifactId>commons-fileupload</artifactId>
michael.simon's avatar
michael.simon committed
110
				<version>1.4</version>
michael.simon's avatar
michael.simon committed
111
112
113
114
115
116
117
118
119
120
121
			</dependency>
			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>2.2</version>
			</dependency>
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-api</artifactId>
				<version>1.7.2</version>
			</dependency>
122

michael.simon's avatar
michael.simon committed
123
124
125
126
			<dependency>
				<groupId>org.drools</groupId>
				<artifactId>drools-bom</artifactId>
				<type>pom</type>
michael.simon's avatar
michael.simon committed
127
				<version>6.2.0.Final</version>
michael.simon's avatar
michael.simon committed
128
129
				<scope>import</scope>
			</dependency>
michael.simon's avatar
michael.simon committed
130
131
132
133
134
			<dependency>
				<groupId>org.eclipse.jdt.core.compiler</groupId>
				<artifactId>ecj</artifactId>
				<version>4.3.1</version>
			</dependency>
michael.simon's avatar
michael.simon committed
135
136
137
138
139

			<dependency>
				<artifactId>dom4j</artifactId>
				<groupId>dom4j</groupId>
				<version>1.6.1</version>
140
			</dependency>
michael.simon's avatar
michael.simon committed
141
142
143
144
145
146
147
148
149
150
151
152
153
			<dependency>
				<groupId>com.fasterxml.jackson.core</groupId>
				<artifactId>jackson-databind</artifactId>
				<version>2.2.3</version>
			</dependency>
			<dependency>
				<groupId>jcifs</groupId>
				<artifactId>jcifs</artifactId>
				<version>1.3.17</version>
			</dependency>
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcpkix-jdk15on</artifactId>
michael.simon's avatar
michael.simon committed
154
				<version>1.67</version>
michael.simon's avatar
michael.simon committed
155
			</dependency>
michael.simon's avatar
michael.simon committed
156
157
158
159
160
			<dependency>
				<groupId>ch.ethz.ganymed</groupId>
				<artifactId>ganymed-ssh2</artifactId>
				<version>262</version>
			</dependency>
161
162
163
164
165
			<dependency>
				<groupId>org.apache.jclouds.api</groupId>
				<artifactId>openstack-keystone</artifactId>
				<version>1.9.0</version>
			</dependency>
166
167
168
169
170
171
172
173
174
175
			<dependency>
				<groupId>org.jboss.resteasy</groupId>
				<artifactId>resteasy-validator-provider-11</artifactId>
				<version>3.0.3.Final</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.resteasy</groupId>
				<artifactId>resteasy-jaxrs</artifactId>
				<version>3.0.3.Final</version>
			</dependency>
michael.simon's avatar
michael.simon committed
176
177
178
179
			
			<dependency>
			    <groupId>com.nimbusds</groupId>
			    <artifactId>oauth2-oidc-sdk</artifactId>
180
			    <version>9.2.2</version>
michael.simon's avatar
michael.simon committed
181
182
			</dependency>
			
michael.simon's avatar
michael.simon committed
183
184
185
186
		</dependencies>
	</dependencyManagement>

	<repositories>
michael.simon's avatar
michael.simon committed
187
188
		<repository>
			<id>central</id>
189
			<url>https://repo1.maven.org/maven2/</url>
michael.simon's avatar
michael.simon committed
190
    	</repository>	
michael.simon's avatar
michael.simon committed
191
192
193
194
195
196
197
198
199
200
201
202
203
		<repository>
			<id>java.net</id>
			<name>Java.net Repository for Maven</name>
			<url>https://maven.java.net/content/repositories/releases</url>
		</repository>
		<repository>
			<id>maven2-repository.jboss.com</id>
			<name>JBoss Repository for Maven</name>
			<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
		</repository>
		<repository>
			<id>prime-repo</id>
			<name>PrimeFaces Maven Repository</name>
204
			<url>https://repository.primefaces.org</url>
michael.simon's avatar
michael.simon committed
205
206
207
208
209
210
211
212
213
214
215
216
217
			<layout>default</layout>
		</repository>
		<repository>
			<id>shibboleth.internet2.edu</id>
			<name>Internet2</name>
			<layout>default</layout>
			<url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</repositories>

michael.simon's avatar
michael.simon committed
218
219
220
221
222
223
224
	<distributionManagement>
		<repository>
			<id>${deploy-repo.id}</id>
			<url>${deploy-repo.url}</url>
		</repository>
	</distributionManagement>
  
michael.simon's avatar
michael.simon committed
225
226
227
228
229
230
231
232
	<build>
		<defaultGoal>install</defaultGoal>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
michael.simon's avatar
michael.simon committed
233
234
						<source>11</source>
						<target>11</target>
michael.simon's avatar
michael.simon committed
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
						<encoding>UTF-8</encoding>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-ejb-plugin</artifactId>
					<version>2.3</version>
					<configuration>
						<ejbVersion>3.1</ejbVersion>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-eclipse-plugin</artifactId>
					<version>2.9</version>
					<configuration>
						<wtpversion>2.0</wtpversion>
						<downloadSources>true</downloadSources>
						<additionalProjectFacets>
michael.simon's avatar
michael.simon committed
254
							<jst.jsf>2.3</jst.jsf>
michael.simon's avatar
michael.simon committed
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
						</additionalProjectFacets>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<profiles>
		<profile>
			<id>prod</id>
			<properties>
				<bwreg.name.suffix></bwreg.name.suffix>
				<bwreg.faces.stage>Production</bwreg.faces.stage>
				<bwreg.hibernate.dialect>org.hibernate.dialect.PostgreSQLDialect</bwreg.hibernate.dialect>
				<bwreg.hibernate.datasource>java:/ds/bwidmDS</bwreg.hibernate.datasource>
michael.simon's avatar
michael.simon committed
270
				<bwreg.theme>kit-theme</bwreg.theme>
michael.simon's avatar
michael.simon committed
271
272
273
274
275
276
				<bwreg.css>std.css</bwreg.css>
				<bwreg.template>layout-template.xhtml</bwreg.template>
				<bwreg.template.head-bar>head-bar.xhtml</bwreg.template.head-bar>
				<bwreg.template.left-side-bar>left-side-bar.xhtml</bwreg.template.left-side-bar>
				<bwreg.template.left-side-bar-admin>left-side-bar-admin.xhtml</bwreg.template.left-side-bar-admin>
				<bwreg.template.footer>footer.xhtml</bwreg.template.footer>
277
278
				<bwreg.jboss-singleton>org.jboss.as.clustering.singleton</bwreg.jboss-singleton>
				<bwreg.jboss-singleton-activator>edu.kit.scc.webreg.service.timer.ClusterSingletonServiceActivator</bwreg.jboss-singleton-activator>
michael.simon's avatar
michael.simon committed
279
280
281
282
283
284
285
286
287
			</properties>
		</profile>
		<profile>
			<id>dev</id>
			<properties>
				<bwreg.name.suffix>-dev</bwreg.name.suffix>
				<bwreg.faces.stage>Development</bwreg.faces.stage>
				<bwreg.hibernate.dialect>org.hibernate.dialect.PostgreSQLDialect</bwreg.hibernate.dialect>
				<bwreg.hibernate.datasource>java:/ds/bwidmDS</bwreg.hibernate.datasource>
michael.simon's avatar
michael.simon committed
288
				<bwreg.theme>kit-theme</bwreg.theme>
michael.simon's avatar
michael.simon committed
289
290
291
292
293
294
				<bwreg.css>std.css</bwreg.css>
				<bwreg.template>layout-template.xhtml</bwreg.template>
				<bwreg.template.head-bar>head-bar.xhtml</bwreg.template.head-bar>
				<bwreg.template.left-side-bar>left-side-bar.xhtml</bwreg.template.left-side-bar>
				<bwreg.template.left-side-bar-admin>left-side-bar-admin.xhtml</bwreg.template.left-side-bar-admin>
				<bwreg.template.footer>footer.xhtml</bwreg.template.footer>
295
296
				<bwreg.jboss-singleton>org.jboss.as.clustering.singleton</bwreg.jboss-singleton>
				<bwreg.jboss-singleton-activator>edu.kit.scc.webreg.service.timer.ClusterSingletonServiceActivator</bwreg.jboss-singleton-activator>
michael.simon's avatar
michael.simon committed
297
298
299
			</properties>
		</profile>

300
301
		<profile>
			<id>prod-wildfly</id>
302
303
304
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
305
306
307
308
309
			<properties>
				<bwreg.name.suffix></bwreg.name.suffix>
				<bwreg.faces.stage>Production</bwreg.faces.stage>
				<bwreg.hibernate.dialect>org.hibernate.dialect.PostgreSQLDialect</bwreg.hibernate.dialect>
				<bwreg.hibernate.datasource>java:/ds/bwidmDS</bwreg.hibernate.datasource>
michael.simon's avatar
michael.simon committed
310
				<bwreg.theme>kit-theme</bwreg.theme>
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
				<bwreg.css>std.css</bwreg.css>
				<bwreg.template>layout-template.xhtml</bwreg.template>
				<bwreg.template.head-bar>head-bar.xhtml</bwreg.template.head-bar>
				<bwreg.template.left-side-bar>left-side-bar.xhtml</bwreg.template.left-side-bar>
				<bwreg.template.left-side-bar-admin>left-side-bar-admin.xhtml</bwreg.template.left-side-bar-admin>
				<bwreg.template.footer>footer.xhtml</bwreg.template.footer>
				<bwreg.jboss-singleton>org.wildfly.clustering.singleton</bwreg.jboss-singleton>
				<bwreg.jboss-singleton-activator>edu.kit.scc.webreg.service.timer.WildflyClusterSingletonServiceActivator</bwreg.jboss-singleton-activator>
			</properties>
		</profile>
		<profile>
			<id>dev-wildfly</id>
			<properties>
				<bwreg.name.suffix>-dev</bwreg.name.suffix>
				<bwreg.faces.stage>Development</bwreg.faces.stage>
				<bwreg.hibernate.dialect>org.hibernate.dialect.PostgreSQLDialect</bwreg.hibernate.dialect>
				<bwreg.hibernate.datasource>java:/ds/bwidmDS</bwreg.hibernate.datasource>
michael.simon's avatar
michael.simon committed
328
				<bwreg.theme>kit-theme</bwreg.theme>
329
330
331
332
333
334
335
336
337
338
339
				<bwreg.css>std.css</bwreg.css>
				<bwreg.template>layout-template.xhtml</bwreg.template>
				<bwreg.template.head-bar>head-bar.xhtml</bwreg.template.head-bar>
				<bwreg.template.left-side-bar>left-side-bar.xhtml</bwreg.template.left-side-bar>
				<bwreg.template.left-side-bar-admin>left-side-bar-admin.xhtml</bwreg.template.left-side-bar-admin>
				<bwreg.template.footer>footer.xhtml</bwreg.template.footer>
				<bwreg.jboss-singleton>org.wildfly.clustering.singleton</bwreg.jboss-singleton>
				<bwreg.jboss-singleton-activator>edu.kit.scc.webreg.service.timer.WildflyClusterSingletonServiceActivator</bwreg.jboss-singleton-activator>
			</properties>
		</profile>

michael.simon's avatar
michael.simon committed
340
341
342
	</profiles>

</project>