blob: 4102f2035e365101d2df26c2b35aa8ecf21ede4e [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 Hanldaf86602016-05-12 14:31:52 +02007 <version>0.59</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>
Michael Hanldaf86602016-05-12 14:31:52 +020016 <include>**/*.info</include>
Michael Hanl482f30d2015-09-25 12:39:46 +020017 <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>
Michael Hanldaf86602016-05-12 14:31:52 +020067 <version>2.19.1</version>
Michael Hanlca740d72015-06-16 10:04:58 +020068 <configuration>
Michael Hanldaf86602016-05-12 14:31:52 +020069 <reuseForks>false</reuseForks>
70 <forkCount>1</forkCount>
71 <threadCount>10</threadCount>
Michael Hanlca740d72015-06-16 10:04:58 +020072 <excludes>
73 <exclude>**/*APITest.java</exclude>
Michael Hanldaf86602016-05-12 14:31:52 +020074 <exclude>de/ids_mannheim/korap/suites/*.java</exclude>
Michael Hanlca740d72015-06-16 10:04:58 +020075 </excludes>
76 <includes>
Michael Hanl3520dcd2016-02-08 19:11:37 +010077 <include>de/ids_mannheim/korap/**/*.java</include>
Michael Hanlca740d72015-06-16 10:04:58 +020078 </includes>
79 </configuration>
80 </plugin>
81 <plugin>
82 <artifactId>maven-shade-plugin</artifactId>
83 <version>2.1</version>
84 <executions>
85 <execution>
Michael Hanl482f30d2015-09-25 12:39:46 +020086 <id>full</id>
Michael Hanlca740d72015-06-16 10:04:58 +020087 <phase>package</phase>
88 <goals>
89 <goal>shade</goal>
90 </goals>
91 <configuration>
92 <transformers>
93 <transformer>
Michael Hanl0f6ffd72015-08-27 19:23:15 +020094 <mainClass>de.ids_mannheim.korap.web.KustvaktServer</mainClass>
Michael Hanlca740d72015-06-16 10:04:58 +020095 </transformer>
96 <transformer>
97 <resource>META-INF/spring.handlers</resource>
98 </transformer>
99 <transformer>
100 <resource>META-INF/spring.schemas</resource>
101 </transformer>
102 </transformers>
103 <filters>
104 <filter>
105 <artifact>*:*</artifact>
106 <excludes>
107 <exclude>META-INF/*.SF</exclude>
108 <exclude>META-INF/*.DSA</exclude>
109 <exclude>META-INF/*.RSA</exclude>
110 </excludes>
111 </filter>
112 </filters>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
117 </plugins>
118 </build>
Michael Hanl482f30d2015-09-25 12:39:46 +0200119 <profiles>
120 <profile>
121 <id>light</id>
122 <build>
123 <plugins>
124 <plugin>
125 <artifactId>maven-shade-plugin</artifactId>
126 <version>2.1</version>
127 <executions>
128 <execution>
129 <id>light</id>
130 <phase>package</phase>
131 <goals>
132 <goal>shade</goal>
133 </goals>
134 <configuration>
Michael Hanldaf86602016-05-12 14:31:52 +0200135 <finalName>Kustvakt-core-0.59-light</finalName>
Michael Hanl482f30d2015-09-25 12:39:46 +0200136 <transformers>
137 <transformer>
138 <mainClass>de.ids_mannheim.korap.web.KustvaktBaseServer</mainClass>
139 </transformer>
140 <transformer>
141 <resource>META-INF/spring.handlers</resource>
142 </transformer>
143 <transformer>
144 <resource>META-INF/spring.schemas</resource>
145 </transformer>
146 </transformers>
147 <filters>
148 <filter>
149 <artifact>*:*</artifact>
150 <excludes>
151 <exclude>META-INF/*.SF</exclude>
152 <exclude>META-INF/*.DSA</exclude>
153 <exclude>META-INF/*.RSA</exclude>
154 </excludes>
155 </filter>
156 </filters>
157 </configuration>
158 </execution>
159 </executions>
160 </plugin>
161 </plugins>
162 </build>
163 </profile>
164 </profiles>
Michael Hanlca740d72015-06-16 10:04:58 +0200165 <dependencies>
166 <dependency>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200167 <groupId>com.sun.jersey.jersey-test-framework</groupId>
168 <artifactId>jersey-test-framework-core</artifactId>
169 <version>1.19</version>
170 <scope>test</scope>
171 <exclusions>
172 <exclusion>
173 <artifactId>javax.servlet-api</artifactId>
174 <groupId>javax.servlet</groupId>
175 </exclusion>
176 <exclusion>
Michael Hanldaf86602016-05-12 14:31:52 +0200177 <artifactId>jersey-servlet</artifactId>
178 <groupId>com.sun.jersey</groupId>
179 </exclusion>
180 <exclusion>
Michael Hanl0f6ffd72015-08-27 19:23:15 +0200181 <artifactId>jersey-client</artifactId>
182 <groupId>com.sun.jersey</groupId>
183 </exclusion>
184 </exclusions>
185 </dependency>
186 <dependency>
187 <groupId>com.sun.jersey.jersey-test-framework</groupId>
188 <artifactId>jersey-test-framework-grizzly</artifactId>
189 <version>1.19</version>
190 <scope>test</scope>
191 <exclusions>
192 <exclusion>
193 <artifactId>grizzly-servlet-webserver</artifactId>
194 <groupId>com.sun.grizzly</groupId>
195 </exclusion>
196 <exclusion>
197 <artifactId>jersey-grizzly</artifactId>
198 <groupId>com.sun.jersey</groupId>
199 </exclusion>
200 </exclusions>
201 </dependency>
202 <dependency>
203 <groupId>junit</groupId>
204 <artifactId>junit</artifactId>
205 <version>4.11</version>
206 <scope>test</scope>
207 </dependency>
208 <dependency>
Michael Hanl482f30d2015-09-25 12:39:46 +0200209 <groupId>org.projectlombok</groupId>
210 <artifactId>lombok</artifactId>
Michael Hanl59bff812015-10-27 23:10:32 +0100211 <version>1.16.6</version>
Michael Hanl482f30d2015-09-25 12:39:46 +0200212 <scope>provided</scope>
213 </dependency>
Michael Hanlca740d72015-06-16 10:04:58 +0200214 </dependencies>
215 <properties>
216 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
217 <maven.compiler.source>1.7</maven.compiler.source>
218 <maven.compiler.target>1.7</maven.compiler.target>
219 </properties>
220</project>
221