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