margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 1 | <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> |
Akron | 9c52cf5 | 2022-12-05 17:51:49 +0100 | [diff] [blame] | 6 | <version>0.69.2</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 7 | <properties> |
abcpro1 | 0c74689 | 2022-11-03 22:47:04 +0000 | [diff] [blame] | 8 | <java.version>11</java.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 9 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
dependabot[bot] | 9546574 | 2023-02-17 17:56:32 +0000 | [diff] [blame] | 10 | <jersey.version>2.39</jersey.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 11 | </properties> |
| 12 | |
| 13 | <build> |
| 14 | <resources> |
| 15 | <resource> |
| 16 | <directory>src/main/resources</directory> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 17 | </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] | 133906d | 2022-03-11 17:02:03 +0000 | [diff] [blame] | 59 | <version>3.10.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 60 | <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] | 3ba37b2 | 2020-07-02 15:01:44 +0000 | [diff] [blame] | 70 | <version>2.22.2</version> |
dependabot[bot] | 9546574 | 2023-02-17 17:56:32 +0000 | [diff] [blame] | 71 | <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> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 78 | <configuration> |
Marc Kupietz | ddd9a8b | 2022-11-17 17:24:58 +0100 | [diff] [blame] | 79 | <useSystemClassLoader>false</useSystemClassLoader> |
margaretha | b2c92d4 | 2019-01-07 15:35:53 +0100 | [diff] [blame] | 80 | <reuseForks>true</reuseForks> |
| 81 | <forkCount>1</forkCount> |
| 82 | <threadCount>5</threadCount> |
Marc Kupietz | ddd9a8b | 2022-11-17 17:24:58 +0100 | [diff] [blame] | 83 | <argLine>-Xmx512m |
margaretha | b2c92d4 | 2019-01-07 15:35:53 +0100 | [diff] [blame] | 84 | -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 85 | </configuration> |
| 86 | </plugin> |
| 87 | <plugin> |
| 88 | <artifactId>maven-shade-plugin</artifactId> |
dependabot[bot] | d92b05b | 2022-10-27 17:02:10 +0000 | [diff] [blame] | 89 | <version>3.4.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 90 | <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> |
margaretha | ea68a0a | 2017-09-21 03:09:49 +0200 | [diff] [blame] | 100 | Kustvakt-lite-${project.version} |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 101 | </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 Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 138 | <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> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 150 | </plugins> |
| 151 | </build> |
| 152 | |
| 153 | |
| 154 | <dependencies> |
| 155 | <dependency> |
| 156 | <groupId>de.ids_mannheim.korap</groupId> |
| 157 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 28f14af | 2022-02-04 08:50:25 +0100 | [diff] [blame] | 158 | <version>[0.65.1,)</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 159 | </dependency> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 160 | <dependency> |
| 161 | <groupId>de.ids_mannheim.korap</groupId> |
| 162 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 28f14af | 2022-02-04 08:50:25 +0100 | [diff] [blame] | 163 | <version>[0.65.1,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 164 | <classifier>tests</classifier> |
| 165 | <type>test-jar</type> |
| 166 | <scope>test</scope> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 167 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 168 | <!-- Jersey test framework --> |
| 169 | <dependency> |
abcpro1 | 0c74689 | 2022-11-03 22:47:04 +0000 | [diff] [blame] | 170 | <groupId>org.glassfish.jersey.test-framework</groupId> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 171 | <artifactId>jersey-test-framework-core</artifactId> |
| 172 | <version>${jersey.version}</version> |
| 173 | <scope>test</scope> |
margaretha | 368d2d3 | 2023-02-28 11:23:22 +0100 | [diff] [blame^] | 174 | <exclusions> |
| 175 | <exclusion> |
| 176 | <groupId>org.junit.jupiter</groupId> |
| 177 | <artifactId>junit-jupiter</artifactId> |
| 178 | </exclusion> |
| 179 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 180 | </dependency> |
| 181 | <dependency> |
abcpro1 | 0c74689 | 2022-11-03 22:47:04 +0000 | [diff] [blame] | 182 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 183 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 184 | <version>${jersey.version}</version> |
| 185 | <scope>test</scope> |
margaretha | 368d2d3 | 2023-02-28 11:23:22 +0100 | [diff] [blame^] | 186 | <exclusions> |
| 187 | <exclusion> |
| 188 | <groupId>org.junit.jupiter</groupId> |
| 189 | <artifactId>junit-jupiter</artifactId> |
| 190 | </exclusion> |
| 191 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 192 | </dependency> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 193 | |
| 194 | <!-- Project Lombok --> |
| 195 | <dependency> |
| 196 | <groupId>org.projectlombok</groupId> |
| 197 | <artifactId>lombok</artifactId> |
dependabot[bot] | 4bac619 | 2023-02-03 17:00:45 +0000 | [diff] [blame] | 198 | <version>1.18.26</version> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 199 | <scope>provided</scope> |
| 200 | </dependency> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 201 | <!-- 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> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 207 | <exclusions> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 208 | <!-- multiple slf4j binding --> |
| 209 | <exclusion> |
| 210 | <groupId>ch.qos.logback</groupId> |
| 211 | <artifactId>logback-classic</artifactId> |
| 212 | </exclusion> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 213 | <exclusion> |
| 214 | <groupId>org.apache.commons</groupId> |
| 215 | <artifactId>commons-lang3</artifactId> |
| 216 | </exclusion> |
margaretha | 4bd6125 | 2021-06-11 14:11:31 +0200 | [diff] [blame] | 217 | <!-- incompatilibily with eclipse 2021-03 (4.19.0) and java 11 --> |
| 218 | <exclusion> |
| 219 | <groupId>com.sun</groupId> |
| 220 | <artifactId>tools</artifactId> |
| 221 | </exclusion> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 222 | </exclusions> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 223 | </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> |
margaretha | 14686b5 | 2021-07-26 15:24:16 +0200 | [diff] [blame] | 230 | <!-- Mockserver --> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 231 | <dependency> |
| 232 | <groupId>org.mock-server</groupId> |
| 233 | <artifactId>mockserver-netty</artifactId> |
dependabot[bot] | 2b73706 | 2023-01-12 17:01:23 +0000 | [diff] [blame] | 234 | <version>5.15.0</version> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 235 | <scope>test</scope> |
margaretha | 14686b5 | 2021-07-26 15:24:16 +0200 | [diff] [blame] | 236 | <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> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 250 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 251 | </dependencies> |
Akron | 76b3175 | 2018-06-29 12:12:32 +0200 | [diff] [blame] | 252 | </project> |