blob: db4c3e2b681c4e6a090b108517f96a7970df43ea [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>
margarethaec247dd2018-06-12 21:55:46 +02006 <version>0.60.4</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>
margaretha7f0a4d42018-02-20 19:16:44 +010028 <include>**/*.vm</include>
margarethaf68daa62017-09-21 02:11:24 +020029 </includes>
30 </resource>
31 </resources>
32 <testResources>
33 <testResource>
34 <directory>src/test/resources</directory>
margaretha9c78e1a2018-06-27 14:12:35 +020035 <!-- <filtering>true</filtering> <includes> <include>**/*.key</include>
36 <include>**/*.token</include> <include>**/*.xml</include> <include>**/*.conf</include>
37 <include>**/*.info</include> <include>**/*.properties</include> </includes> -->
margarethaf68daa62017-09-21 02:11:24 +020038 </testResource>
39 <testResource>
40 <directory>src/main/resources</directory>
41 <filtering>true</filtering>
42 <includes>
43 <include>**/*.info</include>
44 <include>**/*.properties</include>
45 </includes>
46 </testResource>
47 </testResources>
48 <plugins>
49 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
50 <plugin>
51 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
52 <artifactId>maven-java-formatter-plugin</artifactId>
53 <version>0.4</version>
54 <configuration>
55 <configFile>${project.basedir}/Format.xml</configFile>
56 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
57 <compilerSource>${java.version}</compilerSource>
58 <compilerCompliance>${java.version}</compilerCompliance>
59 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
60 </configuration>
61 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
62 </executions> -->
63 </plugin>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-compiler-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010067 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020068 <configuration>
69 <compilerVersion>${java.version}</compilerVersion>
70 <source>${java.version}</source>
71 <target>${java.version}</target>
margaretha58e18632018-02-15 13:04:42 +010072 <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
73 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
74 </compilerArguments> -->
margaretha9025d642018-01-19 17:35:22 +010075 <processors>
margarethafc7d7772018-01-16 17:48:17 +010076 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
77 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
margaretha9025d642018-01-19 17:35:22 +010078 </processors>
margarethaf68daa62017-09-21 02:11:24 +020079 </configuration>
80 </plugin>
margarethaf68daa62017-09-21 02:11:24 +020081 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-surefire-plugin</artifactId>
margarethaa86b1412018-02-21 20:40:35 +010084 <version>2.20.1</version>
margarethaf68daa62017-09-21 02:11:24 +020085 <configuration>
86 <reuseForks>false</reuseForks>
87 <forkCount>2</forkCount>
margarethaefc18a42018-03-01 16:01:42 +010088 <threadCount>4</threadCount>
89 <argLine>-Xmx512m -XX:MaxPermSize=256m</argLine>
margarethaf68daa62017-09-21 02:11:24 +020090 <excludes>
margarethadfecb4b2017-12-12 19:32:30 +010091 <exclude>de/ids_mannheim/korap/authentication/*.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +020092 </excludes>
93 <includes>
94 <include>de/ids_mannheim/korap/**/*.java</include>
95 </includes>
96 </configuration>
97 </plugin>
98 <plugin>
99 <artifactId>maven-shade-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100100 <version>3.1.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200101 <executions>
102 <!-- option 1 -->
103 <execution>
104 <id>full</id>
105 <phase>package</phase>
106 <goals>
107 <goal>shade</goal>
108 </goals>
109 <configuration>
margarethaea68a0a2017-09-21 03:09:49 +0200110 <finalName>Kustvakt-full-${project.version}</finalName>
margarethaf68daa62017-09-21 02:11:24 +0200111 <transformers>
112 <transformer
113 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
114 <mainClass>
115 de.ids_mannheim.korap.server.KustvaktServer
116 </mainClass>
117 </transformer>
118 <transformer
119 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
120 <resource>META-INF/spring.handlers
121 </resource>
122 </transformer>
123 <transformer
124 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
125 <resource>META-INF/spring.schemas
126 </resource>
127 </transformer>
128 </transformers>
129 <!-- Additional configuration. apparently there is a securityException -->
130 <filters>
131 <filter>
132 <artifact>*:*</artifact>
133 <excludes>
134 <exclude>META-INF/*.SF</exclude>
135 <exclude>META-INF/*.DSA
136 </exclude>
137 <exclude>META-INF/*.RSA
138 </exclude>
139 </excludes>
140 </filter>
141 </filters>
142 </configuration>
143 </execution>
144 </executions>
145 </plugin>
146
147 </plugins>
148 </build>
149
150 <dependencies>
151 <dependency>
152 <groupId>de.ids_mannheim.korap</groupId>
153 <artifactId>Kustvakt-core</artifactId>
margaretha5225ed02018-06-25 18:38:40 +0200154 <version>0.60.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200155 </dependency>
margaretha54134902017-09-27 18:43:11 +0200156 <!-- LDAP -->
157 <dependency>
158 <groupId>com.novell.ldap</groupId>
159 <artifactId>jldap</artifactId>
160 <version>4.3</version>
161 </dependency>
margaretha54134902017-09-27 18:43:11 +0200162 <dependency>
163 <groupId>com.unboundid</groupId>
164 <artifactId>unboundid-ldapsdk</artifactId>
165 <version>3.2.1</version>
166 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200167
margarethaf68daa62017-09-21 02:11:24 +0200168 <!-- Hibernate -->
169 <dependency>
170 <groupId>org.hibernate</groupId>
171 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100172 <version>${hibernate.version}</version>
173 <exclusions>
174 <exclusion>
175 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100176 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100177 </exclusion>
178 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200179 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200180 <dependency>
181 <groupId>org.hibernate</groupId>
182 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100183 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200184 <scope>provided</scope>
185 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100186 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100187 <groupId>org.hibernate</groupId>
188 <artifactId>hibernate-java8</artifactId>
189 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100190 </dependency>
191 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100192 <groupId>org.javassist</groupId>
193 <artifactId>javassist</artifactId>
194 <version>3.22.0-GA</version>
margaretha9025d642018-01-19 17:35:22 +0100195 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200196
margaretha318fec32017-10-24 12:11:58 +0200197 <!-- MySql -->
198 <dependency>
199 <groupId>mysql</groupId>
200 <artifactId>mysql-connector-java</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100201 <version>6.0.6</version>
margaretha318fec32017-10-24 12:11:58 +0200202 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200203
204 <!-- Jersey -->
205 <dependency>
206 <groupId>com.sun.jersey.jersey-test-framework</groupId>
207 <artifactId>jersey-test-framework-core</artifactId>
208 <version>${jersey.version}</version>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
212 <groupId>com.sun.jersey.jersey-test-framework</groupId>
213 <artifactId>jersey-test-framework-grizzly</artifactId>
214 <version>${jersey.version}</version>
215 <scope>test</scope>
216 </dependency>
margaretha7f0a4d42018-02-20 19:16:44 +0100217 <dependency>
margaretha235a6802018-06-06 19:21:53 +0200218 <groupId>com.sun.jersey</groupId>
219 <artifactId>jersey-json</artifactId>
220 <version>${jersey.version}</version>
margaretha7f0a4d42018-02-20 19:16:44 +0100221 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200222
223 <!-- Spring -->
margaretha54134902017-09-27 18:43:11 +0200224 <dependency>
225 <groupId>org.springframework</groupId>
226 <artifactId>spring-jdbc</artifactId>
227 <version>${spring-framework.version}</version>
228 </dependency>
229 <dependency>
230 <groupId>org.springframework</groupId>
231 <artifactId>spring-tx</artifactId>
232 <version>${spring-framework.version}</version>
233 </dependency>
margaretha2afb97d2017-12-07 19:18:44 +0100234 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100235 <groupId>org.springframework.security</groupId>
236 <artifactId>spring-security-core</artifactId>
237 <version>${spring-security.version}</version>
margaretha2afb97d2017-12-07 19:18:44 +0100238 </dependency>
239 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100240 <groupId>org.springframework.security</groupId>
241 <artifactId>spring-security-web</artifactId>
242 <version>${spring-security.version}</version>
243 </dependency>
244
margaretha58e18632018-02-15 13:04:42 +0100245 <!-- velocity -->
246 <dependency>
247 <groupId>org.apache.velocity</groupId>
248 <artifactId>velocity-engine-core</artifactId>
249 <version>2.0</version>
250 </dependency>
251 <dependency>
252 <groupId>org.apache.velocity</groupId>
253 <artifactId>velocity-tools</artifactId>
254 <version>2.0</version>
255 </dependency>
256 <!-- mail -->
257 <dependency>
258 <groupId>com.sun.mail</groupId>
259 <artifactId>javax.mail</artifactId>
260 <version>1.6.0</version>
261 </dependency>
262 <dependency>
263 <groupId>javax.activation</groupId>
264 <artifactId>activation</artifactId>
265 <version>1.1.1</version>
266 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200267
margaretha58e18632018-02-15 13:04:42 +0100268 <dependency>
margaretha235a6802018-06-06 19:21:53 +0200269 <groupId>javax.servlet</groupId>
270 <artifactId>javax.servlet-api</artifactId>
271 <version>4.0.0</version>
margaretha2afb97d2017-12-07 19:18:44 +0100272 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200273
margaretha54134902017-09-27 18:43:11 +0200274 <!-- Flyway -->
275 <dependency>
276 <groupId>org.flywaydb</groupId>
277 <artifactId>flyway-core</artifactId>
278 <version>4.0</version>
279 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200280
margarethafb027f92018-04-23 20:00:13 +0200281 <!-- OAuth -->
282 <dependency>
283 <groupId>org.apache.oltu.oauth2</groupId>
284 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
margarethae4034a82018-07-02 14:46:59 +0200285 <version>1.0.2</version>
margarethafb027f92018-04-23 20:00:13 +0200286 </dependency>
margarethae4034a82018-07-02 14:46:59 +0200287 <dependency>
288 <groupId>org.apache.oltu.oauth2</groupId>
289 <artifactId>org.apache.oltu.oauth2.client</artifactId>
290 <version>1.0.2</version>
291 </dependency>
292 <!-- <dependency>
293 <groupId>org.apache.oltu.oauth2</groupId>
294 <artifactId>org.apache.oltu.oauth2.dynamicreg.client</artifactId>
295 <version>1.0.2</version>
296 </dependency> -->
margaretha235a6802018-06-06 19:21:53 +0200297 <!-- JWT -->
298 <dependency>
299 <groupId>com.nimbusds</groupId>
300 <artifactId>nimbus-jose-jwt</artifactId>
301 <version>5.10</version>
302 </dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200303
margarethaec247dd2018-06-12 21:55:46 +0200304 <!-- OpenId -->
305 <dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200306 <groupId>com.nimbusds</groupId>
307 <artifactId>oauth2-oidc-sdk</artifactId>
308 <version>5.62</version>
margarethaec247dd2018-06-12 21:55:46 +0200309 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200310 </dependencies>
margarethaf68daa62017-09-21 02:11:24 +0200311</project>