blob: 9b188893e1b35a6a1c43dc6a1996a6fec4a36569 [file] [log] [blame]
margarethaf68daa62017-09-21 02:11:24 +02001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>de.ids_mannheim.korap</groupId>
5 <artifactId>Kustvakt-full</artifactId>
margaretha9025d642018-01-19 17:35:22 +01006 <version>0.59.10</version>
margarethaf68daa62017-09-21 02:11:24 +02007 <properties>
8 <java.version>1.7</java.version>
9 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
margaretha514e1412017-10-10 15:54:20 +020010 <spring-framework.version>4.3.11.RELEASE</spring-framework.version>
margarethaf68daa62017-09-21 02:11:24 +020011 <jersey.version>1.19.4</jersey.version>
margaretha9025d642018-01-19 17:35:22 +010012 <hibernate.version>5.1.11.Final</hibernate.version>
margarethaf68daa62017-09-21 02:11:24 +020013 </properties>
14 <build>
15 <resources>
16 <resource>
17 <directory>src/main/resources</directory>
18 <filtering>true</filtering>
19 <includes>
20 <include>**/*.info</include>
21 <include>**/*.xml</include>
22 <include>**/*.conf</include>
23 <include>**/*.kustvakt</include>
24 <include>**/*.properties</include>
25 <include>**/*.sql</include>
26 </includes>
27 </resource>
28 </resources>
29 <testResources>
30 <testResource>
31 <directory>src/test/resources</directory>
32 <filtering>true</filtering>
33 <includes>
margarethadfecb4b2017-12-12 19:32:30 +010034 <include>**/*.token</include>
margarethaf68daa62017-09-21 02:11:24 +020035 <include>**/*.xml</include>
36 <include>**/*.conf</include>
37 <include>**/*.info</include>
38 <include>**/*.properties</include>
39 </includes>
40 </testResource>
41 <testResource>
42 <directory>src/main/resources</directory>
43 <filtering>true</filtering>
44 <includes>
45 <include>**/*.info</include>
46 <include>**/*.properties</include>
47 </includes>
48 </testResource>
49 </testResources>
50 <plugins>
51 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
52 <plugin>
53 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
54 <artifactId>maven-java-formatter-plugin</artifactId>
55 <version>0.4</version>
56 <configuration>
57 <configFile>${project.basedir}/Format.xml</configFile>
58 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
59 <compilerSource>${java.version}</compilerSource>
60 <compilerCompliance>${java.version}</compilerCompliance>
61 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
62 </configuration>
63 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
64 </executions> -->
65 </plugin>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-compiler-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010069 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020070 <configuration>
71 <compilerVersion>${java.version}</compilerVersion>
72 <source>${java.version}</source>
73 <target>${java.version}</target>
margarethafc7d7772018-01-16 17:48:17 +010074 <verbose>true</verbose>
75 <fork>true</fork>
76 <!-- <compilerArguments>
margarethad3c0fc92017-10-25 15:03:32 +020077 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
78 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
margarethafc7d7772018-01-16 17:48:17 +010079 </compilerArguments> -->
margaretha9025d642018-01-19 17:35:22 +010080 <processors>
margarethafc7d7772018-01-16 17:48:17 +010081 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
82 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
margaretha9025d642018-01-19 17:35:22 +010083 </processors>
margarethaf68daa62017-09-21 02:11:24 +020084 </configuration>
85 </plugin>
margarethaf68daa62017-09-21 02:11:24 +020086 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-surefire-plugin</artifactId>
89 <version>2.19.1</version>
90 <configuration>
91 <reuseForks>false</reuseForks>
92 <forkCount>2</forkCount>
93 <threadCount>10</threadCount>
94
95 <excludes>
margarethafc7d7772018-01-16 17:48:17 +010096 <!-- <exclude>de/ids_mannheim/korap/suites/*.java</exclude> -->
97 <!-- <exclude>de/ids_mannheim/korap/dao/*.java</exclude> -->
margarethadfecb4b2017-12-12 19:32:30 +010098 <exclude>de/ids_mannheim/korap/authentication/*.java</exclude>
margarethafc7d7772018-01-16 17:48:17 +010099 <!-- <exclude>**/ResourceServiceTest.java</exclude> -->
100 <!-- <exclude>**/ResourceInfoServiceTest.java</exclude> -->
margarethaf68daa62017-09-21 02:11:24 +0200101 <exclude>**/PolicyServiceTest.java</exclude>
102 </excludes>
103 <includes>
104 <include>de/ids_mannheim/korap/**/*.java</include>
105 </includes>
106 </configuration>
107 </plugin>
108 <plugin>
109 <artifactId>maven-shade-plugin</artifactId>
110 <version>2.1</version>
111 <executions>
112 <!-- option 1 -->
113 <execution>
114 <id>full</id>
115 <phase>package</phase>
116 <goals>
117 <goal>shade</goal>
118 </goals>
119 <configuration>
margarethaea68a0a2017-09-21 03:09:49 +0200120 <finalName>Kustvakt-full-${project.version}</finalName>
margarethaf68daa62017-09-21 02:11:24 +0200121 <transformers>
122 <transformer
123 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
124 <mainClass>
125 de.ids_mannheim.korap.server.KustvaktServer
126 </mainClass>
127 </transformer>
128 <transformer
129 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
130 <resource>META-INF/spring.handlers
131 </resource>
132 </transformer>
133 <transformer
134 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
135 <resource>META-INF/spring.schemas
136 </resource>
137 </transformer>
138 </transformers>
139 <!-- Additional configuration. apparently there is a securityException -->
140 <filters>
141 <filter>
142 <artifact>*:*</artifact>
143 <excludes>
144 <exclude>META-INF/*.SF</exclude>
145 <exclude>META-INF/*.DSA
146 </exclude>
147 <exclude>META-INF/*.RSA
148 </exclude>
149 </excludes>
150 </filter>
151 </filters>
152 </configuration>
153 </execution>
154 </executions>
155 </plugin>
156
157 </plugins>
158 </build>
159
160 <dependencies>
161 <dependency>
162 <groupId>de.ids_mannheim.korap</groupId>
163 <artifactId>Kustvakt-core</artifactId>
margaretha894a7d72017-11-08 19:24:20 +0100164 <version>0.59.9</version>
165 <type>jar</type>
margarethaf68daa62017-09-21 02:11:24 +0200166 </dependency>
167 <dependency>
168 <groupId>de.ids_mannheim.korap</groupId>
169 <artifactId>Kustvakt-core</artifactId>
margaretha894a7d72017-11-08 19:24:20 +0100170 <version>0.59.9</version>
margarethaf68daa62017-09-21 02:11:24 +0200171 <type>test-jar</type>
172 <scope>test</scope>
173 </dependency>
margaretha54134902017-09-27 18:43:11 +0200174 <!-- LDAP -->
175 <dependency>
176 <groupId>com.novell.ldap</groupId>
177 <artifactId>jldap</artifactId>
178 <version>4.3</version>
179 </dependency>
margaretha54134902017-09-27 18:43:11 +0200180 <dependency>
181 <groupId>com.unboundid</groupId>
182 <artifactId>unboundid-ldapsdk</artifactId>
183 <version>3.2.1</version>
184 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200185
margarethaf68daa62017-09-21 02:11:24 +0200186 <!-- Hibernate -->
187 <dependency>
188 <groupId>org.hibernate</groupId>
189 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100190 <version>${hibernate.version}</version>
191 <exclusions>
192 <exclusion>
193 <groupId>org.javassist</groupId>
194 <artifactId>javassist</artifactId>
195 </exclusion>
196 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200197 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200198 <dependency>
199 <groupId>org.hibernate</groupId>
200 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100201 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200202 <scope>provided</scope>
203 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100204 <dependency>
205 <groupId>org.javassist</groupId>
206 <artifactId>javassist</artifactId>
207 <version>3.22.0-GA</version>
208 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200209
margaretha318fec32017-10-24 12:11:58 +0200210 <!-- MySql -->
211 <dependency>
212 <groupId>mysql</groupId>
213 <artifactId>mysql-connector-java</artifactId>
214 <version>5.1.21</version>
215 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200216
217 <!-- Jersey -->
218 <dependency>
219 <groupId>com.sun.jersey.jersey-test-framework</groupId>
220 <artifactId>jersey-test-framework-core</artifactId>
221 <version>${jersey.version}</version>
222 <scope>test</scope>
223 </dependency>
224 <dependency>
225 <groupId>com.sun.jersey.jersey-test-framework</groupId>
226 <artifactId>jersey-test-framework-grizzly</artifactId>
227 <version>${jersey.version}</version>
228 <scope>test</scope>
229 </dependency>
230
231 <!-- Spring -->
margaretha54134902017-09-27 18:43:11 +0200232 <dependency>
233 <groupId>org.springframework</groupId>
234 <artifactId>spring-jdbc</artifactId>
235 <version>${spring-framework.version}</version>
236 </dependency>
237 <dependency>
238 <groupId>org.springframework</groupId>
239 <artifactId>spring-tx</artifactId>
240 <version>${spring-framework.version}</version>
241 </dependency>
margaretha2afb97d2017-12-07 19:18:44 +0100242 <dependency>
243 <groupId>org.springframework.security</groupId>
244 <artifactId>spring-security-core</artifactId>
245 <version>4.2.3.RELEASE</version>
246 </dependency>
247 <dependency>
248 <groupId>org.springframework.security</groupId>
249 <artifactId>spring-security-web</artifactId>
250 <version>4.2.3.RELEASE</version>
251 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200252
margaretha54134902017-09-27 18:43:11 +0200253 <!-- Flyway -->
254 <dependency>
255 <groupId>org.flywaydb</groupId>
256 <artifactId>flyway-core</artifactId>
257 <version>4.0</version>
258 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200259 </dependencies>
260</project>