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