blob: 1c9f2df019fb6c713e414d54e6a05ffa4b2b7baa [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>
margarethadbdb0692023-04-25 09:56:51 +02006 <version>0.70</version>
margarethaf68daa62017-09-21 02:11:24 +02007 <properties>
abcpro10c746892022-11-03 22:47:04 +00008 <java.version>11</java.version>
margarethaf68daa62017-09-21 02:11:24 +02009 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
dependabot[bot]7cc9dd72023-03-23 17:56:32 +000010 <jersey.version>2.39.1</jersey.version>
dependabot[bot]38cd4872023-02-06 17:00:54 +000011 <hibernate.version>5.6.15.Final</hibernate.version>
margarethaf68daa62017-09-21 02:11:24 +020012 </properties>
margaretha34954472018-10-24 20:05:17 +020013 <profiles>
14 <profile>
15 <id>full</id>
16 <activation>
17 <activeByDefault>true</activeByDefault>
18 </activation>
19 <build>
20 <plugins>
21 <plugin>
22 <artifactId>maven-shade-plugin</artifactId>
dependabot[bot]bfbfc432022-10-27 17:02:10 +000023 <version>3.4.1</version>
margaretha34954472018-10-24 20:05:17 +020024 <executions>
25 <!-- option 1 -->
26 <execution>
27 <id>full</id>
28 <phase>package</phase>
29 <goals>
30 <goal>shade</goal>
31 </goals>
32 <configuration>
33 <finalName>Kustvakt-full-${project.version}</finalName>
34 <transformers>
35 <transformer
36 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
37 <mainClass>
38 de.ids_mannheim.korap.server.KustvaktServer
39 </mainClass>
40 </transformer>
41 <transformer
42 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
43 <resource>META-INF/spring.handlers
44 </resource>
45 </transformer>
46 <transformer
47 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
48 <resource>META-INF/spring.schemas
49 </resource>
50 </transformer>
51 </transformers>
52 <!-- Additional configuration. apparently there is a securityException -->
53 <filters>
54 <filter>
55 <artifact>*:*</artifact>
56 <excludes>
57 <exclude>META-INF/*.SF</exclude>
58 <exclude>META-INF/*.DSA
59 </exclude>
60 <exclude>META-INF/*.RSA
61 </exclude>
62 </excludes>
63 </filter>
64 </filters>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69 </plugins>
70 </build>
71 </profile>
margaretha34954472018-10-24 20:05:17 +020072 </profiles>
margarethaf68daa62017-09-21 02:11:24 +020073 <build>
margaretha34954472018-10-24 20:05:17 +020074 <!-- <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering>
75 <includes> <include>**/*.info</include> <include>**/*.xml</include> <include>**/*.conf</include>
76 <include>**/*.kustvakt</include> <include>**/*.properties</include> <include>**/*.sql</include>
77 <include>**/*.vm</include> </includes> </resource> </resources> -->
margarethaf68daa62017-09-21 02:11:24 +020078 <testResources>
79 <testResource>
80 <directory>src/test/resources</directory>
margarethaf68daa62017-09-21 02:11:24 +020081 </testResource>
82 <testResource>
83 <directory>src/main/resources</directory>
84 <filtering>true</filtering>
85 <includes>
86 <include>**/*.info</include>
Marc Kupietz392f4782022-05-02 13:23:18 +020087 <include>**/*.conf</include>
margaretha3da7cd32018-10-22 17:42:52 +020088 <include>**/*.json</include>
Marc Kupietz0a378672022-04-30 09:35:27 +020089 <include>**/*.p12</include>
90 <include>**/*.jks</include>
91 <include>**/*.ldif</include>
margarethaf68daa62017-09-21 02:11:24 +020092 </includes>
93 </testResource>
94 </testResources>
95 <plugins>
96 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
97 <plugin>
98 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
99 <artifactId>maven-java-formatter-plugin</artifactId>
100 <version>0.4</version>
101 <configuration>
102 <configFile>${project.basedir}/Format.xml</configFile>
103 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
104 <compilerSource>${java.version}</compilerSource>
105 <compilerCompliance>${java.version}</compilerCompliance>
106 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
107 </configuration>
108 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
109 </executions> -->
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-compiler-plugin</artifactId>
margaretha7e1fa0f2023-03-06 16:19:09 +0100114 <version>3.11.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200115 <configuration>
116 <compilerVersion>${java.version}</compilerVersion>
117 <source>${java.version}</source>
118 <target>${java.version}</target>
margaretha58e18632018-02-15 13:04:42 +0100119 <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
120 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
121 </compilerArguments> -->
Marc Kupietz483db752020-03-25 08:25:35 +0100122 <annotationProcessors>
margarethafc7d7772018-01-16 17:48:17 +0100123 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
124 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
Marc Kupietz483db752020-03-25 08:25:35 +0100125 </annotationProcessors>
margarethaf68daa62017-09-21 02:11:24 +0200126 </configuration>
127 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]8e710f32023-03-14 17:56:38 +0000131 <version>3.0.0</version>
dependabot[bot]95465742023-02-17 17:56:32 +0000132 <dependencies>
133 <dependency>
134 <groupId>org.apache.maven.surefire</groupId>
135 <artifactId>surefire-junit47</artifactId>
dependabot[bot]8e710f32023-03-14 17:56:38 +0000136 <version>3.0.0</version>
dependabot[bot]95465742023-02-17 17:56:32 +0000137 </dependency>
138 </dependencies>
margarethaf68daa62017-09-21 02:11:24 +0200139 <configuration>
margaretha0a45be12018-07-12 15:06:30 +0200140 <reuseForks>true</reuseForks>
141 <forkCount>1</forkCount>
142 <threadCount>10</threadCount>
Marc Kupietzddd9a8b2022-11-17 17:24:58 +0100143 <argLine>-Xmx512m
margaretha49cb6882018-07-04 04:19:54 +0200144 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
margarethaf68daa62017-09-21 02:11:24 +0200145 <excludes>
Marc Kupietz0a378672022-04-30 09:35:27 +0200146 <exclude>de/ids_mannheim/korap/authentication/APIAuthenticationTest.java</exclude>
147 <exclude>de/ids_mannheim/korap/authentication/AuthenticationFilterTest.java</exclude>
148 <exclude>de/ids_mannheim/korap/authentication/Kustvakt*.java</exclude>
149 <exclude>de/ids_mannheim/korap/authentication/LdapTest.java</exclude>
150 <exclude>de/ids_mannheim/korap/authentication/Random*.java</exclude>
margaretha49cb6882018-07-04 04:19:54 +0200151 <exclude>de/ids_mannheim/korap/web/controller/TokenExpiryTest.java</exclude>
margaretha7cd52d12023-03-15 16:56:06 +0100152 <exclude>de/ids_mannheim/korap/web/controller/AdminLoadVCTest.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +0200153 </excludes>
154 <includes>
155 <include>de/ids_mannheim/korap/**/*.java</include>
Marc Kupietz0a378672022-04-30 09:35:27 +0200156 <include>de/ids_mannheim/korap/authentication/LdapAuth3Test.java</include>
margarethaf68daa62017-09-21 02:11:24 +0200157 </includes>
158 </configuration>
159 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200160 </plugins>
161 </build>
162
163 <dependencies>
164 <dependency>
165 <groupId>de.ids_mannheim.korap</groupId>
166 <artifactId>Kustvakt-core</artifactId>
margaretha4bae6a02023-03-13 09:50:33 +0100167 <version>${project.version}</version>
margaretha0ddaed62021-01-21 17:10:33 +0100168 </dependency>
169 <dependency>
170 <groupId>de.ids_mannheim.korap</groupId>
171 <artifactId>Kustvakt-core</artifactId>
margaretha4bae6a02023-03-13 09:50:33 +0100172 <version>${project.version}</version>
margaretha0ddaed62021-01-21 17:10:33 +0100173 <classifier>tests</classifier>
174 <type>test-jar</type>
175 <scope>test</scope>
margarethaf68daa62017-09-21 02:11:24 +0200176 </dependency>
margaretha54134902017-09-27 18:43:11 +0200177 <!-- LDAP -->
178 <dependency>
179 <groupId>com.novell.ldap</groupId>
180 <artifactId>jldap</artifactId>
181 <version>4.3</version>
182 </dependency>
margaretha54134902017-09-27 18:43:11 +0200183 <dependency>
184 <groupId>com.unboundid</groupId>
185 <artifactId>unboundid-ldapsdk</artifactId>
dependabot[bot]722f68b2023-03-10 17:56:31 +0000186 <version>6.0.8</version>
margaretha54134902017-09-27 18:43:11 +0200187 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200188
margarethaf68daa62017-09-21 02:11:24 +0200189 <!-- Hibernate -->
190 <dependency>
191 <groupId>org.hibernate</groupId>
192 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100193 <version>${hibernate.version}</version>
194 <exclusions>
195 <exclusion>
196 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100197 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100198 </exclusion>
199 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200200 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200201 <dependency>
202 <groupId>org.hibernate</groupId>
203 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100204 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200205 <scope>provided</scope>
206 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100207 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100208 <groupId>org.hibernate</groupId>
209 <artifactId>hibernate-java8</artifactId>
210 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100211 </dependency>
212 <dependency>
margaretha34954472018-10-24 20:05:17 +0200213 <groupId>org.hibernate</groupId>
214 <artifactId>hibernate-c3p0</artifactId>
215 <version>${hibernate.version}</version>
margarethac7196d22018-08-27 14:20:03 +0200216 </dependency>
margaretha34954472018-10-24 20:05:17 +0200217
margaretha318fec32017-10-24 12:11:58 +0200218 <!-- MySql -->
219 <dependency>
220 <groupId>mysql</groupId>
221 <artifactId>mysql-connector-java</artifactId>
dependabot[bot]c60ca472022-07-25 17:02:41 +0000222 <version>8.0.30</version>
margaretha318fec32017-10-24 12:11:58 +0200223 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200224
225 <!-- Jersey -->
226 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000227 <groupId>org.glassfish.jersey.test-framework</groupId>
margarethaf68daa62017-09-21 02:11:24 +0200228 <artifactId>jersey-test-framework-core</artifactId>
229 <version>${jersey.version}</version>
230 <scope>test</scope>
margaretha368d2d32023-02-28 11:23:22 +0100231 <exclusions>
232 <exclusion>
233 <groupId>org.junit.jupiter</groupId>
234 <artifactId>junit-jupiter</artifactId>
235 </exclusion>
236 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200237 </dependency>
238 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000239 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
240 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200241 <version>${jersey.version}</version>
242 <scope>test</scope>
margaretha368d2d32023-02-28 11:23:22 +0100243 <exclusions>
244 <exclusion>
245 <groupId>org.junit.jupiter</groupId>
246 <artifactId>junit-jupiter</artifactId>
247 </exclusion>
248 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200249 </dependency>
margaretha34954472018-10-24 20:05:17 +0200250
margaretha58e18632018-02-15 13:04:42 +0100251 <!-- velocity -->
252 <dependency>
253 <groupId>org.apache.velocity</groupId>
254 <artifactId>velocity-engine-core</artifactId>
dependabot[bot]2d36f792021-03-08 05:46:34 +0000255 <version>2.3</version>
margaretha58e18632018-02-15 13:04:42 +0100256 </dependency>
257 <dependency>
margaretha327d3ad2021-03-15 16:19:35 +0100258 <groupId>org.apache.velocity.tools</groupId>
259 <artifactId>velocity-tools-generic</artifactId>
260 <version>3.1</version>
margaretha58e18632018-02-15 13:04:42 +0100261 </dependency>
262 <!-- mail -->
263 <dependency>
264 <groupId>com.sun.mail</groupId>
265 <artifactId>javax.mail</artifactId>
dependabot[bot]7baae302020-07-06 05:43:30 +0000266 <version>1.6.2</version>
margaretha58e18632018-02-15 13:04:42 +0100267 </dependency>
268 <dependency>
269 <groupId>javax.activation</groupId>
270 <artifactId>activation</artifactId>
271 <version>1.1.1</version>
272 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200273
margarethafb027f92018-04-23 20:00:13 +0200274 <!-- OAuth -->
275 <dependency>
276 <groupId>org.apache.oltu.oauth2</groupId>
277 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
margarethae4034a82018-07-02 14:46:59 +0200278 <version>1.0.2</version>
margarethafb027f92018-04-23 20:00:13 +0200279 </dependency>
margarethae4034a82018-07-02 14:46:59 +0200280 <dependency>
281 <groupId>org.apache.oltu.oauth2</groupId>
282 <artifactId>org.apache.oltu.oauth2.client</artifactId>
283 <version>1.0.2</version>
284 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200285 <!-- JWT -->
286 <dependency>
287 <groupId>com.nimbusds</groupId>
288 <artifactId>nimbus-jose-jwt</artifactId>
dependabot[bot]92ad6942023-02-22 17:12:19 +0000289 <version>9.31</version>
margaretha235a6802018-06-06 19:21:53 +0200290 </dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200291
margarethaec247dd2018-06-12 21:55:46 +0200292 <!-- OpenId -->
293 <dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200294 <groupId>com.nimbusds</groupId>
295 <artifactId>oauth2-oidc-sdk</artifactId>
dependabot[bot]4ef77942023-04-24 17:56:32 +0000296 <version>10.8</version>
margarethaec247dd2018-06-12 21:55:46 +0200297 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200298
299 <!-- Project Lombok -->
300 <dependency>
301 <groupId>org.projectlombok</groupId>
302 <artifactId>lombok</artifactId>
dependabot[bot]ee4dddc2023-02-03 17:00:47 +0000303 <version>1.18.26</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200304 <scope>provided</scope>
305 </dependency>
margaretha0ddaed62021-01-21 17:10:33 +0100306
307 <!-- Mockserver -->
308 <dependency>
309 <groupId>org.mock-server</groupId>
310 <artifactId>mockserver-netty</artifactId>
dependabot[bot]19fcf082023-01-12 17:01:24 +0000311 <version>5.15.0</version>
margaretha0ddaed62021-01-21 17:10:33 +0100312 <scope>test</scope>
313 </dependency>
Marc Kupietz0a378672022-04-30 09:35:27 +0200314
315 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text -->
316 <dependency>
317 <groupId>org.apache.commons</groupId>
318 <artifactId>commons-text</artifactId>
dependabot[bot]5e19a782022-09-29 17:04:17 +0000319 <version>1.10.0</version>
Marc Kupietz0a378672022-04-30 09:35:27 +0200320 </dependency>
321
margaretha235a6802018-06-06 19:21:53 +0200322 </dependencies>
Akron63656052018-11-07 12:20:13 +0100323</project>