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 | 1939065 | 2016-01-16 11:01:24 +0100 | [diff] [blame^] | 7 | <version>0.56</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>
|
| 16 | <include>**/*.prop</include>
|
| 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>
|
| 39 | <include>**/*.prop</include>
|
| 40 | <include>**/*.xml</include>
|
| 41 | <include>**/*.conf</include>
|
| 42 | <include>**/*.properties</include>
|
| 43 | <include>**/*.sql</include>
|
| 44 | </includes>
|
| 45 | </testResource>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 46 | </testResources>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 47 | <plugins>
|
| 48 | <plugin>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 49 | <artifactId>maven-compiler-plugin</artifactId>
|
| 50 | <version>3.3</version>
|
| 51 | <configuration>
|
| 52 | <compilerVersion>1.7</compilerVersion>
|
| 53 | <source>1.7</source>
|
| 54 | <target>1.7</target>
|
| 55 | </configuration>
|
| 56 | </plugin>
|
| 57 | <plugin>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 58 | <artifactId>maven-jar-plugin</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 59 | <version>2.1</version>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 60 | <executions>
|
| 61 | <execution>
|
| 62 | <phase>package</phase>
|
| 63 | <goals>
|
| 64 | <goal>test-jar</goal>
|
| 65 | </goals>
|
| 66 | </execution>
|
| 67 | </executions>
|
| 68 | </plugin>
|
| 69 | <plugin>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 70 | <artifactId>maven-surefire-plugin</artifactId>
|
| 71 | <version>2.9</version>
|
| 72 | <configuration>
|
| 73 | <excludes>
|
| 74 | <exclude>**/*APITest.java</exclude>
|
| 75 | </excludes>
|
| 76 | <includes>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 77 | <include>**/*.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>
|
| 135 | <finalName>Kustvakt-core-${project.version}-light</finalName>
|
| 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 | <repositories>
|
| 166 | <repository>
|
| 167 | <id>codehaus-release-repo</id>
|
| 168 | <name>Codehaus Release Repo</name>
|
| 169 | <url>http://repository.codehaus.org</url>
|
| 170 | </repository>
|
| 171 | <repository>
|
| 172 | <id>central</id>
|
| 173 | <url>http://repo1.maven.org/maven2/</url>
|
| 174 | </repository>
|
| 175 | <repository>
|
| 176 | <snapshots />
|
| 177 | <id>sonatype</id>
|
| 178 | <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
| 179 | </repository>
|
| 180 | </repositories>
|
| 181 | <dependencies>
|
| 182 | <dependency>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 183 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 184 | <artifactId>jersey-test-framework-core</artifactId>
|
| 185 | <version>1.19</version>
|
| 186 | <scope>test</scope>
|
| 187 | <exclusions>
|
| 188 | <exclusion>
|
| 189 | <artifactId>javax.servlet-api</artifactId>
|
| 190 | <groupId>javax.servlet</groupId>
|
| 191 | </exclusion>
|
| 192 | <exclusion>
|
| 193 | <artifactId>jersey-client</artifactId>
|
| 194 | <groupId>com.sun.jersey</groupId>
|
| 195 | </exclusion>
|
| 196 | </exclusions>
|
| 197 | </dependency>
|
| 198 | <dependency>
|
| 199 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 200 | <artifactId>jersey-test-framework-grizzly</artifactId>
|
| 201 | <version>1.19</version>
|
| 202 | <scope>test</scope>
|
| 203 | <exclusions>
|
| 204 | <exclusion>
|
| 205 | <artifactId>grizzly-servlet-webserver</artifactId>
|
| 206 | <groupId>com.sun.grizzly</groupId>
|
| 207 | </exclusion>
|
| 208 | <exclusion>
|
| 209 | <artifactId>jersey-grizzly</artifactId>
|
| 210 | <groupId>com.sun.jersey</groupId>
|
| 211 | </exclusion>
|
| 212 | </exclusions>
|
| 213 | </dependency>
|
| 214 | <dependency>
|
| 215 | <groupId>junit</groupId>
|
| 216 | <artifactId>junit</artifactId>
|
| 217 | <version>4.11</version>
|
| 218 | <scope>test</scope>
|
| 219 | </dependency>
|
| 220 | <dependency>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 221 | <groupId>org.projectlombok</groupId>
|
| 222 | <artifactId>lombok</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 223 | <version>1.16.6</version>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 224 | <scope>provided</scope>
|
| 225 | </dependency>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 226 | </dependencies>
|
| 227 | <properties>
|
| 228 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 229 | <maven.compiler.source>1.7</maven.compiler.source>
|
| 230 | <maven.compiler.target>1.7</maven.compiler.target>
|
| 231 | </properties>
|
| 232 | </project>
|
| 233 |
|