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> |
margaretha | 4bd6125 | 2021-06-11 14:11:31 +0200 | [diff] [blame] | 6 | <version>0.63.2</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 7 | <properties> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 8 | <java.version>1.8</java.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 9 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
margaretha | 3da7cd3 | 2018-10-22 17:42:52 +0200 | [diff] [blame] | 10 | <spring-framework.version>5.1.1.RELEASE</spring-framework.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 11 | <jersey.version>1.19.4</jersey.version> |
| 12 | </properties> |
| 13 | |
| 14 | <build> |
| 15 | <resources> |
| 16 | <resource> |
| 17 | <directory>src/main/resources</directory> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 18 | </resource> |
| 19 | </resources> |
| 20 | <testResources> |
| 21 | <testResource> |
| 22 | <directory>src/test/resources</directory> |
| 23 | <filtering>true</filtering> |
| 24 | <includes> |
| 25 | <include>**/*.prop</include> |
| 26 | <include>**/*.xml</include> |
| 27 | <include>**/*.conf</include> |
| 28 | <include>**/*.info</include> |
| 29 | <include>**/*.properties</include> |
| 30 | </includes> |
| 31 | </testResource> |
| 32 | <testResource> |
| 33 | <directory>src/main/resources</directory> |
| 34 | <filtering>true</filtering> |
| 35 | <includes> |
| 36 | <include>**/*.info</include> |
| 37 | <include>**/*.properties</include> |
| 38 | </includes> |
| 39 | </testResource> |
| 40 | </testResources> |
| 41 | <plugins> |
| 42 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 43 | <plugin> |
| 44 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 45 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 46 | <version>0.4</version> |
| 47 | <configuration> |
| 48 | <configFile>${project.basedir}/Format.xml</configFile> |
| 49 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 50 | <compilerSource>${java.version}</compilerSource> |
| 51 | <compilerCompliance>${java.version}</compilerCompliance> |
| 52 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
| 53 | </configuration> |
| 54 | <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| 55 | </executions> --> |
| 56 | </plugin> |
| 57 | <plugin> |
| 58 | <groupId>org.apache.maven.plugins</groupId> |
| 59 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | cd66f4a | 2020-07-02 15:01:42 +0000 | [diff] [blame] | 60 | <version>3.8.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 61 | <configuration> |
| 62 | <compilerVersion>${java.version}</compilerVersion> |
| 63 | <source>${java.version}</source> |
| 64 | <target>${java.version}</target> |
| 65 | </configuration> |
| 66 | </plugin> |
| 67 | |
| 68 | <plugin> |
| 69 | <groupId>org.apache.maven.plugins</groupId> |
| 70 | <artifactId>maven-surefire-plugin</artifactId> |
dependabot[bot] | 3ba37b2 | 2020-07-02 15:01:44 +0000 | [diff] [blame] | 71 | <version>2.22.2</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 72 | <configuration> |
margaretha | b2c92d4 | 2019-01-07 15:35:53 +0100 | [diff] [blame] | 73 | <useSystemClassLoader>false</useSystemClassLoader> |
| 74 | <reuseForks>true</reuseForks> |
| 75 | <forkCount>1</forkCount> |
| 76 | <threadCount>5</threadCount> |
| 77 | <argLine>-Xmx512m -XX:MaxPermSize=256m |
| 78 | -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 79 | </configuration> |
| 80 | </plugin> |
| 81 | <plugin> |
| 82 | <artifactId>maven-shade-plugin</artifactId> |
dependabot[bot] | 52d3b86 | 2020-07-02 15:01:43 +0000 | [diff] [blame] | 83 | <version>3.2.4</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 84 | <executions> |
| 85 | <!-- option 1 --> |
| 86 | <execution> |
| 87 | <id>light</id> |
| 88 | <phase>package</phase> |
| 89 | <goals> |
| 90 | <goal>shade</goal> |
| 91 | </goals> |
| 92 | <configuration> |
| 93 | <finalName> |
margaretha | ea68a0a | 2017-09-21 03:09:49 +0200 | [diff] [blame] | 94 | Kustvakt-lite-${project.version} |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 95 | </finalName> |
| 96 | <transformers> |
| 97 | <transformer |
| 98 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 99 | <mainClass> |
| 100 | de.ids_mannheim.korap.server.KustvaktLiteServer |
| 101 | </mainClass> |
| 102 | </transformer> |
| 103 | <transformer |
| 104 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 105 | <resource>META-INF/spring.handlers |
| 106 | </resource> |
| 107 | </transformer> |
| 108 | <transformer |
| 109 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 110 | <resource>META-INF/spring.schemas |
| 111 | </resource> |
| 112 | </transformer> |
| 113 | </transformers> |
| 114 | <!-- Additional configuration. --> |
| 115 | <!-- apparently there is a securityexception --> |
| 116 | <filters> |
| 117 | <filter> |
| 118 | <artifact>*:*</artifact> |
| 119 | <excludes> |
| 120 | <exclude>META-INF/*.SF</exclude> |
| 121 | <exclude>META-INF/*.DSA |
| 122 | </exclude> |
| 123 | <exclude>META-INF/*.RSA |
| 124 | </exclude> |
| 125 | </excludes> |
| 126 | </filter> |
| 127 | </filters> |
| 128 | </configuration> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | </plugin> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 132 | <plugin> |
| 133 | <groupId>org.codehaus.mojo</groupId> |
| 134 | <artifactId>cobertura-maven-plugin</artifactId> |
| 135 | <version>2.7</version> |
| 136 | <configuration> |
| 137 | <formats> |
| 138 | <format>html</format> |
| 139 | <format>xml</format> |
| 140 | </formats> |
| 141 | <check/> |
| 142 | </configuration> |
| 143 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 144 | </plugins> |
| 145 | </build> |
| 146 | |
| 147 | |
| 148 | <dependencies> |
| 149 | <dependency> |
| 150 | <groupId>de.ids_mannheim.korap</groupId> |
| 151 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 4bd6125 | 2021-06-11 14:11:31 +0200 | [diff] [blame] | 152 | <version>[0.63.2,)</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 153 | </dependency> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 154 | <dependency> |
| 155 | <groupId>de.ids_mannheim.korap</groupId> |
| 156 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 4bd6125 | 2021-06-11 14:11:31 +0200 | [diff] [blame] | 157 | <version>[0.63.2,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 158 | <classifier>tests</classifier> |
| 159 | <type>test-jar</type> |
| 160 | <scope>test</scope> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame^] | 161 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 162 | <!-- Jersey test framework --> |
| 163 | <dependency> |
| 164 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 165 | <artifactId>jersey-test-framework-core</artifactId> |
| 166 | <version>${jersey.version}</version> |
| 167 | <scope>test</scope> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 171 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 172 | <version>${jersey.version}</version> |
| 173 | <scope>test</scope> |
| 174 | </dependency> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 175 | |
| 176 | <!-- Project Lombok --> |
| 177 | <dependency> |
| 178 | <groupId>org.projectlombok</groupId> |
| 179 | <artifactId>lombok</artifactId> |
dependabot[bot] | b99a5b0 | 2021-04-02 05:23:30 +0000 | [diff] [blame] | 180 | <version>1.18.20</version> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 181 | <scope>provided</scope> |
| 182 | </dependency> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 183 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/cobertura-maven-plugin --> |
| 184 | <dependency> |
| 185 | <groupId>org.codehaus.mojo</groupId> |
| 186 | <artifactId>cobertura-maven-plugin</artifactId> |
| 187 | <version>2.7</version> |
| 188 | <scope>test</scope> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 189 | <exclusions> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame^] | 190 | <!-- multiple slf4j binding --> |
| 191 | <exclusion> |
| 192 | <groupId>ch.qos.logback</groupId> |
| 193 | <artifactId>logback-classic</artifactId> |
| 194 | </exclusion> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 195 | <exclusion> |
| 196 | <groupId>org.apache.commons</groupId> |
| 197 | <artifactId>commons-lang3</artifactId> |
| 198 | </exclusion> |
margaretha | 4bd6125 | 2021-06-11 14:11:31 +0200 | [diff] [blame] | 199 | <!-- incompatilibily with eclipse 2021-03 (4.19.0) and java 11 --> |
| 200 | <exclusion> |
| 201 | <groupId>com.sun</groupId> |
| 202 | <artifactId>tools</artifactId> |
| 203 | </exclusion> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 204 | </exclusions> |
Marc Kupietz | 97f6614 | 2020-11-11 18:24:43 +0100 | [diff] [blame] | 205 | </dependency> |
| 206 | <!-- https://mvnrepository.com/artifact/backport-util-concurrent/backport-util-concurrent --> |
| 207 | <dependency> |
| 208 | <groupId>backport-util-concurrent</groupId> |
| 209 | <artifactId>backport-util-concurrent</artifactId> |
| 210 | <version>3.1</version> |
| 211 | </dependency> |
margaretha | 3d80a52 | 2021-07-19 18:31:26 +0200 | [diff] [blame^] | 212 | |
| 213 | <!-- Mockserver --> |
| 214 | <dependency> |
| 215 | <groupId>org.mock-server</groupId> |
| 216 | <artifactId>mockserver-netty</artifactId> |
| 217 | <version>5.11.2</version> |
| 218 | <scope>test</scope> |
| 219 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 220 | </dependencies> |
Akron | 76b3175 | 2018-06-29 12:12:32 +0200 | [diff] [blame] | 221 | </project> |