pom.xml
3.84 KB
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
<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>net.ziemers</groupId>
<artifactId>swxercise</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>swXercise Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<mvn-compiler-plugin-version>3.3</mvn-compiler-plugin-version>
<jee-version>7.0</jee-version>
<java-version>1.8</java-version>
<jaxrs-version>2.0</jaxrs-version>
<mysql-version>5.1.41</mysql-version>
<hibernate-version>5.2.1.Final</hibernate-version>
<junit-version>4.12</junit-version>
<mockito-version>2.7.22</mockito-version>
<dbunit-version>2.5.1</dbunit-version>
<slf4j-version>1.7.25</slf4j-version>
<jglue-version>3.1.4</jglue-version>
<jackson-version>2.8.8.1</jackson-version>
<!-- Substituiert die Platzhalter in der "persistence.xml" -->
<TEST_SCHEMA_NAME>swxercise_test</TEST_SCHEMA_NAME>
<swxercise.test.schema>${TEST_SCHEMA_NAME}</swxercise.test.schema>
<swxercise.test.host>localhost</swxercise.test.host>
<swxercise.test.user>root</swxercise.test.user>
<swxercise.test.password>root</swxercise.test.password>
<swxercise.test.port>3306</swxercise.test.port>
</properties>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${jee-version}</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>${jaxrs-version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
<!--dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-version}</version>
</dependency-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j-version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>${dbunit-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate-version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-version}</version>
</dependency>
<dependency>
<groupId>org.jglue.cdi-unit</groupId>
<artifactId>cdi-unit</artifactId>
<version>${jglue-version}</version>
<scope>test</scope>
</dependency>
<!-- Sorgt für eine schnellere Verwaltung der JSON-Umwandlung im REST-Kontext -->
<!-- dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-version}</version>
</dependency -->
</dependencies>
<build>
<finalName>swXercise</finalName>
<resources>
<!-- Sorgt dafür, dass Properties-Filtering von hier in die "persistence.xml" funktioniert -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${mvn-compiler-plugin-version}</version>
<configuration>
<source>${java-version}</source>
<target>${java-version}</target>
</configuration>
</plugin>
</plugins>
</build>
</project>