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> |
abcpro1 | 0c74689 | 2022-11-03 22:47:04 +0000 | [diff] [blame] | 10 | <jersey.version>2.37</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> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 71 | <configuration> |
Marc Kupietz | ddd9a8b | 2022-11-17 17:24:58 +0100 | [diff] [blame] | 72 | <useSystemClassLoader>false</useSystemClassLoader> |
margaretha | b2c92d4 | 2019-01-07 15:35:53 +0100 | [diff] [blame] | 73 | <reuseForks>true</reuseForks> |
| 74 | <forkCount>1</forkCount> |
| 75 | <threadCount>5</threadCount> |
Marc Kupietz | ddd9a8b | 2022-11-17 17:24:58 +0100 | [diff] [blame] | 76 | <argLine>-Xmx512m |
margaretha | b2c92d4 | 2019-01-07 15:35:53 +0100 | [diff] [blame] | 77 | -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 78 | </configuration> |
| 79 | </plugin> |
| 80 | <plugin> |
| 81 | <artifactId>maven-shade-plugin</artifactId> |
dependabot[bot] | d92b05b | 2022-10-27 17:02:10 +0000 | [diff] [blame] | 82 | <version>3.4.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 83 | <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> |
margaretha | ea68a0a | 2017-09-21 03:09:49 +0200 | [diff] [blame] | 93 | Kustvakt-lite-${project.version} |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 94 | </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 Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 131 | <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> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 143 | </plugins> |
| 144 | </build> |
| 145 | |
| 146 | |
| 147 | <dependencies> |
| 148 | <dependency> |
| 149 | <groupId>de.ids_mannheim.korap</groupId> |
| 150 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 28f14af | 2022-02-04 08:50:25 +0100 | [diff] [blame] | 151 | <version>[0.65.1,)</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 152 | </dependency> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 153 | <dependency> |
| 154 | <groupId>de.ids_mannheim.korap</groupId> |
| 155 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 28f14af | 2022-02-04 08:50:25 +0100 | [diff] [blame] | 156 | <version>[0.65.1,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 157 | <classifier>tests</classifier> |
| 158 | <type>test-jar</type> |
| 159 | <scope>test</scope> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 160 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 161 | <!-- Jersey test framework --> |
| 162 | <dependency> |
abcpro1 | 0c74689 | 2022-11-03 22:47:04 +0000 | [diff] [blame] | 163 | <groupId>org.glassfish.jersey.test-framework</groupId> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 164 | <artifactId>jersey-test-framework-core</artifactId> |
| 165 | <version>${jersey.version}</version> |
| 166 | <scope>test</scope> |
| 167 | </dependency> |
| 168 | <dependency> |
abcpro1 | 0c74689 | 2022-11-03 22:47:04 +0000 | [diff] [blame] | 169 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 170 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 171 | <version>${jersey.version}</version> |
| 172 | <scope>test</scope> |
| 173 | </dependency> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 174 | |
| 175 | <!-- Project Lombok --> |
| 176 | <dependency> |
| 177 | <groupId>org.projectlombok</groupId> |
| 178 | <artifactId>lombok</artifactId> |
dependabot[bot] | 4bac619 | 2023-02-03 17:00:45 +0000 | [diff] [blame^] | 179 | <version>1.18.26</version> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 180 | <scope>provided</scope> |
| 181 | </dependency> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 182 | <!-- 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> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 188 | <exclusions> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 189 | <!-- multiple slf4j binding --> |
| 190 | <exclusion> |
| 191 | <groupId>ch.qos.logback</groupId> |
| 192 | <artifactId>logback-classic</artifactId> |
| 193 | </exclusion> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 194 | <exclusion> |
| 195 | <groupId>org.apache.commons</groupId> |
| 196 | <artifactId>commons-lang3</artifactId> |
| 197 | </exclusion> |
margaretha | 4bd6125 | 2021-06-11 14:11:31 +0200 | [diff] [blame] | 198 | <!-- incompatilibily with eclipse 2021-03 (4.19.0) and java 11 --> |
| 199 | <exclusion> |
| 200 | <groupId>com.sun</groupId> |
| 201 | <artifactId>tools</artifactId> |
| 202 | </exclusion> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 203 | </exclusions> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 204 | </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> |
margaretha | 14686b5 | 2021-07-26 15:24:16 +0200 | [diff] [blame] | 211 | <!-- Mockserver --> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 212 | <dependency> |
| 213 | <groupId>org.mock-server</groupId> |
| 214 | <artifactId>mockserver-netty</artifactId> |
dependabot[bot] | 2b73706 | 2023-01-12 17:01:23 +0000 | [diff] [blame] | 215 | <version>5.15.0</version> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 216 | <scope>test</scope> |
margaretha | 14686b5 | 2021-07-26 15:24:16 +0200 | [diff] [blame] | 217 | <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> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame] | 231 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 232 | </dependencies> |
Akron | 76b3175 | 2018-06-29 12:12:32 +0200 | [diff] [blame] | 233 | </project> |