pom.xml 12.7 KB
Newer Older
michael.simon's avatar
michael.simon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!--
  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
-->
<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
16
	<version>2.5.10</version>
michael.simon's avatar
michael.simon committed
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
	<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>
		<module>bwreg-jpa</module>
		<module>bwreg-service</module>
		<module>bwreg-webapp</module>
		<module>bwreg-ear</module>
	</modules>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>javax</groupId>
				<artifactId>javaee-api</artifactId>
				<version>6.0</version>
			</dependency>
			<dependency>
				<groupId>org.hibernate</groupId>
				<artifactId>hibernate-core</artifactId>
				<version>4.0.1.Final</version>
			</dependency>
			<dependency>
				<groupId>org.opensaml</groupId>
michael.simon's avatar
michael.simon committed
46
47
48
49
50
51
52
53
54
55
56
57
				<artifactId>opensaml-saml-api</artifactId>
				<version>3.1.1</version>
			</dependency>
			<dependency>
				<groupId>org.opensaml</groupId>
				<artifactId>opensaml-saml-impl</artifactId>
				<version>3.1.1</version>
			</dependency>
			<dependency>
				<groupId>org.apache.velocity</groupId>
				<artifactId>velocity</artifactId>
				<version>1.7</version>
michael.simon's avatar
michael.simon committed
58
59
60
61
62
63
			</dependency>
			<dependency>
    			<groupId>commons-beanutils</groupId>
			    <artifactId>commons-beanutils</artifactId>
    			<version>1.9.1</version>
			</dependency>
michael.simon's avatar
michael.simon committed
64
65
66
67
68
			<dependency>
				<groupId>com.google.guava</groupId>
				<artifactId>guava</artifactId>
				<version>18.0</version>
			</dependency>
michael.simon's avatar
michael.simon committed
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
			<dependency>
				<groupId>org.apache.httpcomponents</groupId>
				<artifactId>httpclient</artifactId>
				<version>4.3.1</version>
			</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>
				<version>5.1</version>
			</dependency>
			<dependency>
				<groupId>org.primefaces.themes</groupId>
				<artifactId>all-themes</artifactId>
				<version>1.0.9</version>
			</dependency>
			<dependency>
				<groupId>org.omnifaces</groupId>
				<artifactId>omnifaces</artifactId>
				<version>1.3</version>
			</dependency>
			<dependency>
				<groupId>commons-fileupload</groupId>
				<artifactId>commons-fileupload</artifactId>
				<version>1.2.2</version>
			</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>
		
			<dependency>
				<groupId>org.drools</groupId>
				<artifactId>drools-bom</artifactId>
				<type>pom</type>
michael.simon's avatar
michael.simon committed
114
				<version>6.2.0.Final</version>
michael.simon's avatar
michael.simon committed
115
116
				<scope>import</scope>
			</dependency>
michael.simon's avatar
michael.simon committed
117
118
119
120
121
			<dependency>
				<groupId>org.eclipse.jdt.core.compiler</groupId>
				<artifactId>ecj</artifactId>
				<version>4.3.1</version>
			</dependency>
michael.simon's avatar
michael.simon committed
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142

			<dependency>
				<artifactId>dom4j</artifactId>
				<groupId>dom4j</groupId>
				<version>1.6.1</version>
			</dependency> 
			<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>
				<version>1.51</version>
			</dependency>
michael.simon's avatar
michael.simon committed
143
144
145
146
147
			<dependency>
				<groupId>ch.ethz.ganymed</groupId>
				<artifactId>ganymed-ssh2</artifactId>
				<version>262</version>
			</dependency>
michael.simon's avatar
michael.simon committed
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
	        <dependency>
	            <groupId>org.jboss.msc</groupId>
	            <artifactId>jboss-msc</artifactId>
	            <version>1.0.4.GA</version>
	        </dependency>
	        <dependency>
	            <groupId>org.jboss.as</groupId>
	            <artifactId>jboss-as-clustering-singleton</artifactId>
	            <version>7.2.0.Final</version>
    			<exclusions>
        			<exclusion>
            			<artifactId>tools</artifactId>
            			<groupId>com.sun</groupId>
        			</exclusion>
    			</exclusions>	            
	        </dependency>
			<dependency>
				<groupId>org.wildfly</groupId>
				<artifactId>wildfly-clustering-common</artifactId>
				<version>8.1.0.Final</version>
michael.simon's avatar
michael.simon committed
168
169
170
171
172
173
    			<exclusions>
        			<exclusion>
            			<artifactId>jconsole</artifactId>
            			<groupId>sun.jdk</groupId>
        			</exclusion>
    			</exclusions>	            
michael.simon's avatar
michael.simon committed
174
175
176
177
178
179
			</dependency>
			<dependency>
				<groupId>org.wildfly</groupId>
				<artifactId>wildfly-clustering-singleton</artifactId>
				<version>8.1.0.Final</version>
			</dependency>
180
181
182
183
184
			<dependency>
				<groupId>org.apache.jclouds.api</groupId>
				<artifactId>openstack-keystone</artifactId>
				<version>1.9.0</version>
			</dependency>
michael.simon's avatar
michael.simon committed
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
		</dependencies>
	</dependencyManagement>

	<repositories>
		<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>
			<url>http://repository.primefaces.org</url>
			<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>

	<build>
		<defaultGoal>install</defaultGoal>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<source>1.7</source>
						<target>1.7</target>
						<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>
							<jst.jsf>2.0</jst.jsf>
						</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>
				<bwreg.theme>aristo</bwreg.theme>
				<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.jboss.as.clustering.singleton</bwreg.jboss-singleton>
                <bwreg.jboss-singleton-activator>edu.kit.scc.webreg.service.timer.ClusterSingletonServiceActivator</bwreg.jboss-singleton-activator>
			</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>
				<bwreg.theme>aristo</bwreg.theme>
				<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.jboss.as.clustering.singleton</bwreg.jboss-singleton>
                <bwreg.jboss-singleton-activator>edu.kit.scc.webreg.service.timer.ClusterSingletonServiceActivator</bwreg.jboss-singleton-activator>
			</properties>
		</profile>

291
292
		<profile>
			<id>prod-wildfly</id>
293
294
295
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
			<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>
				<bwreg.theme>aristo</bwreg.theme>
				<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>
				<bwreg.theme>aristo</bwreg.theme>
				<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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
		<profile>
			<id>doc</id>
			<build>
				<plugins>
					<plugin>
						<groupId>com.agilejava.docbkx</groupId>
						<artifactId>docbkx-maven-plugin</artifactId>
						<version>2.0.15</version>
						<executions>
							<execution>
								<goals>
									<goal>generate-html</goal>
									<goal>generate-pdf</goal>
								</goals>
								<phase>generate-sources</phase>
							</execution>
						</executions>
						<dependencies>
							<dependency>
					            <groupId>net.sf.docbook</groupId>
					            <artifactId>docbook-xml</artifactId>
					            <version>5.0-all</version>
					            <classifier>resources</classifier>
					            <type>zip</type>
					            <scope>runtime</scope>
							</dependency>
						</dependencies>
						<configuration>
							<sourceDirectory>documentation</sourceDirectory>
							<targetDirectory>target/documentation</targetDirectory>
							<xincludeSupported>true</xincludeSupported>
							<useExtensions>1</useExtensions>
							<highlightSource>1</highlightSource>
							<highlightDefaultLanguage>java</highlightDefaultLanguage>
							<calloutsExtension>1</calloutsExtension>
							<paperType>A4</paperType>
							<fop1Extensions>1</fop1Extensions>
							<includes>index.xml</includes>
						</configuration>
					</plugin>
				</plugins>			
			</build>
		</profile>
		
	</profiles>

</project>