blob: 3149614a109ccb306e752674cf885a4f8626761f [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>
Akron9c52cf52022-12-05 17:51:49 +01006 <version>0.69.2</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]95465742023-02-17 17:56:32 +000010 <jersey.version>2.39</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>
dependabot[bot]3457f652022-03-11 17:02:03 +0000114 <version>3.10.1</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]a988d182020-07-02 15:01:52 +0000131 <version>2.22.2</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>
136 <version>2.22.2</version>
137 </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>
margarethaf68daa62017-09-21 02:11:24 +0200152 </excludes>
153 <includes>
154 <include>de/ids_mannheim/korap/**/*.java</include>
Marc Kupietz0a378672022-04-30 09:35:27 +0200155 <include>de/ids_mannheim/korap/authentication/LdapAuth3Test.java</include>
margarethaf68daa62017-09-21 02:11:24 +0200156 </includes>
157 </configuration>
158 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200159 </plugins>
160 </build>
161
162 <dependencies>
163 <dependency>
164 <groupId>de.ids_mannheim.korap</groupId>
165 <artifactId>Kustvakt-core</artifactId>
margaretha2a498052022-05-25 11:14:24 +0200166 <version>[0.68,)</version>
margaretha0ddaed62021-01-21 17:10:33 +0100167 </dependency>
168 <dependency>
169 <groupId>de.ids_mannheim.korap</groupId>
170 <artifactId>Kustvakt-core</artifactId>
margaretha2a498052022-05-25 11:14:24 +0200171 <version>[0.68,)</version>
margaretha0ddaed62021-01-21 17:10:33 +0100172 <classifier>tests</classifier>
173 <type>test-jar</type>
174 <scope>test</scope>
margarethaf68daa62017-09-21 02:11:24 +0200175 </dependency>
margaretha54134902017-09-27 18:43:11 +0200176 <!-- LDAP -->
177 <dependency>
178 <groupId>com.novell.ldap</groupId>
179 <artifactId>jldap</artifactId>
180 <version>4.3</version>
181 </dependency>
margaretha54134902017-09-27 18:43:11 +0200182 <dependency>
183 <groupId>com.unboundid</groupId>
184 <artifactId>unboundid-ldapsdk</artifactId>
dependabot[bot]2251d2d2022-12-02 17:00:34 +0000185 <version>6.0.7</version>
margaretha54134902017-09-27 18:43:11 +0200186 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200187
margarethaf68daa62017-09-21 02:11:24 +0200188 <!-- Hibernate -->
189 <dependency>
190 <groupId>org.hibernate</groupId>
191 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100192 <version>${hibernate.version}</version>
193 <exclusions>
194 <exclusion>
195 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100196 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100197 </exclusion>
198 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200199 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200200 <dependency>
201 <groupId>org.hibernate</groupId>
202 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100203 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200204 <scope>provided</scope>
205 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100206 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100207 <groupId>org.hibernate</groupId>
208 <artifactId>hibernate-java8</artifactId>
209 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100210 </dependency>
211 <dependency>
margaretha34954472018-10-24 20:05:17 +0200212 <groupId>org.hibernate</groupId>
213 <artifactId>hibernate-c3p0</artifactId>
214 <version>${hibernate.version}</version>
margarethac7196d22018-08-27 14:20:03 +0200215 </dependency>
margaretha34954472018-10-24 20:05:17 +0200216
margaretha318fec32017-10-24 12:11:58 +0200217 <!-- MySql -->
218 <dependency>
219 <groupId>mysql</groupId>
220 <artifactId>mysql-connector-java</artifactId>
dependabot[bot]c60ca472022-07-25 17:02:41 +0000221 <version>8.0.30</version>
margaretha318fec32017-10-24 12:11:58 +0200222 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200223
224 <!-- Jersey -->
225 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000226 <groupId>org.glassfish.jersey.test-framework</groupId>
margarethaf68daa62017-09-21 02:11:24 +0200227 <artifactId>jersey-test-framework-core</artifactId>
228 <version>${jersey.version}</version>
229 <scope>test</scope>
margaretha368d2d32023-02-28 11:23:22 +0100230 <exclusions>
231 <exclusion>
232 <groupId>org.junit.jupiter</groupId>
233 <artifactId>junit-jupiter</artifactId>
234 </exclusion>
235 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200236 </dependency>
237 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000238 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
239 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200240 <version>${jersey.version}</version>
241 <scope>test</scope>
margaretha368d2d32023-02-28 11:23:22 +0100242 <exclusions>
243 <exclusion>
244 <groupId>org.junit.jupiter</groupId>
245 <artifactId>junit-jupiter</artifactId>
246 </exclusion>
247 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200248 </dependency>
margaretha34954472018-10-24 20:05:17 +0200249
margaretha58e18632018-02-15 13:04:42 +0100250 <!-- velocity -->
251 <dependency>
252 <groupId>org.apache.velocity</groupId>
253 <artifactId>velocity-engine-core</artifactId>
dependabot[bot]2d36f792021-03-08 05:46:34 +0000254 <version>2.3</version>
margaretha58e18632018-02-15 13:04:42 +0100255 </dependency>
256 <dependency>
margaretha327d3ad2021-03-15 16:19:35 +0100257 <groupId>org.apache.velocity.tools</groupId>
258 <artifactId>velocity-tools-generic</artifactId>
259 <version>3.1</version>
margaretha58e18632018-02-15 13:04:42 +0100260 </dependency>
261 <!-- mail -->
262 <dependency>
263 <groupId>com.sun.mail</groupId>
264 <artifactId>javax.mail</artifactId>
dependabot[bot]7baae302020-07-06 05:43:30 +0000265 <version>1.6.2</version>
margaretha58e18632018-02-15 13:04:42 +0100266 </dependency>
267 <dependency>
268 <groupId>javax.activation</groupId>
269 <artifactId>activation</artifactId>
270 <version>1.1.1</version>
271 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200272
margarethafb027f92018-04-23 20:00:13 +0200273 <!-- OAuth -->
274 <dependency>
275 <groupId>org.apache.oltu.oauth2</groupId>
276 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
margarethae4034a82018-07-02 14:46:59 +0200277 <version>1.0.2</version>
margarethafb027f92018-04-23 20:00:13 +0200278 </dependency>
margarethae4034a82018-07-02 14:46:59 +0200279 <dependency>
280 <groupId>org.apache.oltu.oauth2</groupId>
281 <artifactId>org.apache.oltu.oauth2.client</artifactId>
282 <version>1.0.2</version>
283 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200284 <!-- JWT -->
285 <dependency>
286 <groupId>com.nimbusds</groupId>
287 <artifactId>nimbus-jose-jwt</artifactId>
dependabot[bot]92ad6942023-02-22 17:12:19 +0000288 <version>9.31</version>
margaretha235a6802018-06-06 19:21:53 +0200289 </dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200290
margarethaec247dd2018-06-12 21:55:46 +0200291 <!-- OpenId -->
292 <dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200293 <groupId>com.nimbusds</groupId>
294 <artifactId>oauth2-oidc-sdk</artifactId>
dependabot[bot]bb145ef2023-02-16 17:56:41 +0000295 <version>10.7</version>
margarethaec247dd2018-06-12 21:55:46 +0200296 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200297
298 <!-- Project Lombok -->
299 <dependency>
300 <groupId>org.projectlombok</groupId>
301 <artifactId>lombok</artifactId>
dependabot[bot]ee4dddc2023-02-03 17:00:47 +0000302 <version>1.18.26</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200303 <scope>provided</scope>
304 </dependency>
margaretha0ddaed62021-01-21 17:10:33 +0100305
306 <!-- Mockserver -->
307 <dependency>
308 <groupId>org.mock-server</groupId>
309 <artifactId>mockserver-netty</artifactId>
dependabot[bot]19fcf082023-01-12 17:01:24 +0000310 <version>5.15.0</version>
margaretha0ddaed62021-01-21 17:10:33 +0100311 <scope>test</scope>
312 </dependency>
Marc Kupietz0a378672022-04-30 09:35:27 +0200313
314 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text -->
315 <dependency>
316 <groupId>org.apache.commons</groupId>
317 <artifactId>commons-text</artifactId>
dependabot[bot]5e19a782022-09-29 17:04:17 +0000318 <version>1.10.0</version>
Marc Kupietz0a378672022-04-30 09:35:27 +0200319 </dependency>
320
margaretha235a6802018-06-06 19:21:53 +0200321 </dependencies>
Akron63656052018-11-07 12:20:13 +0100322</project>