blob: df0d2a82893116b6e53d4778526885a96519ee48 [file] [log] [blame]
margarethaf68daa62017-09-21 02:11:24 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>de.ids_mannheim.korap</groupId>
5 <artifactId>Kustvakt-full</artifactId>
margaretha9025d642018-01-19 17:35:22 +01006 <version>0.59.10</version>
margarethaf68daa62017-09-21 02:11:24 +02007 <properties>
margaretha2c019fa2018-02-01 19:50:51 +01008 <java.version>1.8</java.version>
margarethaf68daa62017-09-21 02:11:24 +02009 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
margaretha2c019fa2018-02-01 19:50:51 +010010 <spring-framework.version>5.0.3.RELEASE</spring-framework.version>
11 <spring-security.version>4.2.3.RELEASE</spring-security.version>
margaretha58e18632018-02-15 13:04:42 +010012 <jetty.version>9.4.8.v20171121</jetty.version>
margarethaf68daa62017-09-21 02:11:24 +020013 <jersey.version>1.19.4</jersey.version>
margaretha9025d642018-01-19 17:35:22 +010014 <hibernate.version>5.1.11.Final</hibernate.version>
margarethaf68daa62017-09-21 02:11:24 +020015 </properties>
16 <build>
17 <resources>
18 <resource>
19 <directory>src/main/resources</directory>
20 <filtering>true</filtering>
21 <includes>
22 <include>**/*.info</include>
23 <include>**/*.xml</include>
24 <include>**/*.conf</include>
25 <include>**/*.kustvakt</include>
26 <include>**/*.properties</include>
27 <include>**/*.sql</include>
28 </includes>
29 </resource>
30 </resources>
31 <testResources>
32 <testResource>
33 <directory>src/test/resources</directory>
34 <filtering>true</filtering>
35 <includes>
margarethadfecb4b2017-12-12 19:32:30 +010036 <include>**/*.token</include>
margarethaf68daa62017-09-21 02:11:24 +020037 <include>**/*.xml</include>
38 <include>**/*.conf</include>
39 <include>**/*.info</include>
40 <include>**/*.properties</include>
41 </includes>
42 </testResource>
43 <testResource>
44 <directory>src/main/resources</directory>
45 <filtering>true</filtering>
46 <includes>
47 <include>**/*.info</include>
48 <include>**/*.properties</include>
49 </includes>
50 </testResource>
51 </testResources>
52 <plugins>
53 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
54 <plugin>
55 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
56 <artifactId>maven-java-formatter-plugin</artifactId>
57 <version>0.4</version>
58 <configuration>
59 <configFile>${project.basedir}/Format.xml</configFile>
60 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
61 <compilerSource>${java.version}</compilerSource>
62 <compilerCompliance>${java.version}</compilerCompliance>
63 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
64 </configuration>
65 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
66 </executions> -->
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-compiler-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010071 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020072 <configuration>
73 <compilerVersion>${java.version}</compilerVersion>
74 <source>${java.version}</source>
75 <target>${java.version}</target>
margaretha58e18632018-02-15 13:04:42 +010076 <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
77 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
78 </compilerArguments> -->
margaretha9025d642018-01-19 17:35:22 +010079 <processors>
margarethafc7d7772018-01-16 17:48:17 +010080 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
81 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
margaretha9025d642018-01-19 17:35:22 +010082 </processors>
margarethaf68daa62017-09-21 02:11:24 +020083 </configuration>
84 </plugin>
margarethaf68daa62017-09-21 02:11:24 +020085 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-surefire-plugin</artifactId>
88 <version>2.19.1</version>
89 <configuration>
90 <reuseForks>false</reuseForks>
91 <forkCount>2</forkCount>
92 <threadCount>10</threadCount>
93
94 <excludes>
margarethafc7d7772018-01-16 17:48:17 +010095 <!-- <exclude>de/ids_mannheim/korap/suites/*.java</exclude> -->
96 <!-- <exclude>de/ids_mannheim/korap/dao/*.java</exclude> -->
margarethadfecb4b2017-12-12 19:32:30 +010097 <exclude>de/ids_mannheim/korap/authentication/*.java</exclude>
margarethafc7d7772018-01-16 17:48:17 +010098 <!-- <exclude>**/ResourceServiceTest.java</exclude> -->
99 <!-- <exclude>**/ResourceInfoServiceTest.java</exclude> -->
margarethaf68daa62017-09-21 02:11:24 +0200100 <exclude>**/PolicyServiceTest.java</exclude>
101 </excludes>
102 <includes>
103 <include>de/ids_mannheim/korap/**/*.java</include>
104 </includes>
105 </configuration>
106 </plugin>
107 <plugin>
108 <artifactId>maven-shade-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100109 <version>3.1.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200110 <executions>
111 <!-- option 1 -->
112 <execution>
113 <id>full</id>
114 <phase>package</phase>
115 <goals>
116 <goal>shade</goal>
117 </goals>
118 <configuration>
margarethaea68a0a2017-09-21 03:09:49 +0200119 <finalName>Kustvakt-full-${project.version}</finalName>
margarethaf68daa62017-09-21 02:11:24 +0200120 <transformers>
121 <transformer
122 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
123 <mainClass>
124 de.ids_mannheim.korap.server.KustvaktServer
125 </mainClass>
126 </transformer>
127 <transformer
128 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
129 <resource>META-INF/spring.handlers
130 </resource>
131 </transformer>
132 <transformer
133 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
134 <resource>META-INF/spring.schemas
135 </resource>
136 </transformer>
137 </transformers>
138 <!-- Additional configuration. apparently there is a securityException -->
139 <filters>
140 <filter>
141 <artifact>*:*</artifact>
142 <excludes>
143 <exclude>META-INF/*.SF</exclude>
144 <exclude>META-INF/*.DSA
145 </exclude>
146 <exclude>META-INF/*.RSA
147 </exclude>
148 </excludes>
149 </filter>
150 </filters>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155
156 </plugins>
157 </build>
158
159 <dependencies>
160 <dependency>
161 <groupId>de.ids_mannheim.korap</groupId>
162 <artifactId>Kustvakt-core</artifactId>
margaretha45667922018-01-25 21:23:03 +0100163 <version>0.59.10</version>
margaretha894a7d72017-11-08 19:24:20 +0100164 <type>jar</type>
margarethaf68daa62017-09-21 02:11:24 +0200165 </dependency>
margaretha54134902017-09-27 18:43:11 +0200166 <!-- LDAP -->
167 <dependency>
168 <groupId>com.novell.ldap</groupId>
169 <artifactId>jldap</artifactId>
170 <version>4.3</version>
171 </dependency>
margaretha54134902017-09-27 18:43:11 +0200172 <dependency>
173 <groupId>com.unboundid</groupId>
174 <artifactId>unboundid-ldapsdk</artifactId>
175 <version>3.2.1</version>
176 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200177
margarethaf68daa62017-09-21 02:11:24 +0200178 <!-- Hibernate -->
179 <dependency>
180 <groupId>org.hibernate</groupId>
181 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100182 <version>${hibernate.version}</version>
183 <exclusions>
184 <exclusion>
185 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100186 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100187 </exclusion>
188 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200189 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200190 <dependency>
191 <groupId>org.hibernate</groupId>
192 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100193 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200194 <scope>provided</scope>
195 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100196 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100197 <groupId>org.hibernate</groupId>
198 <artifactId>hibernate-java8</artifactId>
199 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100200 </dependency>
201 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100202 <groupId>org.javassist</groupId>
203 <artifactId>javassist</artifactId>
204 <version>3.22.0-GA</version>
margaretha9025d642018-01-19 17:35:22 +0100205 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200206
margaretha318fec32017-10-24 12:11:58 +0200207 <!-- MySql -->
208 <dependency>
209 <groupId>mysql</groupId>
210 <artifactId>mysql-connector-java</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100211 <version>6.0.6</version>
margaretha318fec32017-10-24 12:11:58 +0200212 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200213
214 <!-- Jersey -->
215 <dependency>
216 <groupId>com.sun.jersey.jersey-test-framework</groupId>
217 <artifactId>jersey-test-framework-core</artifactId>
218 <version>${jersey.version}</version>
219 <scope>test</scope>
220 </dependency>
221 <dependency>
222 <groupId>com.sun.jersey.jersey-test-framework</groupId>
223 <artifactId>jersey-test-framework-grizzly</artifactId>
224 <version>${jersey.version}</version>
225 <scope>test</scope>
226 </dependency>
227
228 <!-- Spring -->
margaretha54134902017-09-27 18:43:11 +0200229 <dependency>
230 <groupId>org.springframework</groupId>
231 <artifactId>spring-jdbc</artifactId>
232 <version>${spring-framework.version}</version>
233 </dependency>
234 <dependency>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-tx</artifactId>
237 <version>${spring-framework.version}</version>
238 </dependency>
margaretha2afb97d2017-12-07 19:18:44 +0100239 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100240 <groupId>org.springframework.security</groupId>
241 <artifactId>spring-security-core</artifactId>
242 <version>${spring-security.version}</version>
margaretha2afb97d2017-12-07 19:18:44 +0100243 </dependency>
244 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100245 <groupId>org.springframework.security</groupId>
246 <artifactId>spring-security-web</artifactId>
247 <version>${spring-security.version}</version>
248 </dependency>
249
250 <!-- jetty -->
251 <dependency>
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-jndi</artifactId>
254 <version>${jetty.version}</version>
255 </dependency>
256 <dependency>
257 <groupId>org.eclipse.jetty</groupId>
258 <artifactId>jetty-plus</artifactId>
259 <version>${jetty.version}</version>
260 </dependency>
261
262 <!-- velocity -->
263 <dependency>
264 <groupId>org.apache.velocity</groupId>
265 <artifactId>velocity-engine-core</artifactId>
266 <version>2.0</version>
267 </dependency>
268 <dependency>
269 <groupId>org.apache.velocity</groupId>
270 <artifactId>velocity-tools</artifactId>
271 <version>2.0</version>
272 </dependency>
273 <!-- mail -->
274 <dependency>
275 <groupId>com.sun.mail</groupId>
276 <artifactId>javax.mail</artifactId>
277 <version>1.6.0</version>
278 </dependency>
279 <dependency>
280 <groupId>javax.activation</groupId>
281 <artifactId>activation</artifactId>
282 <version>1.1.1</version>
283 </dependency>
284
285 <dependency>
286 <groupId>javax.servlet</groupId>
287 <artifactId>javax.servlet-api</artifactId>
288 <version>4.0.0</version>
margaretha2afb97d2017-12-07 19:18:44 +0100289 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200290
margaretha54134902017-09-27 18:43:11 +0200291 <!-- Flyway -->
292 <dependency>
293 <groupId>org.flywaydb</groupId>
294 <artifactId>flyway-core</artifactId>
295 <version>4.0</version>
296 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200297 </dependencies>
margaretha58e18632018-02-15 13:04:42 +0100298
margarethaf68daa62017-09-21 02:11:24 +0200299</project>