Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion>
|
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 4 | <groupId>de.ids_mannheim.korap</groupId>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 5 | <artifactId>Kustvakt-core</artifactId>
|
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 6 | <name>Kustvakt core</name>
|
Michael Hanl | f8fcc7a | 2016-06-03 17:41:07 +0200 | [diff] [blame] | 7 | <version>0.59.5</version>
|
Michael Hanl | badd79c | 2015-06-19 07:41:03 +0200 | [diff] [blame] | 8 | <description>Kustvakt core, basic rest api for testing purposes and default
|
| 9 | interfaces</description>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 10 | <build>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 11 | <resources>
|
| 12 | <resource>
|
| 13 | <filtering>true</filtering>
|
| 14 | <directory>src/main/resources</directory>
|
| 15 | <includes>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 16 | <include>**/*.info</include>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 17 | <include>**/*.xml</include>
|
| 18 | <include>**/*.conf</include>
|
| 19 | <include>**/*.properties</include>
|
Michael Hanl | f078532 | 2015-11-13 16:14:45 +0100 | [diff] [blame] | 20 | <include>**/*.sql</include>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 21 | </includes>
|
| 22 | </resource>
|
| 23 | </resources>
|
| 24 | <testResources>
|
| 25 | <testResource>
|
| 26 | <filtering>true</filtering>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 27 | <directory>src/test/resources</directory>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 28 | <includes>
|
| 29 | <include>**/*.prop</include>
|
| 30 | <include>**/*.xml</include>
|
| 31 | <include>**/*.conf</include>
|
Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 32 | <include>**/*.info</include>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 33 | <include>**/*.properties</include>
|
| 34 | </includes>
|
| 35 | </testResource>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 36 | <testResource>
|
| 37 | <filtering>true</filtering>
|
| 38 | <directory>src/main/resources</directory>
|
| 39 | <includes>
|
Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 40 | <include>**/*.info</include>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 41 | <include>**/*.properties</include>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 42 | </includes>
|
| 43 | </testResource>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 44 | </testResources>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 45 | <plugins>
|
| 46 | <plugin>
|
Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 47 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
|
| 48 | <artifactId>maven-java-formatter-plugin</artifactId>
|
| 49 | <version>0.4</version>
|
Michael Hanl | 4563692 | 2016-06-03 14:00:56 +0200 | [diff] [blame] | 50 | <executions>
|
| 51 | <execution>
|
| 52 | <goals>
|
| 53 | <goal>format</goal>
|
| 54 | </goals>
|
| 55 | </execution>
|
| 56 | </executions>
|
Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 57 | <configuration>
|
| 58 | <configFile>${project.basedir}/Format.xml</configFile>
|
| 59 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
|
| 60 | <compilerSource>1.7</compilerSource>
|
| 61 | <compilerCompliance>1.7</compilerCompliance>
|
| 62 | <compilerTargetPlatform>1.7</compilerTargetPlatform>
|
| 63 | </configuration>
|
| 64 | </plugin>
|
| 65 | <plugin>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 66 | <artifactId>maven-compiler-plugin</artifactId>
|
| 67 | <version>3.3</version>
|
| 68 | <configuration>
|
| 69 | <compilerVersion>1.7</compilerVersion>
|
| 70 | <source>1.7</source>
|
| 71 | <target>1.7</target>
|
| 72 | </configuration>
|
| 73 | </plugin>
|
| 74 | <plugin>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 75 | <artifactId>maven-jar-plugin</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 76 | <version>2.1</version>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 77 | <executions>
|
| 78 | <execution>
|
| 79 | <phase>package</phase>
|
| 80 | <goals>
|
| 81 | <goal>test-jar</goal>
|
| 82 | </goals>
|
| 83 | </execution>
|
| 84 | </executions>
|
| 85 | </plugin>
|
| 86 | <plugin>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 87 | <artifactId>maven-surefire-plugin</artifactId>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 88 | <version>2.19.1</version>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 89 | <configuration>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 90 | <reuseForks>false</reuseForks>
|
Michael Hanl | 4563692 | 2016-06-03 14:00:56 +0200 | [diff] [blame] | 91 | <forkCount>2</forkCount>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 92 | <threadCount>10</threadCount>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 93 | <excludes>
|
| 94 | <exclude>**/*APITest.java</exclude>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 95 | <exclude>de/ids_mannheim/korap/suites/*.java</exclude>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 96 | </excludes>
|
| 97 | <includes>
|
Michael Hanl | 3520dcd | 2016-02-08 19:11:37 +0100 | [diff] [blame] | 98 | <include>de/ids_mannheim/korap/**/*.java</include>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 99 | </includes>
|
| 100 | </configuration>
|
| 101 | </plugin>
|
| 102 | <plugin>
|
| 103 | <artifactId>maven-shade-plugin</artifactId>
|
| 104 | <version>2.1</version>
|
| 105 | <executions>
|
| 106 | <execution>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 107 | <id>full</id>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 108 | <phase>package</phase>
|
| 109 | <goals>
|
| 110 | <goal>shade</goal>
|
| 111 | </goals>
|
| 112 | <configuration>
|
| 113 | <transformers>
|
| 114 | <transformer>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 115 | <mainClass>de.ids_mannheim.korap.web.KustvaktServer</mainClass>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 116 | </transformer>
|
| 117 | <transformer>
|
| 118 | <resource>META-INF/spring.handlers</resource>
|
| 119 | </transformer>
|
| 120 | <transformer>
|
| 121 | <resource>META-INF/spring.schemas</resource>
|
| 122 | </transformer>
|
| 123 | </transformers>
|
| 124 | <filters>
|
| 125 | <filter>
|
| 126 | <artifact>*:*</artifact>
|
| 127 | <excludes>
|
| 128 | <exclude>META-INF/*.SF</exclude>
|
| 129 | <exclude>META-INF/*.DSA</exclude>
|
| 130 | <exclude>META-INF/*.RSA</exclude>
|
| 131 | </excludes>
|
| 132 | </filter>
|
| 133 | </filters>
|
| 134 | </configuration>
|
| 135 | </execution>
|
| 136 | </executions>
|
| 137 | </plugin>
|
| 138 | </plugins>
|
| 139 | </build>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 140 | <profiles>
|
| 141 | <profile>
|
| 142 | <id>light</id>
|
| 143 | <build>
|
| 144 | <plugins>
|
| 145 | <plugin>
|
| 146 | <artifactId>maven-shade-plugin</artifactId>
|
| 147 | <version>2.1</version>
|
| 148 | <executions>
|
| 149 | <execution>
|
| 150 | <id>light</id>
|
| 151 | <phase>package</phase>
|
| 152 | <goals>
|
| 153 | <goal>shade</goal>
|
| 154 | </goals>
|
| 155 | <configuration>
|
Michael Hanl | ada713a | 2016-06-03 17:46:57 +0200 | [diff] [blame^] | 156 | <finalName>Kustvakt-core-0.59.5-light</finalName>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 157 | <transformers>
|
| 158 | <transformer>
|
| 159 | <mainClass>de.ids_mannheim.korap.web.KustvaktBaseServer</mainClass>
|
| 160 | </transformer>
|
| 161 | <transformer>
|
| 162 | <resource>META-INF/spring.handlers</resource>
|
| 163 | </transformer>
|
| 164 | <transformer>
|
| 165 | <resource>META-INF/spring.schemas</resource>
|
| 166 | </transformer>
|
| 167 | </transformers>
|
| 168 | <filters>
|
| 169 | <filter>
|
| 170 | <artifact>*:*</artifact>
|
| 171 | <excludes>
|
| 172 | <exclude>META-INF/*.SF</exclude>
|
| 173 | <exclude>META-INF/*.DSA</exclude>
|
| 174 | <exclude>META-INF/*.RSA</exclude>
|
| 175 | </excludes>
|
| 176 | </filter>
|
| 177 | </filters>
|
| 178 | </configuration>
|
| 179 | </execution>
|
| 180 | </executions>
|
| 181 | </plugin>
|
| 182 | </plugins>
|
| 183 | </build>
|
| 184 | </profile>
|
| 185 | </profiles>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 186 | <dependencies>
|
| 187 | <dependency>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 188 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 189 | <artifactId>jersey-test-framework-core</artifactId>
|
| 190 | <version>1.19</version>
|
| 191 | <scope>test</scope>
|
| 192 | <exclusions>
|
| 193 | <exclusion>
|
| 194 | <artifactId>javax.servlet-api</artifactId>
|
| 195 | <groupId>javax.servlet</groupId>
|
| 196 | </exclusion>
|
| 197 | <exclusion>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 198 | <artifactId>jersey-servlet</artifactId>
|
| 199 | <groupId>com.sun.jersey</groupId>
|
| 200 | </exclusion>
|
| 201 | <exclusion>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 202 | <artifactId>jersey-client</artifactId>
|
| 203 | <groupId>com.sun.jersey</groupId>
|
| 204 | </exclusion>
|
| 205 | </exclusions>
|
| 206 | </dependency>
|
| 207 | <dependency>
|
| 208 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 209 | <artifactId>jersey-test-framework-grizzly</artifactId>
|
| 210 | <version>1.19</version>
|
| 211 | <scope>test</scope>
|
| 212 | <exclusions>
|
| 213 | <exclusion>
|
| 214 | <artifactId>grizzly-servlet-webserver</artifactId>
|
| 215 | <groupId>com.sun.grizzly</groupId>
|
| 216 | </exclusion>
|
| 217 | <exclusion>
|
| 218 | <artifactId>jersey-grizzly</artifactId>
|
| 219 | <groupId>com.sun.jersey</groupId>
|
| 220 | </exclusion>
|
| 221 | </exclusions>
|
| 222 | </dependency>
|
| 223 | <dependency>
|
| 224 | <groupId>junit</groupId>
|
| 225 | <artifactId>junit</artifactId>
|
| 226 | <version>4.11</version>
|
| 227 | <scope>test</scope>
|
| 228 | </dependency>
|
| 229 | <dependency>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 230 | <groupId>org.projectlombok</groupId>
|
| 231 | <artifactId>lombok</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 232 | <version>1.16.6</version>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 233 | <scope>provided</scope>
|
| 234 | </dependency>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 235 | </dependencies>
|
| 236 | <properties>
|
| 237 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 238 | <maven.compiler.source>1.7</maven.compiler.source>
|
| 239 | <maven.compiler.target>1.7</maven.compiler.target>
|
| 240 | </properties>
|
| 241 | </project>
|
| 242 |
|