blob: 7976ad538927515ae626aaa003a1611f9be21361 [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 Hanl19390652016-01-16 11:01:24 +01007 <version>0.56</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>
Michael Hanlf0785322015-11-13 16:14:45 +010020 <include>**/*.sql</include>
Michael Hanl482f30d2015-09-25 12:39:46 +020021 </includes>
22 </resource>
23 </resources>
24 <testResources>
25 <testResource>
26 <filtering>true</filtering>
Michael Hanl59bff812015-10-27 23:10:32 +010027 <directory>src/test/resources</directory>
Michael Hanl482f30d2015-09-25 12:39:46 +020028 <includes>
29 <include>**/*.prop</include>
30 <include>**/*.xml</include>
31 <include>**/*.conf</include>
32 <include>**/*.properties</include>
33 </includes>
34 </testResource>
Michael Hanl59bff812015-10-27 23:10:32 +010035 <testResource>
36 <filtering>true</filtering>
37 <directory>src/main/resources</directory>
38 <includes>
Michael Hanl59bff812015-10-27 23:10:32 +010039 <include>**/*.properties</include>
Michael Hanl59bff812015-10-27 23:10:32 +010040 </includes>
41 </testResource>
Michael Hanl482f30d2015-09-25 12:39:46 +020042 </testResources>
Michael Hanlca740d72015-06-16 10:04:58 +020043 <plugins>
44 <plugin>
Michael Hanl59bff812015-10-27 23:10:32 +010045 <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 Hanl0f6ffd72015-08-27 19:23:15 +020054 <artifactId>maven-jar-plugin</artifactId>
Michael Hanl59bff812015-10-27 23:10:32 +010055 <version>2.1</version>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020056 <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 Hanlca740d72015-06-16 10:04:58 +020066 <artifactId>maven-surefire-plugin</artifactId>
67 <version>2.9</version>
68 <configuration>
69 <excludes>
70 <exclude>**/*APITest.java</exclude>
71 </excludes>
72 <includes>
Michael Hanl59bff812015-10-27 23:10:32 +010073 <include>**/*.java</include>
Michael Hanlca740d72015-06-16 10:04:58 +020074 </includes>
75 </configuration>
76 </plugin>
77 <plugin>
78 <artifactId>maven-shade-plugin</artifactId>
79 <version>2.1</version>
80 <executions>
81 <execution>
Michael Hanl482f30d2015-09-25 12:39:46 +020082 <id>full</id>
Michael Hanlca740d72015-06-16 10:04:58 +020083 <phase>package</phase>
84 <goals>
85 <goal>shade</goal>
86 </goals>
87 <configuration>
88 <transformers>
89 <transformer>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020090 <mainClass>de.ids_mannheim.korap.web.KustvaktServer</mainClass>
Michael Hanlca740d72015-06-16 10:04:58 +020091 </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 Hanl482f30d2015-09-25 12:39:46 +0200115 <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 Hanlca740d72015-06-16 10:04:58 +0200161 <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 Hanl0f6ffd72015-08-27 19:23:15 +0200179 <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 Hanl482f30d2015-09-25 12:39:46 +0200217 <groupId>org.projectlombok</groupId>
218 <artifactId>lombok</artifactId>
Michael Hanl59bff812015-10-27 23:10:32 +0100219 <version>1.16.6</version>
Michael Hanl482f30d2015-09-25 12:39:46 +0200220 <scope>provided</scope>
221 </dependency>
Michael Hanlca740d72015-06-16 10:04:58 +0200222 </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