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>
|
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>
|
| 67 | <version>2.9</version>
|
| 68 | <configuration>
|
| 69 | <excludes>
|
| 70 | <exclude>**/*APITest.java</exclude>
|
| 71 | </excludes>
|
| 72 | <includes>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 73 | <include>**/*.java</include>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 74 | </includes>
|
| 75 | </configuration>
|
| 76 | </plugin>
|
| 77 | <plugin>
|
| 78 | <artifactId>maven-shade-plugin</artifactId>
|
| 79 | <version>2.1</version>
|
| 80 | <executions>
|
| 81 | <execution>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 82 | <id>full</id>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 83 | <phase>package</phase>
|
| 84 | <goals>
|
| 85 | <goal>shade</goal>
|
| 86 | </goals>
|
| 87 | <configuration>
|
| 88 | <transformers>
|
| 89 | <transformer>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 90 | <mainClass>de.ids_mannheim.korap.web.KustvaktServer</mainClass>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 91 | </transformer>
|
| 92 | <transformer>
|
| 93 | <resource>META-INF/spring.handlers</resource>
|
| 94 | </transformer>
|
| 95 | <transformer>
|
| 96 | <resource>META-INF/spring.schemas</resource>
|
| 97 | </transformer>
|
| 98 | </transformers>
|
| 99 | <filters>
|
| 100 | <filter>
|
| 101 | <artifact>*:*</artifact>
|
| 102 | <excludes>
|
| 103 | <exclude>META-INF/*.SF</exclude>
|
| 104 | <exclude>META-INF/*.DSA</exclude>
|
| 105 | <exclude>META-INF/*.RSA</exclude>
|
| 106 | </excludes>
|
| 107 | </filter>
|
| 108 | </filters>
|
| 109 | </configuration>
|
| 110 | </execution>
|
| 111 | </executions>
|
| 112 | </plugin>
|
| 113 | </plugins>
|
| 114 | </build>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 115 | <profiles>
|
| 116 | <profile>
|
| 117 | <id>light</id>
|
| 118 | <build>
|
| 119 | <plugins>
|
| 120 | <plugin>
|
| 121 | <artifactId>maven-shade-plugin</artifactId>
|
| 122 | <version>2.1</version>
|
| 123 | <executions>
|
| 124 | <execution>
|
| 125 | <id>light</id>
|
| 126 | <phase>package</phase>
|
| 127 | <goals>
|
| 128 | <goal>shade</goal>
|
| 129 | </goals>
|
| 130 | <configuration>
|
| 131 | <finalName>Kustvakt-core-${project.version}-light</finalName>
|
| 132 | <transformers>
|
| 133 | <transformer>
|
| 134 | <mainClass>de.ids_mannheim.korap.web.KustvaktBaseServer</mainClass>
|
| 135 | </transformer>
|
| 136 | <transformer>
|
| 137 | <resource>META-INF/spring.handlers</resource>
|
| 138 | </transformer>
|
| 139 | <transformer>
|
| 140 | <resource>META-INF/spring.schemas</resource>
|
| 141 | </transformer>
|
| 142 | </transformers>
|
| 143 | <filters>
|
| 144 | <filter>
|
| 145 | <artifact>*:*</artifact>
|
| 146 | <excludes>
|
| 147 | <exclude>META-INF/*.SF</exclude>
|
| 148 | <exclude>META-INF/*.DSA</exclude>
|
| 149 | <exclude>META-INF/*.RSA</exclude>
|
| 150 | </excludes>
|
| 151 | </filter>
|
| 152 | </filters>
|
| 153 | </configuration>
|
| 154 | </execution>
|
| 155 | </executions>
|
| 156 | </plugin>
|
| 157 | </plugins>
|
| 158 | </build>
|
| 159 | </profile>
|
| 160 | </profiles>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 161 | <repositories>
|
| 162 | <repository>
|
| 163 | <id>codehaus-release-repo</id>
|
| 164 | <name>Codehaus Release Repo</name>
|
| 165 | <url>http://repository.codehaus.org</url>
|
| 166 | </repository>
|
| 167 | <repository>
|
| 168 | <id>central</id>
|
| 169 | <url>http://repo1.maven.org/maven2/</url>
|
| 170 | </repository>
|
| 171 | <repository>
|
| 172 | <snapshots />
|
| 173 | <id>sonatype</id>
|
| 174 | <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
| 175 | </repository>
|
| 176 | </repositories>
|
| 177 | <dependencies>
|
| 178 | <dependency>
|
Michael Hanl | 0f6ffd7 | 2015-08-27 19:23:15 +0200 | [diff] [blame] | 179 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 180 | <artifactId>jersey-test-framework-core</artifactId>
|
| 181 | <version>1.19</version>
|
| 182 | <scope>test</scope>
|
| 183 | <exclusions>
|
| 184 | <exclusion>
|
| 185 | <artifactId>javax.servlet-api</artifactId>
|
| 186 | <groupId>javax.servlet</groupId>
|
| 187 | </exclusion>
|
| 188 | <exclusion>
|
| 189 | <artifactId>jersey-client</artifactId>
|
| 190 | <groupId>com.sun.jersey</groupId>
|
| 191 | </exclusion>
|
| 192 | </exclusions>
|
| 193 | </dependency>
|
| 194 | <dependency>
|
| 195 | <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
| 196 | <artifactId>jersey-test-framework-grizzly</artifactId>
|
| 197 | <version>1.19</version>
|
| 198 | <scope>test</scope>
|
| 199 | <exclusions>
|
| 200 | <exclusion>
|
| 201 | <artifactId>grizzly-servlet-webserver</artifactId>
|
| 202 | <groupId>com.sun.grizzly</groupId>
|
| 203 | </exclusion>
|
| 204 | <exclusion>
|
| 205 | <artifactId>jersey-grizzly</artifactId>
|
| 206 | <groupId>com.sun.jersey</groupId>
|
| 207 | </exclusion>
|
| 208 | </exclusions>
|
| 209 | </dependency>
|
| 210 | <dependency>
|
| 211 | <groupId>junit</groupId>
|
| 212 | <artifactId>junit</artifactId>
|
| 213 | <version>4.11</version>
|
| 214 | <scope>test</scope>
|
| 215 | </dependency>
|
| 216 | <dependency>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 217 | <groupId>org.projectlombok</groupId>
|
| 218 | <artifactId>lombok</artifactId>
|
Michael Hanl | 59bff81 | 2015-10-27 23:10:32 +0100 | [diff] [blame] | 219 | <version>1.16.6</version>
|
Michael Hanl | 482f30d | 2015-09-25 12:39:46 +0200 | [diff] [blame] | 220 | <scope>provided</scope>
|
| 221 | </dependency>
|
Michael Hanl | ca740d7 | 2015-06-16 10:04:58 +0200 | [diff] [blame] | 222 | </dependencies>
|
| 223 | <properties>
|
| 224 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 225 | <maven.compiler.source>1.7</maven.compiler.source>
|
| 226 | <maven.compiler.target>1.7</maven.compiler.target>
|
| 227 | </properties>
|
| 228 | </project>
|
| 229 |
|