blob: 70237b97e22fb85027c806fb3cbacdb33f91058d [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>
margaretha43a1deb2022-03-30 08:40:49 +02006 <version>0.66</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>
dependabot[bot]77f25d82022-04-13 17:02:08 +000011 <hibernate.version>5.6.8.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]9c339412022-03-29 17:01:34 +000023 <version>3.3.0</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>
87 <include>**/*.properties</include>
margaretha3da7cd32018-10-22 17:42:52 +020088 <include>**/*.json</include>
margarethaf68daa62017-09-21 02:11:24 +020089 </includes>
90 </testResource>
91 </testResources>
92 <plugins>
93 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
94 <plugin>
95 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
96 <artifactId>maven-java-formatter-plugin</artifactId>
97 <version>0.4</version>
98 <configuration>
99 <configFile>${project.basedir}/Format.xml</configFile>
100 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
101 <compilerSource>${java.version}</compilerSource>
102 <compilerCompliance>${java.version}</compilerCompliance>
103 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
104 </configuration>
105 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
106 </executions> -->
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]3457f652022-03-11 17:02:03 +0000111 <version>3.10.1</version>
margarethaf68daa62017-09-21 02:11:24 +0200112 <configuration>
113 <compilerVersion>${java.version}</compilerVersion>
114 <source>${java.version}</source>
115 <target>${java.version}</target>
margaretha58e18632018-02-15 13:04:42 +0100116 <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
117 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
118 </compilerArguments> -->
Marc Kupietz483db752020-03-25 08:25:35 +0100119 <annotationProcessors>
margarethafc7d7772018-01-16 17:48:17 +0100120 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
121 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
Marc Kupietz483db752020-03-25 08:25:35 +0100122 </annotationProcessors>
margarethaf68daa62017-09-21 02:11:24 +0200123 </configuration>
124 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]a988d182020-07-02 15:01:52 +0000128 <version>2.22.2</version>
margarethaf68daa62017-09-21 02:11:24 +0200129 <configuration>
margaretha2df06602018-11-14 19:10:30 +0100130 <useSystemClassLoader>false</useSystemClassLoader>
margaretha0a45be12018-07-12 15:06:30 +0200131 <reuseForks>true</reuseForks>
132 <forkCount>1</forkCount>
133 <threadCount>10</threadCount>
margaretha34954472018-10-24 20:05:17 +0200134 <argLine>-Xmx512m -XX:MaxPermSize=256m
margaretha49cb6882018-07-04 04:19:54 +0200135 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
margarethaf68daa62017-09-21 02:11:24 +0200136 <excludes>
margarethadfecb4b2017-12-12 19:32:30 +0100137 <exclude>de/ids_mannheim/korap/authentication/*.java</exclude>
margaretha49cb6882018-07-04 04:19:54 +0200138 <exclude>de/ids_mannheim/korap/web/controller/TokenExpiryTest.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +0200139 </excludes>
140 <includes>
141 <include>de/ids_mannheim/korap/**/*.java</include>
142 </includes>
143 </configuration>
144 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200145 </plugins>
146 </build>
147
148 <dependencies>
149 <dependency>
150 <groupId>de.ids_mannheim.korap</groupId>
151 <artifactId>Kustvakt-core</artifactId>
margaretha28f14af2022-02-04 08:50:25 +0100152 <version>[0.65.1,)</version>
margaretha0ddaed62021-01-21 17:10:33 +0100153 </dependency>
154 <dependency>
155 <groupId>de.ids_mannheim.korap</groupId>
156 <artifactId>Kustvakt-core</artifactId>
margaretha28f14af2022-02-04 08:50:25 +0100157 <version>[0.65.1,)</version>
margaretha0ddaed62021-01-21 17:10:33 +0100158 <classifier>tests</classifier>
159 <type>test-jar</type>
160 <scope>test</scope>
margarethaf68daa62017-09-21 02:11:24 +0200161 </dependency>
margaretha54134902017-09-27 18:43:11 +0200162 <!-- LDAP -->
163 <dependency>
164 <groupId>com.novell.ldap</groupId>
165 <artifactId>jldap</artifactId>
166 <version>4.3</version>
167 </dependency>
margaretha54134902017-09-27 18:43:11 +0200168 <dependency>
169 <groupId>com.unboundid</groupId>
170 <artifactId>unboundid-ldapsdk</artifactId>
dependabot[bot]7aa4a732022-03-16 17:04:00 +0000171 <version>6.0.4</version>
margaretha54134902017-09-27 18:43:11 +0200172 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200173
margarethaf68daa62017-09-21 02:11:24 +0200174 <!-- Hibernate -->
175 <dependency>
176 <groupId>org.hibernate</groupId>
177 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100178 <version>${hibernate.version}</version>
179 <exclusions>
180 <exclusion>
181 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100182 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100183 </exclusion>
184 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200185 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200186 <dependency>
187 <groupId>org.hibernate</groupId>
188 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100189 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200190 <scope>provided</scope>
191 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100192 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100193 <groupId>org.hibernate</groupId>
194 <artifactId>hibernate-java8</artifactId>
195 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100196 </dependency>
197 <dependency>
margaretha34954472018-10-24 20:05:17 +0200198 <groupId>org.hibernate</groupId>
199 <artifactId>hibernate-c3p0</artifactId>
200 <version>${hibernate.version}</version>
margarethac7196d22018-08-27 14:20:03 +0200201 </dependency>
margaretha34954472018-10-24 20:05:17 +0200202
margaretha318fec32017-10-24 12:11:58 +0200203 <!-- MySql -->
204 <dependency>
205 <groupId>mysql</groupId>
206 <artifactId>mysql-connector-java</artifactId>
dependabot[bot]e749e802022-01-18 17:01:51 +0000207 <version>8.0.28</version>
margaretha318fec32017-10-24 12:11:58 +0200208 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200209
210 <!-- Jersey -->
211 <dependency>
212 <groupId>com.sun.jersey.jersey-test-framework</groupId>
213 <artifactId>jersey-test-framework-core</artifactId>
214 <version>${jersey.version}</version>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>com.sun.jersey.jersey-test-framework</groupId>
219 <artifactId>jersey-test-framework-grizzly</artifactId>
220 <version>${jersey.version}</version>
221 <scope>test</scope>
222 </dependency>
margaretha34954472018-10-24 20:05:17 +0200223
margaretha58e18632018-02-15 13:04:42 +0100224 <!-- velocity -->
225 <dependency>
226 <groupId>org.apache.velocity</groupId>
227 <artifactId>velocity-engine-core</artifactId>
dependabot[bot]2d36f792021-03-08 05:46:34 +0000228 <version>2.3</version>
margaretha58e18632018-02-15 13:04:42 +0100229 </dependency>
230 <dependency>
margaretha327d3ad2021-03-15 16:19:35 +0100231 <groupId>org.apache.velocity.tools</groupId>
232 <artifactId>velocity-tools-generic</artifactId>
233 <version>3.1</version>
margaretha58e18632018-02-15 13:04:42 +0100234 </dependency>
235 <!-- mail -->
236 <dependency>
237 <groupId>com.sun.mail</groupId>
238 <artifactId>javax.mail</artifactId>
dependabot[bot]7baae302020-07-06 05:43:30 +0000239 <version>1.6.2</version>
margaretha58e18632018-02-15 13:04:42 +0100240 </dependency>
241 <dependency>
242 <groupId>javax.activation</groupId>
243 <artifactId>activation</artifactId>
244 <version>1.1.1</version>
245 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200246
margarethafb027f92018-04-23 20:00:13 +0200247 <!-- OAuth -->
248 <dependency>
249 <groupId>org.apache.oltu.oauth2</groupId>
250 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
margarethae4034a82018-07-02 14:46:59 +0200251 <version>1.0.2</version>
margarethafb027f92018-04-23 20:00:13 +0200252 </dependency>
margarethae4034a82018-07-02 14:46:59 +0200253 <dependency>
254 <groupId>org.apache.oltu.oauth2</groupId>
255 <artifactId>org.apache.oltu.oauth2.client</artifactId>
256 <version>1.0.2</version>
257 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200258 <!-- JWT -->
259 <dependency>
260 <groupId>com.nimbusds</groupId>
261 <artifactId>nimbus-jose-jwt</artifactId>
dependabot[bot]95ef1492022-03-07 17:02:36 +0000262 <version>9.21</version>
margaretha235a6802018-06-06 19:21:53 +0200263 </dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200264
margarethaec247dd2018-06-12 21:55:46 +0200265 <!-- OpenId -->
266 <dependency>
margaretha9c78e1a2018-06-27 14:12:35 +0200267 <groupId>com.nimbusds</groupId>
268 <artifactId>oauth2-oidc-sdk</artifactId>
margarethae1228ab2021-02-22 11:51:38 +0100269 <version>8.28.4</version>
margarethaec247dd2018-06-12 21:55:46 +0200270 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200271
272 <!-- Project Lombok -->
273 <dependency>
274 <groupId>org.projectlombok</groupId>
275 <artifactId>lombok</artifactId>
dependabot[bot]62ba6782022-04-18 17:02:23 +0000276 <version>1.18.24</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200277 <scope>provided</scope>
278 </dependency>
margaretha0ddaed62021-01-21 17:10:33 +0100279
280 <!-- Mockserver -->
281 <dependency>
282 <groupId>org.mock-server</groupId>
283 <artifactId>mockserver-netty</artifactId>
dependabot[bot]3f520f32022-04-05 17:02:38 +0000284 <version>5.13.2</version>
margaretha0ddaed62021-01-21 17:10:33 +0100285 <scope>test</scope>
286 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200287 </dependencies>
Akron63656052018-11-07 12:20:13 +0100288</project>