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