blob: 407a212c0467fdc7ca5a32dc9d04097c107c652f [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>
Akronbaa04702020-09-29 18:08:09 +02006 <version>0.63</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>
margarethaf68daa62017-09-21 02:11:24 +020010 <jersey.version>1.19.4</jersey.version>
margaretha77bf8b72020-12-04 13:47:48 +010011 <hibernate.version>5.4.25.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]7647e0c2020-07-06 05:43:27 +000023 <version>3.2.4</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>
72 <profile>
73 <id>lite</id>
74 <build>
75 <plugins>
76 <plugin>
77 <artifactId>maven-shade-plugin</artifactId>
dependabot[bot]7647e0c2020-07-06 05:43:27 +000078 <version>3.2.4</version>
margaretha34954472018-10-24 20:05:17 +020079 <executions>
80 <execution>
81 <id>lite</id>
82 <phase>package</phase>
83 <goals>
84 <goal>shade</goal>
85 </goals>
86 <configuration>
87 <finalName>
88 Kustvakt-lite-${project.version}
89 </finalName>
90 <transformers>
91 <transformer
92 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
93 <mainClass>
94 de.ids_mannheim.korap.server.KustvaktLiteServer
95 </mainClass>
96 </transformer>
97 <transformer
98 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
99 <resource>META-INF/spring.handlers
100 </resource>
101 </transformer>
102 <transformer
103 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
104 <resource>META-INF/spring.schemas
105 </resource>
106 </transformer>
107 </transformers>
108 <!-- Additional configuration. apparently there is a security exception -->
109 <filters>
110 <filter>
111 <artifact>*:*</artifact>
112 <excludes>
113 <exclude>META-INF/*.SF</exclude>
114 <exclude>META-INF/*.DSA
115 </exclude>
116 <exclude>META-INF/*.RSA
117 </exclude>
118 </excludes>
119 </filter>
120 </filters>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125 </plugins>
126 </build>
127 </profile>
128 </profiles>
margarethaf68daa62017-09-21 02:11:24 +0200129 <build>
margaretha34954472018-10-24 20:05:17 +0200130 <!-- <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering>
131 <includes> <include>**/*.info</include> <include>**/*.xml</include> <include>**/*.conf</include>
132 <include>**/*.kustvakt</include> <include>**/*.properties</include> <include>**/*.sql</include>
133 <include>**/*.vm</include> </includes> </resource> </resources> -->
margarethaf68daa62017-09-21 02:11:24 +0200134 <testResources>
135 <testResource>
136 <directory>src/test/resources</directory>
margarethaf68daa62017-09-21 02:11:24 +0200137 </testResource>
138 <testResource>
139 <directory>src/main/resources</directory>
140 <filtering>true</filtering>
141 <includes>
142 <include>**/*.info</include>
143 <include>**/*.properties</include>
margaretha3da7cd32018-10-22 17:42:52 +0200144 <include>**/*.json</include>
margarethaf68daa62017-09-21 02:11:24 +0200145 </includes>
146 </testResource>
147 </testResources>
148 <plugins>
149 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
150 <plugin>
151 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
152 <artifactId>maven-java-formatter-plugin</artifactId>
153 <version>0.4</version>
154 <configuration>
155 <configFile>${project.basedir}/Format.xml</configFile>
156 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
157 <compilerSource>${java.version}</compilerSource>
158 <compilerCompliance>${java.version}</compilerCompliance>
159 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
160 </configuration>
161 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
162 </executions> -->
163 </plugin>
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]43d73a02020-07-02 15:01:54 +0000167 <version>3.8.1</version>
margarethaf68daa62017-09-21 02:11:24 +0200168 <configuration>
169 <compilerVersion>${java.version}</compilerVersion>
170 <source>${java.version}</source>
171 <target>${java.version}</target>
margaretha58e18632018-02-15 13:04:42 +0100172 <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
173 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
174 </compilerArguments> -->
Marc Kupietz483db752020-03-25 08:25:35 +0100175 <annotationProcessors>
margarethafc7d7772018-01-16 17:48:17 +0100176 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
177 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
Marc Kupietz483db752020-03-25 08:25:35 +0100178 </annotationProcessors>
margarethaf68daa62017-09-21 02:11:24 +0200179 </configuration>
180 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]a988d182020-07-02 15:01:52 +0000184 <version>2.22.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200185 <configuration>
margaretha2df06602018-11-14 19:10:30 +0100186 <useSystemClassLoader>false</useSystemClassLoader>
margaretha0a45be12018-07-12 15:06:30 +0200187 <reuseForks>true</reuseForks>
188 <forkCount>1</forkCount>
189 <threadCount>10</threadCount>
margaretha34954472018-10-24 20:05:17 +0200190 <argLine>-Xmx512m -XX:MaxPermSize=256m
margaretha49cb6882018-07-04 04:19:54 +0200191 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
margarethaf68daa62017-09-21 02:11:24 +0200192 <excludes>
margarethadfecb4b2017-12-12 19:32:30 +0100193 <exclude>de/ids_mannheim/korap/authentication/*.java</exclude>
margaretha49cb6882018-07-04 04:19:54 +0200194 <exclude>de/ids_mannheim/korap/web/controller/TokenExpiryTest.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +0200195 </excludes>
196 <includes>
197 <include>de/ids_mannheim/korap/**/*.java</include>
198 </includes>
199 </configuration>
200 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200201 </plugins>
202 </build>
203
204 <dependencies>
205 <dependency>
206 <groupId>de.ids_mannheim.korap</groupId>
207 <artifactId>Kustvakt-core</artifactId>
margaretha0ddaed62021-01-21 17:10:33 +0100208 <version>[0.63.,)</version>
209 </dependency>
210 <dependency>
211 <groupId>de.ids_mannheim.korap</groupId>
212 <artifactId>Kustvakt-core</artifactId>
213 <version>[0.63.,)</version>
214 <classifier>tests</classifier>
215 <type>test-jar</type>
216 <scope>test</scope>
margarethaf68daa62017-09-21 02:11:24 +0200217 </dependency>
margaretha54134902017-09-27 18:43:11 +0200218 <!-- LDAP -->
219 <dependency>
220 <groupId>com.novell.ldap</groupId>
221 <artifactId>jldap</artifactId>
222 <version>4.3</version>
223 </dependency>
margaretha54134902017-09-27 18:43:11 +0200224 <dependency>
225 <groupId>com.unboundid</groupId>
226 <artifactId>unboundid-ldapsdk</artifactId>
dependabot[bot]6fc61762020-08-26 05:39:51 +0000227 <version>5.1.1</version>
margaretha54134902017-09-27 18:43:11 +0200228 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200229
margarethaf68daa62017-09-21 02:11:24 +0200230 <!-- Hibernate -->
231 <dependency>
232 <groupId>org.hibernate</groupId>
233 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100234 <version>${hibernate.version}</version>
235 <exclusions>
236 <exclusion>
237 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100238 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100239 </exclusion>
240 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200241 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200242 <dependency>
243 <groupId>org.hibernate</groupId>
244 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100245 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200246 <scope>provided</scope>
247 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100248 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100249 <groupId>org.hibernate</groupId>
250 <artifactId>hibernate-java8</artifactId>
251 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100252 </dependency>
253 <dependency>
margaretha34954472018-10-24 20:05:17 +0200254 <groupId>org.hibernate</groupId>
255 <artifactId>hibernate-c3p0</artifactId>
256 <version>${hibernate.version}</version>
margarethac7196d22018-08-27 14:20:03 +0200257 </dependency>
margaretha34954472018-10-24 20:05:17 +0200258
margaretha318fec32017-10-24 12:11:58 +0200259 <!-- MySql -->
260 <dependency>
261 <groupId>mysql</groupId>
262 <artifactId>mysql-connector-java</artifactId>
dependabot[bot]c50a9732020-10-26 21:24:42 +0000263 <version>8.0.22</version>
margaretha318fec32017-10-24 12:11:58 +0200264 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200265
266 <!-- Jersey -->
267 <dependency>
268 <groupId>com.sun.jersey.jersey-test-framework</groupId>
269 <artifactId>jersey-test-framework-core</artifactId>
270 <version>${jersey.version}</version>
271 <scope>test</scope>
272 </dependency>
273 <dependency>
274 <groupId>com.sun.jersey.jersey-test-framework</groupId>
275 <artifactId>jersey-test-framework-grizzly</artifactId>
276 <version>${jersey.version}</version>
277 <scope>test</scope>
278 </dependency>
margaretha34954472018-10-24 20:05:17 +0200279
margaretha58e18632018-02-15 13:04:42 +0100280 <!-- velocity -->
281 <dependency>
282 <groupId>org.apache.velocity</groupId>
283 <artifactId>velocity-engine-core</artifactId>
dependabot[bot]52a83732020-07-06 05:43:27 +0000284 <version>2.2</version>
margaretha58e18632018-02-15 13:04:42 +0100285 </dependency>
286 <dependency>
287 <groupId>org.apache.velocity</groupId>
288 <artifactId>velocity-tools</artifactId>
289 <version>2.0</version>
290 </dependency>
291 <!-- mail -->
292 <dependency>
293 <groupId>com.sun.mail</groupId>
294 <artifactId>javax.mail</artifactId>
dependabot[bot]7baae302020-07-06 05:43:30 +0000295 <version>1.6.2</version>
margaretha58e18632018-02-15 13:04:42 +0100296 </dependency>
297 <dependency>
298 <groupId>javax.activation</groupId>
299 <artifactId>activation</artifactId>
300 <version>1.1.1</version>
301 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200302
margarethafb027f92018-04-23 20:00:13 +0200303 <!-- OAuth -->
304 <dependency>
305 <groupId>org.apache.oltu.oauth2</groupId>
306 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
margarethae4034a82018-07-02 14:46:59 +0200307 <version>1.0.2</version>
margarethafb027f92018-04-23 20:00:13 +0200308 </dependency>
margarethae4034a82018-07-02 14:46:59 +0200309 <dependency>
310 <groupId>org.apache.oltu.oauth2</groupId>
311 <artifactId>org.apache.oltu.oauth2.client</artifactId>
312 <version>1.0.2</version>
313 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200314 <!-- JWT -->
315 <dependency>
316 <groupId>com.nimbusds</groupId>
317 <artifactId>nimbus-jose-jwt</artifactId>
dependabot[bot]a1cab612020-11-02 06:01:39 +0000318 <version>9.1.2</version>
margaretha235a6802018-06-06 19:21:53 +0200319 </dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200320
margarethaec247dd2018-06-12 21:55:46 +0200321 <!-- OpenId -->
322 <dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200323 <groupId>com.nimbusds</groupId>
324 <artifactId>oauth2-oidc-sdk</artifactId>
dependabot[bot]f4fa1eb2020-11-09 06:18:59 +0000325 <version>8.25</version>
margarethaec247dd2018-06-12 21:55:46 +0200326 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200327
328 <!-- Project Lombok -->
329 <dependency>
330 <groupId>org.projectlombok</groupId>
331 <artifactId>lombok</artifactId>
dependabot[bot]9a8b70d2020-10-26 21:27:49 +0000332 <version>1.18.16</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200333 <scope>provided</scope>
334 </dependency>
margaretha0ddaed62021-01-21 17:10:33 +0100335
336 <!-- Mockserver -->
337 <dependency>
338 <groupId>org.mock-server</groupId>
339 <artifactId>mockserver-netty</artifactId>
340 <version>5.11.2</version>
341 <scope>test</scope>
342 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200343 </dependencies>
Akron63656052018-11-07 12:20:13 +0100344</project>