blob: 47cef40b2a0380055198d3f4ea5c5d4c645ae96f [file] [log] [blame]
Michael Hanlca740d72015-06-16 10:04:58 +02001<?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 Hanlca740d72015-06-16 10:04:58 +02003 <modelVersion>4.0.0</modelVersion>
Michael Hanlbadd79c2015-06-19 07:41:03 +02004 <groupId>de.ids_mannheim.korap</groupId>
Michael Hanlca740d72015-06-16 10:04:58 +02005 <artifactId>Kustvakt-core</artifactId>
Michael Hanlbadd79c2015-06-19 07:41:03 +02006 <name>Kustvakt core</name>
Michael Hanl59bff812015-10-27 23:10:32 +01007 <version>0.5</version>
Michael Hanlbadd79c2015-06-19 07:41:03 +02008 <description>Kustvakt core, basic rest api for testing purposes and default
9 interfaces</description>
Michael Hanlca740d72015-06-16 10:04:58 +020010 <build>
Michael Hanl482f30d2015-09-25 12:39:46 +020011 <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 Hanl59bff812015-10-27 23:10:32 +010026 <directory>src/test/resources</directory>
Michael Hanl482f30d2015-09-25 12:39:46 +020027 <includes>
28 <include>**/*.prop</include>
29 <include>**/*.xml</include>
30 <include>**/*.conf</include>
31 <include>**/*.properties</include>
32 </includes>
33 </testResource>
Michael Hanl59bff812015-10-27 23:10:32 +010034 <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 Hanl482f30d2015-09-25 12:39:46 +020045 </testResources>
Michael Hanlca740d72015-06-16 10:04:58 +020046 <plugins>
47 <plugin>
Michael Hanl59bff812015-10-27 23:10:32 +010048 <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 Hanl0f6ffd72015-08-27 19:23:15 +020057 <artifactId>maven-jar-plugin</artifactId>
Michael Hanl59bff812015-10-27 23:10:32 +010058 <version>2.1</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020059 <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 Hanlca740d72015-06-16 10:04:58 +020069 <artifactId>maven-surefire-plugin</artifactId>
70 <version>2.9</version>
71 <configuration>
72 <excludes>
73 <exclude>**/*APITest.java</exclude>
74 </excludes>
75 <includes>
Michael Hanl59bff812015-10-27 23:10:32 +010076 <include>**/*.java</include>
Michael Hanlca740d72015-06-16 10:04:58 +020077 </includes>
78 </configuration>
79 </plugin>
80 <plugin>
81 <artifactId>maven-shade-plugin</artifactId>
82 <version>2.1</version>
83 <executions>
84 <execution>
Michael Hanl482f30d2015-09-25 12:39:46 +020085 <id>full</id>
Michael Hanlca740d72015-06-16 10:04:58 +020086 <phase>package</phase>
87 <goals>
88 <goal>shade</goal>
89 </goals>
90 <configuration>
91 <transformers>
92 <transformer>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020093 <mainClass>de.ids_mannheim.korap.web.KustvaktServer</mainClass>
Michael Hanlca740d72015-06-16 10:04:58 +020094 </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 Hanl482f30d2015-09-25 12:39:46 +0200118 <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 Hanlca740d72015-06-16 10:04:58 +0200164 <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 Hanl0f6ffd72015-08-27 19:23:15 +0200182 <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 Hanl482f30d2015-09-25 12:39:46 +0200220 <groupId>org.projectlombok</groupId>
221 <artifactId>lombok</artifactId>
Michael Hanl59bff812015-10-27 23:10:32 +0100222 <version>1.16.6</version>
Michael Hanl482f30d2015-09-25 12:39:46 +0200223 <scope>provided</scope>
224 </dependency>
225 <dependency>
Michael Hanlca740d72015-06-16 10:04:58 +0200226 <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 Hanlca740d72015-06-16 10:04:58 +0200237 </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