blob: 07c0b3e66a8efdc867b507ef678c8f8f894f3678 [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>
margaretha2559b192023-03-31 16:08:04 +02006 <version>0.69.4</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]c3e5b222023-03-23 17:56:31 +000010 <jersey.version>2.39.1</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>
margaretha2c651b32023-03-06 16:17:49 +010059 <version>3.11.0</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]943a2882023-03-14 17:56:36 +000070 <version>3.0.0</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>
dependabot[bot]f9a5d592023-03-14 17:56:38 +000075 <version>3.0.0</version>
dependabot[bot]95465742023-02-17 17:56:32 +000076 </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>
margaretha4bae6a02023-03-13 09:50:33 +0100158 <version>${project.version}</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>
margaretha4bae6a02023-03-13 09:50:33 +0100163 <version>${project.version}</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>
margaretha368d2d32023-02-28 11:23:22 +0100174 <exclusions>
175 <exclusion>
176 <groupId>org.junit.jupiter</groupId>
177 <artifactId>junit-jupiter</artifactId>
178 </exclusion>
179 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200180 </dependency>
181 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000182 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
183 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200184 <version>${jersey.version}</version>
185 <scope>test</scope>
margaretha368d2d32023-02-28 11:23:22 +0100186 <exclusions>
187 <exclusion>
188 <groupId>org.junit.jupiter</groupId>
189 <artifactId>junit-jupiter</artifactId>
190 </exclusion>
191 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200192 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200193
194 <!-- Project Lombok -->
195 <dependency>
196 <groupId>org.projectlombok</groupId>
197 <artifactId>lombok</artifactId>
dependabot[bot]4bac6192023-02-03 17:00:45 +0000198 <version>1.18.26</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200199 <scope>provided</scope>
200 </dependency>
Marc Kupietz97f66142020-11-11 18:24:43 +0100201 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
202 <dependency>
203 <groupId>org.codehaus.mojo</groupId>
204 <artifactId>cobertura-maven-plugin</artifactId>
205 <version>2.7</version>
206 <scope>test</scope>
margaretha0ddaed62021-01-21 17:10:33 +0100207 <exclusions>
margaretha3d80a522021-07-19 18:31:26 +0200208 <!-- multiple slf4j binding -->
209 <exclusion>
210 <groupId>ch.qos.logback</groupId>
211 <artifactId>logback-classic</artifactId>
212 </exclusion>
margaretha0ddaed62021-01-21 17:10:33 +0100213 <exclusion>
214 <groupId>org.apache.commons</groupId>
215 <artifactId>commons-lang3</artifactId>
216 </exclusion>
margaretha4bd61252021-06-11 14:11:31 +0200217 <!-- incompatilibily with eclipse 2021-03 (4.19.0) and java 11 -->
218 <exclusion>
219 <groupId>com.sun</groupId>
220 <artifactId>tools</artifactId>
221 </exclusion>
margaretha0ddaed62021-01-21 17:10:33 +0100222 </exclusions>
Marc Kupietz97f66142020-11-11 18:24:43 +0100223 </dependency>
224 <!-- https://mvnrepository.com/artifact/backport-util-concurrent/backport-util-concurrent -->
225 <dependency>
226 <groupId>backport-util-concurrent</groupId>
227 <artifactId>backport-util-concurrent</artifactId>
228 <version>3.1</version>
229 </dependency>
margaretha14686b52021-07-26 15:24:16 +0200230 <!-- Mockserver -->
margaretha3d80a522021-07-19 18:31:26 +0200231 <dependency>
232 <groupId>org.mock-server</groupId>
233 <artifactId>mockserver-netty</artifactId>
dependabot[bot]2b737062023-01-12 17:01:23 +0000234 <version>5.15.0</version>
margaretha3d80a522021-07-19 18:31:26 +0200235 <scope>test</scope>
margaretha14686b52021-07-26 15:24:16 +0200236 <exclusions>
237 <exclusion>
238 <groupId>com.fasterxml.jackson.core</groupId>
239 <artifactId>jackson-core</artifactId>
240 </exclusion>
241 <exclusion>
242 <groupId>com.fasterxml.jackson.core</groupId>
243 <artifactId>jackson-annotations</artifactId>
244 </exclusion>
245 <exclusion>
246 <groupId>com.fasterxml.jackson.core</groupId>
247 <artifactId>jackson-databind</artifactId>
248 </exclusion>
249 </exclusions>
margaretha3d80a522021-07-19 18:31:26 +0200250 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200251 </dependencies>
Akron76b31752018-06-29 12:12:32 +0200252</project>