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 | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 7 | <version>0.59.1</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>
|
| 50 | <configuration>
|
| 51 | <configFile>${project.basedir}/Format.xml</configFile>
|
| 52 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
|
| 53 | <compilerSource>1.7</compilerSource>
|
| 54 | <compilerCompliance>1.7</compilerCompliance>
|
| 55 | <compilerTargetPlatform>1.7</compilerTargetPlatform>
|
| 56 | </configuration>
|
| 57 | </plugin>
|
| 58 | <plugin>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 59 | <artifactId>maven-compiler-plugin</artifactId>
|
| 60 | <version>3.3</version>
|
| 61 | <configuration>
|
| 62 | <compilerVersion>1.7</compilerVersion>
|
| 63 | <source>1.7</source>
|
| 64 | <target>1.7</target>
|
| 65 | </configuration>
|
| 66 | </plugin>
|
| 67 | <plugin>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 68 | <artifactId>maven-jar-plugin</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 69 | <version>2.1</version>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 70 | <executions>
|
| 71 | <execution>
|
| 72 | <phase>package</phase>
|
| 73 | <goals>
|
| 74 | <goal>test-jar</goal>
|
| 75 | </goals>
|
| 76 | </execution>
|
| 77 | </executions>
|
| 78 | </plugin>
|
| 79 | <plugin>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 80 | <artifactId>maven-surefire-plugin</artifactId>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 81 | <version>2.19.1</version>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 82 | <configuration>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 83 | <reuseForks>false</reuseForks>
|
| 84 | <forkCount>1</forkCount>
|
| 85 | <threadCount>10</threadCount>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 86 | <excludes>
|
| 87 | <exclude>**/*APITest.java</exclude>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 88 | <exclude>de/ids_mannheim/korap/suites/*.java</exclude>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 89 | </excludes>
|
| 90 | <includes>
|
Michael Hanl | 3520dcd | 2016-02-08 19:11:37 +0100 | [diff] [blame] | 91 | <include>de/ids_mannheim/korap/**/*.java</include>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 92 | </includes>
|
| 93 | </configuration>
|
| 94 | </plugin>
|
| 95 | <plugin>
|
| 96 | <artifactId>maven-shade-plugin</artifactId>
|
| 97 | <version>2.1</version>
|
| 98 | <executions>
|
| 99 | <execution>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 100 | <id>full</id>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 101 | <phase>package</phase>
|
| 102 | <goals>
|
| 103 | <goal>shade</goal>
|
| 104 | </goals>
|
| 105 | <configuration>
|
| 106 | <transformers>
|
| 107 | <transformer>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 108 | <mainClass>de.ids_mannheim.korap.web.KustvaktServer</mainClass>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 109 | </transformer>
|
| 110 | <transformer>
|
| 111 | <resource>META-INF/spring.handlers</resource>
|
| 112 | </transformer>
|
| 113 | <transformer>
|
| 114 | <resource>META-INF/spring.schemas</resource>
|
| 115 | </transformer>
|
| 116 | </transformers>
|
| 117 | <filters>
|
| 118 | <filter>
|
| 119 | <artifact>*:*</artifact>
|
| 120 | <excludes>
|
| 121 | <exclude>META-INF/*.SF</exclude>
|
| 122 | <exclude>META-INF/*.DSA</exclude>
|
| 123 | <exclude>META-INF/*.RSA</exclude>
|
| 124 | </excludes>
|
| 125 | </filter>
|
| 126 | </filters>
|
| 127 | </configuration>
|
| 128 | </execution>
|
| 129 | </executions>
|
| 130 | </plugin>
|
| 131 | </plugins>
|
| 132 | </build>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 133 | <profiles>
|
| 134 | <profile>
|
| 135 | <id>light</id>
|
| 136 | <build>
|
| 137 | <plugins>
|
| 138 | <plugin>
|
| 139 | <artifactId>maven-shade-plugin</artifactId>
|
| 140 | <version>2.1</version>
|
| 141 | <executions>
|
| 142 | <execution>
|
| 143 | <id>light</id>
|
| 144 | <phase>package</phase>
|
| 145 | <goals>
|
| 146 | <goal>shade</goal>
|
| 147 | </goals>
|
| 148 | <configuration>
|
Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 149 | <finalName>Kustvakt-core-${project.version}-light</finalName>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 150 | <transformers>
|
| 151 | <transformer>
|
| 152 | <mainClass>de.ids_mannheim.korap.web.KustvaktBaseServer</mainClass>
|
| 153 | </transformer>
|
| 154 | <transformer>
|
| 155 | <resource>META-INF/spring.handlers</resource>
|
| 156 | </transformer>
|
| 157 | <transformer>
|
| 158 | <resource>META-INF/spring.schemas</resource>
|
| 159 | </transformer>
|
| 160 | </transformers>
|
| 161 | <filters>
|
| 162 | <filter>
|
| 163 | <artifact>*:*</artifact>
|
| 164 | <excludes>
|
| 165 | <exclude>META-INF/*.SF</exclude>
|
| 166 | <exclude>META-INF/*.DSA</exclude>
|
| 167 | <exclude>META-INF/*.RSA</exclude>
|
| 168 | </excludes>
|
| 169 | </filter>
|
| 170 | </filters>
|
| 171 | </configuration>
|
| 172 | </execution>
|
| 173 | </executions>
|
| 174 | </plugin>
|
| 175 | </plugins>
|
| 176 | </build>
|
| 177 | </profile>
|
| 178 | </profiles>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 179 | <dependencies>
|
| 180 | <dependency>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 181 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 182 | <artifactId>jersey-test-framework-core</artifactId>
|
| 183 | <version>1.19</version>
|
| 184 | <scope>test</scope>
|
| 185 | <exclusions>
|
| 186 | <exclusion>
|
| 187 | <artifactId>javax.servlet-api</artifactId>
|
| 188 | <groupId>javax.servlet</groupId>
|
| 189 | </exclusion>
|
| 190 | <exclusion>
|
Michael Hanl | daf8660 | 2016-05-12 14:31:52 +0200 | [diff] [blame] | 191 | <artifactId>jersey-servlet</artifactId>
|
| 192 | <groupId>com.sun.jersey</groupId>
|
| 193 | </exclusion>
|
| 194 | <exclusion>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 195 | <artifactId>jersey-client</artifactId>
|
| 196 | <groupId>com.sun.jersey</groupId>
|
| 197 | </exclusion>
|
| 198 | </exclusions>
|
| 199 | </dependency>
|
| 200 | <dependency>
|
| 201 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 202 | <artifactId>jersey-test-framework-grizzly</artifactId>
|
| 203 | <version>1.19</version>
|
| 204 | <scope>test</scope>
|
| 205 | <exclusions>
|
| 206 | <exclusion>
|
| 207 | <artifactId>grizzly-servlet-webserver</artifactId>
|
| 208 | <groupId>com.sun.grizzly</groupId>
|
| 209 | </exclusion>
|
| 210 | <exclusion>
|
| 211 | <artifactId>jersey-grizzly</artifactId>
|
| 212 | <groupId>com.sun.jersey</groupId>
|
| 213 | </exclusion>
|
| 214 | </exclusions>
|
| 215 | </dependency>
|
| 216 | <dependency>
|
| 217 | <groupId>junit</groupId>
|
| 218 | <artifactId>junit</artifactId>
|
| 219 | <version>4.11</version>
|
| 220 | <scope>test</scope>
|
| 221 | </dependency>
|
| 222 | <dependency>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 223 | <groupId>org.projectlombok</groupId>
|
| 224 | <artifactId>lombok</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 225 | <version>1.16.6</version>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 226 | <scope>provided</scope>
|
| 227 | </dependency>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 228 | </dependencies>
|
| 229 | <properties>
|
| 230 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 231 | <maven.compiler.source>1.7</maven.compiler.source>
|
| 232 | <maven.compiler.target>1.7</maven.compiler.target>
|
| 233 | </properties>
|
| 234 | </project>
|
| 235 |
|