blob: ecbe913949a6bea1da9912818eaecb0f8bea28ff [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>
abcpro10c746892022-11-03 22:47:04 +000010 <jersey.version>2.37</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>
margarethaf68daa62017-09-21 02:11:24 +020071 <configuration>
Marc Kupietzddd9a8b2022-11-17 17:24:58 +010072 <useSystemClassLoader>false</useSystemClassLoader>
margarethab2c92d42019-01-07 15:35:53 +010073 <reuseForks>true</reuseForks>
74 <forkCount>1</forkCount>
75 <threadCount>5</threadCount>
Marc Kupietzddd9a8b2022-11-17 17:24:58 +010076 <argLine>-Xmx512m
margarethab2c92d42019-01-07 15:35:53 +010077 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
margarethaf68daa62017-09-21 02:11:24 +020078 </configuration>
79 </plugin>
80 <plugin>
81 <artifactId>maven-shade-plugin</artifactId>
dependabot[bot]d92b05b2022-10-27 17:02:10 +000082 <version>3.4.1</version>
margarethaf68daa62017-09-21 02:11:24 +020083 <executions>
84 <!-- option 1 -->
85 <execution>
86 <id>light</id>
87 <phase>package</phase>
88 <goals>
89 <goal>shade</goal>
90 </goals>
91 <configuration>
92 <finalName>
margarethaea68a0a2017-09-21 03:09:49 +020093 Kustvakt-lite-${project.version}
margarethaf68daa62017-09-21 02:11:24 +020094 </finalName>
95 <transformers>
96 <transformer
97 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
98 <mainClass>
99 de.ids_mannheim.korap.server.KustvaktLiteServer
100 </mainClass>
101 </transformer>
102 <transformer
103 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
104 <resource>META-INF/spring.handlers
105 </resource>
106 </transformer>
107 <transformer
108 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
109 <resource>META-INF/spring.schemas
110 </resource>
111 </transformer>
112 </transformers>
113 <!-- Additional configuration. -->
114 <!-- apparently there is a securityexception -->
115 <filters>
116 <filter>
117 <artifact>*:*</artifact>
118 <excludes>
119 <exclude>META-INF/*.SF</exclude>
120 <exclude>META-INF/*.DSA
121 </exclude>
122 <exclude>META-INF/*.RSA
123 </exclude>
124 </excludes>
125 </filter>
126 </filters>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
Marc Kupietz97f66142020-11-11 18:24:43 +0100131 <plugin>
132 <groupId>org.codehaus.mojo</groupId>
133 <artifactId>cobertura-maven-plugin</artifactId>
134 <version>2.7</version>
135 <configuration>
136 <formats>
137 <format>html</format>
138 <format>xml</format>
139 </formats>
140 <check/>
141 </configuration>
142 </plugin>
margarethaf68daa62017-09-21 02:11:24 +0200143 </plugins>
144 </build>
145
146
147 <dependencies>
148 <dependency>
149 <groupId>de.ids_mannheim.korap</groupId>
150 <artifactId>Kustvakt-core</artifactId>
margaretha28f14af2022-02-04 08:50:25 +0100151 <version>[0.65.1,)</version>
margarethaf68daa62017-09-21 02:11:24 +0200152 </dependency>
margaretha0ddaed62021-01-21 17:10:33 +0100153 <dependency>
154 <groupId>de.ids_mannheim.korap</groupId>
155 <artifactId>Kustvakt-core</artifactId>
margaretha28f14af2022-02-04 08:50:25 +0100156 <version>[0.65.1,)</version>
margaretha0ddaed62021-01-21 17:10:33 +0100157 <classifier>tests</classifier>
158 <type>test-jar</type>
159 <scope>test</scope>
margaretha3d80a522021-07-19 18:31:26 +0200160 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200161 <!-- Jersey test framework -->
162 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000163 <groupId>org.glassfish.jersey.test-framework</groupId>
margarethaf68daa62017-09-21 02:11:24 +0200164 <artifactId>jersey-test-framework-core</artifactId>
165 <version>${jersey.version}</version>
166 <scope>test</scope>
167 </dependency>
168 <dependency>
abcpro10c746892022-11-03 22:47:04 +0000169 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
170 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
margarethaf68daa62017-09-21 02:11:24 +0200171 <version>${jersey.version}</version>
172 <scope>test</scope>
173 </dependency>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200174
175 <!-- Project Lombok -->
176 <dependency>
177 <groupId>org.projectlombok</groupId>
178 <artifactId>lombok</artifactId>
dependabot[bot]4bac6192023-02-03 17:00:45 +0000179 <version>1.18.26</version>
Marc Kupietzceea30c2020-05-15 16:00:03 +0200180 <scope>provided</scope>
181 </dependency>
Marc Kupietz97f66142020-11-11 18:24:43 +0100182 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin -->
183 <dependency>
184 <groupId>org.codehaus.mojo</groupId>
185 <artifactId>cobertura-maven-plugin</artifactId>
186 <version>2.7</version>
187 <scope>test</scope>
margaretha0ddaed62021-01-21 17:10:33 +0100188 <exclusions>
margaretha3d80a522021-07-19 18:31:26 +0200189 <!-- multiple slf4j binding -->
190 <exclusion>
191 <groupId>ch.qos.logback</groupId>
192 <artifactId>logback-classic</artifactId>
193 </exclusion>
margaretha0ddaed62021-01-21 17:10:33 +0100194 <exclusion>
195 <groupId>org.apache.commons</groupId>
196 <artifactId>commons-lang3</artifactId>
197 </exclusion>
margaretha4bd61252021-06-11 14:11:31 +0200198 <!-- incompatilibily with eclipse 2021-03 (4.19.0) and java 11 -->
199 <exclusion>
200 <groupId>com.sun</groupId>
201 <artifactId>tools</artifactId>
202 </exclusion>
margaretha0ddaed62021-01-21 17:10:33 +0100203 </exclusions>
Marc Kupietz97f66142020-11-11 18:24:43 +0100204 </dependency>
205 <!-- https://mvnrepository.com/artifact/backport-util-concurrent/backport-util-concurrent -->
206 <dependency>
207 <groupId>backport-util-concurrent</groupId>
208 <artifactId>backport-util-concurrent</artifactId>
209 <version>3.1</version>
210 </dependency>
margaretha14686b52021-07-26 15:24:16 +0200211 <!-- Mockserver -->
margaretha3d80a522021-07-19 18:31:26 +0200212 <dependency>
213 <groupId>org.mock-server</groupId>
214 <artifactId>mockserver-netty</artifactId>
dependabot[bot]2b737062023-01-12 17:01:23 +0000215 <version>5.15.0</version>
margaretha3d80a522021-07-19 18:31:26 +0200216 <scope>test</scope>
margaretha14686b52021-07-26 15:24:16 +0200217 <exclusions>
218 <exclusion>
219 <groupId>com.fasterxml.jackson.core</groupId>
220 <artifactId>jackson-core</artifactId>
221 </exclusion>
222 <exclusion>
223 <groupId>com.fasterxml.jackson.core</groupId>
224 <artifactId>jackson-annotations</artifactId>
225 </exclusion>
226 <exclusion>
227 <groupId>com.fasterxml.jackson.core</groupId>
228 <artifactId>jackson-databind</artifactId>
229 </exclusion>
230 </exclusions>
margaretha3d80a522021-07-19 18:31:26 +0200231 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200232 </dependencies>
Akron76b31752018-06-29 12:12:32 +0200233</project>