blob: e2524b2d6fb797c6bca564752f927fe7f989586f [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-lite</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>
margarethaf68daa62017-09-21 02:11:24 +020011 </properties>
12
13 <build>
14 <resources>
15 <resource>
16 <directory>src/main/resources</directory>
margarethaf68daa62017-09-21 02:11:24 +020017 </resource>
18 </resources>
19 <testResources>
20 <testResource>
21 <directory>src/test/resources</directory>
22 <filtering>true</filtering>
23 <includes>
24 <include>**/*.prop</include>
25 <include>**/*.xml</include>
26 <include>**/*.conf</include>
27 <include>**/*.info</include>
28 <include>**/*.properties</include>
29 </includes>
30 </testResource>
31 <testResource>
32 <directory>src/main/resources</directory>
33 <filtering>true</filtering>
34 <includes>
35 <include>**/*.info</include>
36 <include>**/*.properties</include>
37 </includes>
38 </testResource>
39 </testResources>
40 <plugins>
41 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
42 <plugin>
43 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
44 <artifactId>maven-java-formatter-plugin</artifactId>
45 <version>0.4</version>
46 <configuration>
47 <configFile>${project.basedir}/Format.xml</configFile>
48 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
49 <compilerSource>${java.version}</compilerSource>
50 <compilerCompliance>${java.version}</compilerCompliance>
51 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
52 </configuration>
53 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
54 </executions> -->
55 </plugin>
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]133906d2022-03-11 17:02:03 +000059 <version>3.10.1</version>
margarethaf68daa62017-09-21 02:11:24 +020060 <configuration>
61 <compilerVersion>${java.version}</compilerVersion>
62 <source>${java.version}</source>
63 <target>${java.version}</target>
64 </configuration>
65 </plugin>
66
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]3ba37b22020-07-02 15:01:44 +000070 <version>2.22.2</version>
dependabot[bot]95465742023-02-17 17:56:32 +000071 <dependencies>
72 <dependency>
73 <groupId>org.apache.maven.surefire</groupId>
74 <artifactId>surefire-junit47</artifactId>
75 <version>2.22.2</version>
76 </dependency>
77 </dependencies>
margarethaf68daa62017-09-21 02:11:24 +020078 <configuration>
Marc Kupietzddd9a8b2022-11-17 17:24:58 +010079 <useSystemClassLoader>false</useSystemClassLoader>
margarethab2c92d42019-01-07 15:35:53 +010080 <reuseForks>true</reuseForks>
81 <forkCount>1</forkCount>
82 <threadCount>5</threadCount>
Marc Kupietzddd9a8b2022-11-17 17:24:58 +010083 <argLine>-Xmx512m
margarethab2c92d42019-01-07 15:35:53 +010084 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
margarethaf68daa62017-09-21 02:11:24 +020085 </configuration>
86 </plugin>
87 <plugin>
88 <artifactId>maven-shade-plugin</artifactId>
dependabot[bot]d92b05b2022-10-27 17:02:10 +000089 <version>3.4.1</version>
margarethaf68daa62017-09-21 02:11:24 +020090 <executions>
91 <!-- option 1 -->
92 <execution>
93 <id>light</id>
94 <phase>package</phase>
95 <goals>
96 <goal>shade</goal>
97 </goals>
98 <configuration>
99 <finalName>
margarethaea68a0a2017-09-21 03:09:49 +0200100 Kustvakt-lite-${project.version}
margarethaf68daa62017-09-21 02:11:24 +0200101 </finalName>
102 <transformers>
103 <transformer
104 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
105 <mainClass>
106 de.ids_mannheim.korap.server.KustvaktLiteServer
107 </mainClass>
108 </transformer>
109 <transformer
110 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
111 <resource>META-INF/spring.handlers
112 </resource>
113 </transformer>
114 <transformer
115 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
116 <resource>META-INF/spring.schemas
117 </resource>
118 </transformer>
119 </transformers>
120 <!-- Additional configuration. -->
121 <!-- apparently there is a securityexception -->
122 <filters>
123 <filter>
124 <artifact>*:*</artifact>
125 <excludes>
126 <exclude>META-INF/*.SF</exclude>
127 <exclude>META-INF/*.DSA
128 </exclude>
129 <exclude>META-INF/*.RSA
130 </exclude>
131 </excludes>
132 </filter>
133 </filters>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
Marc Kupietz97f66142020-11-11 18:24:43 +0100138 <plugin>
139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>cobertura-maven-plugin</artifactId>
141 <version>2.7</version>
142 <configuration>
143 <formats>
144 <format>html</format>
145 <format>xml</format>
146 </formats>
147 <check/>
148 </configuration>
149 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200150 </plugins>
151 </build>
152
153
154 <dependencies>
155 <dependency>
156 <groupId>de.ids_mannheim.korap</groupId>
157 <artifactId>Kustvakt-core</artifactId>
margaretha28f14af2022-02-04 08:50:25 +0100158 <version>[0.65.1,)</version>
margarethaf68daa62017-09-21 02:11:24 +0200159 </dependency>
margaretha0ddaed62021-01-21 17:10:33 +0100160 <dependency>
161 <groupId>de.ids_mannheim.korap</groupId>
162 <artifactId>Kustvakt-core</artifactId>
margaretha28f14af2022-02-04 08:50:25 +0100163 <version>[0.65.1,)</version>
margaretha0ddaed62021-01-21 17:10:33 +0100164 <classifier>tests</classifier>
165 <type>test-jar</type>
166 <scope>test</scope>
margaretha3d80a522021-07-19 18:31:26 +0200167 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200168 <!-- Jersey test framework -->
169 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000170 <groupId>org.glassfish.jersey.test-framework</groupId>
margarethaf68daa62017-09-21 02:11:24 +0200171 <artifactId>jersey-test-framework-core</artifactId>
172 <version>${jersey.version}</version>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000176 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
177 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200178 <version>${jersey.version}</version>
179 <scope>test</scope>
180 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200181
182 <!-- Project Lombok -->
183 <dependency>
184 <groupId>org.projectlombok</groupId>
185 <artifactId>lombok</artifactId>
dependabot[bot]4bac6192023-02-03 17:00:45 +0000186 <version>1.18.26</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200187 <scope>provided</scope>
188 </dependency>
Marc Kupietz97f66142020-11-11 18:24:43 +0100189 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
190 <dependency>
191 <groupId>org.codehaus.mojo</groupId>
192 <artifactId>cobertura-maven-plugin</artifactId>
193 <version>2.7</version>
194 <scope>test</scope>
margaretha0ddaed62021-01-21 17:10:33 +0100195 <exclusions>
margaretha3d80a522021-07-19 18:31:26 +0200196 <!-- multiple slf4j binding -->
197 <exclusion>
198 <groupId>ch.qos.logback</groupId>
199 <artifactId>logback-classic</artifactId>
200 </exclusion>
margaretha0ddaed62021-01-21 17:10:33 +0100201 <exclusion>
202 <groupId>org.apache.commons</groupId>
203 <artifactId>commons-lang3</artifactId>
204 </exclusion>
margaretha4bd61252021-06-11 14:11:31 +0200205 <!-- incompatilibily with eclipse 2021-03 (4.19.0) and java 11 -->
206 <exclusion>
207 <groupId>com.sun</groupId>
208 <artifactId>tools</artifactId>
209 </exclusion>
margaretha0ddaed62021-01-21 17:10:33 +0100210 </exclusions>
Marc Kupietz97f66142020-11-11 18:24:43 +0100211 </dependency>
212 <!-- https://mvnrepository.com/artifact/backport-util-concurrent/backport-util-concurrent -->
213 <dependency>
214 <groupId>backport-util-concurrent</groupId>
215 <artifactId>backport-util-concurrent</artifactId>
216 <version>3.1</version>
217 </dependency>
margaretha14686b52021-07-26 15:24:16 +0200218 <!-- Mockserver -->
margaretha3d80a522021-07-19 18:31:26 +0200219 <dependency>
220 <groupId>org.mock-server</groupId>
221 <artifactId>mockserver-netty</artifactId>
dependabot[bot]2b737062023-01-12 17:01:23 +0000222 <version>5.15.0</version>
margaretha3d80a522021-07-19 18:31:26 +0200223 <scope>test</scope>
margaretha14686b52021-07-26 15:24:16 +0200224 <exclusions>
225 <exclusion>
226 <groupId>com.fasterxml.jackson.core</groupId>
227 <artifactId>jackson-core</artifactId>
228 </exclusion>
229 <exclusion>
230 <groupId>com.fasterxml.jackson.core</groupId>
231 <artifactId>jackson-annotations</artifactId>
232 </exclusion>
233 <exclusion>
234 <groupId>com.fasterxml.jackson.core</groupId>
235 <artifactId>jackson-databind</artifactId>
236 </exclusion>
237 </exclusions>
margaretha3d80a522021-07-19 18:31:26 +0200238 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200239 </dependencies>
Akron76b31752018-06-29 12:12:32 +0200240</project>