]> git.somenet.org - pub/jan/dst18.git/blob - pom.xml
Add template for assignment 1
[pub/jan/dst18.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5
6   <groupId>at.ac.tuwien.infosys.dst</groupId>
7   <artifactId>dst</artifactId>
8   <version>2018.1</version>
9
10   <name>DST :: Parent</name>
11
12   <packaging>pom</packaging>
13
14   <build>
15     <plugins>
16       <!-- plugins used in all modules -->
17       <plugin>
18         <groupId>org.apache.maven.plugins</groupId>
19         <artifactId>maven-compiler-plugin</artifactId>
20       </plugin>
21       <plugin>
22         <groupId>org.apache.maven.plugins</groupId>
23         <artifactId>maven-jar-plugin</artifactId>
24       </plugin>
25       <plugin>
26         <groupId>org.apache.maven.plugins</groupId>
27         <artifactId>maven-surefire-plugin</artifactId>
28       </plugin>
29     </plugins>
30
31     <pluginManagement>
32       <plugins>
33         <plugin>
34           <groupId>org.apache.maven.plugins</groupId>
35           <artifactId>maven-compiler-plugin</artifactId>
36           <version>${maven-compiler-plugin.version}</version>
37           <configuration>
38             <source>1.8</source>
39             <target>1.8</target>
40           </configuration>
41         </plugin>
42         <plugin>
43           <groupId>org.apache.maven.plugins</groupId>
44           <artifactId>maven-surefire-plugin</artifactId>
45           <version>${maven-surefire-plugin.version}</version>
46           <configuration>
47             <failIfNoTests>false</failIfNoTests>
48             <runOrder>alphabetical</runOrder>
49           </configuration>
50         </plugin>
51         <plugin>
52           <groupId>org.apache.maven.plugins</groupId>
53           <artifactId>maven-jar-plugin</artifactId>
54           <version>${maven-jar-plugin.version}</version>
55           <executions>
56             <execution>
57               <goals>
58                 <!-- includes test sources into test jars -->
59                 <goal>test-jar</goal>
60               </goals>
61             </execution>
62           </executions>
63           <configuration>
64             <skipIfEmpty>true</skipIfEmpty>
65           </configuration>
66         </plugin>
67         <plugin>
68           <groupId>com.spotify</groupId>
69           <artifactId>dockerfile-maven-plugin</artifactId>
70           <version>${maven-dockerfile-plugin.version}</version>
71           <executions>
72             <execution>
73               <id>build-and-tag-latest</id>
74               <phase>package</phase>
75               <goals>
76                 <goal>build</goal>
77               </goals>
78             </execution>
79             <execution>
80               <id>tag-version</id>
81               <phase>package</phase>
82               <goals>
83                 <goal>tag</goal>
84               </goals>
85               <configuration>
86                 <tag>${project.version}</tag>
87               </configuration>
88             </execution>
89           </executions>
90           <configuration>
91             <repository>tuw-dst/${project.artifactId}</repository>
92           </configuration>
93         </plugin>
94         <plugin>
95           <groupId>org.apache.maven.plugins</groupId>
96           <artifactId>maven-dependency-plugin</artifactId>
97           <version>${maven-dependency-plugin.version}</version>
98           <executions>
99             <execution>
100               <phase>prepare-package</phase>
101               <goals>
102                 <goal>copy-dependencies</goal>
103               </goals>
104             </execution>
105           </executions>
106           <configuration>
107             <useBaseVersion>false</useBaseVersion>
108             <overWriteReleases>false</overWriteReleases>
109             <overWriteSnapshots>true</overWriteSnapshots>
110             <includeScope>runtime</includeScope>
111             <outputDirectory>${project.build.directory}/lib</outputDirectory>
112           </configuration>
113         </plugin>
114       </plugins>
115     </pluginManagement>
116   </build>
117
118   <dependencies>
119     <dependency>
120       <groupId>javax</groupId>
121       <artifactId>javaee-api</artifactId>
122       <version>8.0</version>
123     </dependency>
124     <dependency>
125       <groupId>org.slf4j</groupId>
126       <artifactId>slf4j-api</artifactId>
127     </dependency>
128     <dependency>
129       <groupId>ch.qos.logback</groupId>
130       <artifactId>logback-classic</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>junit</groupId>
134       <artifactId>junit</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>org.hamcrest</groupId>
138       <artifactId>hamcrest-all</artifactId>
139     </dependency>
140   </dependencies>
141
142   <dependencyManagement>
143     <dependencies>
144       <!-- common -->
145       <dependency>
146         <groupId>org.slf4j</groupId>
147         <artifactId>slf4j-api</artifactId>
148         <version>${slf4j.version}</version>
149       </dependency>
150       <dependency>
151         <groupId>ch.qos.logback</groupId>
152         <artifactId>logback-classic</artifactId>
153         <version>${logback.version}</version>
154       </dependency>
155       <dependency>
156         <groupId>junit</groupId>
157         <artifactId>junit</artifactId>
158         <version>${junit.version}</version>
159         <scope>test</scope>
160       </dependency>
161       <dependency>
162         <groupId>org.hamcrest</groupId>
163         <artifactId>hamcrest-all</artifactId>
164         <version>${hamcrest.version}</version>
165         <scope>test</scope>
166       </dependency>
167
168       <!-- assignment1+ -->
169       <dependency>
170         <groupId>org.hibernate</groupId>
171         <artifactId>hibernate-core</artifactId>
172         <version>${hibernate.version}</version>
173         <exclusions>
174           <exclusion>
175             <!-- already provided by javaee-api -->
176             <groupId>org.hibernate.javax.persistence</groupId>
177             <artifactId>hibernate-jpa-2.1-api</artifactId>
178           </exclusion>
179         </exclusions>
180       </dependency>
181       <dependency>
182         <groupId>com.h2database</groupId>
183         <artifactId>h2</artifactId>
184         <version>${h2.version}</version>
185       </dependency>
186       <dependency>
187         <groupId>org.mongodb</groupId>
188         <artifactId>mongodb-driver</artifactId>
189         <version>${mongodb.version}</version>
190       </dependency>
191       <dependency>
192         <groupId>de.flapdoodle.embed</groupId>
193         <artifactId>de.flapdoodle.embed.mongo</artifactId>
194         <version>${flapdoodle.version}</version>
195       </dependency>
196       <dependency>
197         <groupId>redis.clients</groupId>
198         <artifactId>jedis</artifactId>
199         <version>${jedis.version}</version>
200       </dependency>
201       <dependency>
202         <!-- transitively used by hibernate -->
203         <groupId>org.javassist</groupId>
204         <artifactId>javassist</artifactId>
205         <version>${javassist.version}</version>
206       </dependency>
207     </dependencies>
208   </dependencyManagement>
209
210   <profiles>
211
212     <profile>
213       <id>all</id>
214       <modules>
215         <module>ass1-jpa</module>
216         <module>ass1-doc</module>
217         <module>ass1-kv</module>
218       </modules>
219     </profile>
220
221     <profile>
222       <id>ass1-jpa</id>
223       <modules>
224         <module>ass1-jpa</module>
225       </modules>
226     </profile>
227
228     <profile>
229       <id>ass1-kv</id>
230       <modules>
231         <module>ass1-kv</module>
232       </modules>
233     </profile>
234
235     <profile>
236       <id>ass1-doc</id>
237       <modules>
238         <module>ass1-doc</module>
239       </modules>
240     </profile>
241
242
243
244   </profiles>
245
246   <properties>
247     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
248
249     <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
250     <maven-failsafe-plugin.version>2.20.1</maven-failsafe-plugin.version>
251     <maven-dockerfile-plugin.version>1.3.7</maven-dockerfile-plugin.version>
252     <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
253     <maven-dependency-plugin.version>3.0.2</maven-dependency-plugin.version>
254     <maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
255
256     <!-- common -->
257     <slf4j.version>1.7.25</slf4j.version>
258     <logback.version>1.2.3</logback.version>
259     <commons-lang3.version>3.7</commons-lang3.version>
260     <junit.version>4.12</junit.version>
261     <hamcrest.version>1.3</hamcrest.version>
262     <!-- assignment 1 -->
263     <hibernate.version>5.2.13.Final</hibernate.version>
264     <jedis.version>2.9.0</jedis.version>
265     <javassist.version>3.20.0-GA</javassist.version>
266     <h2.version>1.4.196</h2.version>
267     <mongodb.version>3.6.1</mongodb.version>
268     <flapdoodle.version>2.0.0</flapdoodle.version>
269   </properties>
270
271
272 </project>