blob: 9ae96d97a8706cb1cf5442cf0e12e60e26d2058a [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>
margarethaec247dd2018-06-12 21:55:46 +02006 <version>0.60.4</version>
margarethaf68daa62017-09-21 02:11:24 +02007 <properties>
margaretha2c019fa2018-02-01 19:50:51 +01008 <java.version>1.8</java.version>
margarethaf68daa62017-09-21 02:11:24 +02009 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
margaretha2c019fa2018-02-01 19:50:51 +010010 <spring-framework.version>5.0.3.RELEASE</spring-framework.version>
11 <spring-security.version>4.2.3.RELEASE</spring-security.version>
margaretha58e18632018-02-15 13:04:42 +010012 <jetty.version>9.4.8.v20171121</jetty.version>
margarethaf68daa62017-09-21 02:11:24 +020013 <jersey.version>1.19.4</jersey.version>
margaretha9025d642018-01-19 17:35:22 +010014 <hibernate.version>5.1.11.Final</hibernate.version>
margarethaf68daa62017-09-21 02:11:24 +020015 </properties>
16 <build>
17 <resources>
18 <resource>
19 <directory>src/main/resources</directory>
20 <filtering>true</filtering>
21 <includes>
22 <include>**/*.info</include>
23 <include>**/*.xml</include>
24 <include>**/*.conf</include>
25 <include>**/*.kustvakt</include>
26 <include>**/*.properties</include>
27 <include>**/*.sql</include>
margaretha7f0a4d42018-02-20 19:16:44 +010028 <include>**/*.vm</include>
margarethaf68daa62017-09-21 02:11:24 +020029 </includes>
30 </resource>
31 </resources>
32 <testResources>
33 <testResource>
34 <directory>src/test/resources</directory>
margaretha5225ed02018-06-25 18:38:40 +020035 <!-- <filtering>true</filtering>
margarethaf68daa62017-09-21 02:11:24 +020036 <includes>
margaretha5225ed02018-06-25 18:38:40 +020037 <include>**/*.key</include>
margarethadfecb4b2017-12-12 19:32:30 +010038 <include>**/*.token</include>
margarethaf68daa62017-09-21 02:11:24 +020039 <include>**/*.xml</include>
40 <include>**/*.conf</include>
41 <include>**/*.info</include>
42 <include>**/*.properties</include>
margaretha5225ed02018-06-25 18:38:40 +020043 </includes> -->
margarethaf68daa62017-09-21 02:11:24 +020044 </testResource>
45 <testResource>
46 <directory>src/main/resources</directory>
47 <filtering>true</filtering>
48 <includes>
49 <include>**/*.info</include>
50 <include>**/*.properties</include>
51 </includes>
52 </testResource>
53 </testResources>
54 <plugins>
55 <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html -->
56 <plugin>
57 <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
58 <artifactId>maven-java-formatter-plugin</artifactId>
59 <version>0.4</version>
60 <configuration>
61 <configFile>${project.basedir}/Format.xml</configFile>
62 <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion>
63 <compilerSource>${java.version}</compilerSource>
64 <compilerCompliance>${java.version}</compilerCompliance>
65 <compilerTargetPlatform>${java.version}</compilerTargetPlatform>
66 </configuration>
67 <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution>
68 </executions> -->
69 </plugin>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-compiler-plugin</artifactId>
margarethafc7d7772018-01-16 17:48:17 +010073 <version>3.7.0</version>
margarethaf68daa62017-09-21 02:11:24 +020074 <configuration>
75 <compilerVersion>${java.version}</compilerVersion>
76 <source>${java.version}</source>
77 <target>${java.version}</target>
margaretha58e18632018-02-15 13:04:42 +010078 <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
79 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
80 </compilerArguments> -->
margaretha9025d642018-01-19 17:35:22 +010081 <processors>
margarethafc7d7772018-01-16 17:48:17 +010082 <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
83 <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
margaretha9025d642018-01-19 17:35:22 +010084 </processors>
margarethaf68daa62017-09-21 02:11:24 +020085 </configuration>
86 </plugin>
margarethaf68daa62017-09-21 02:11:24 +020087 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-surefire-plugin</artifactId>
margarethaa86b1412018-02-21 20:40:35 +010090 <version>2.20.1</version>
margarethaf68daa62017-09-21 02:11:24 +020091 <configuration>
92 <reuseForks>false</reuseForks>
93 <forkCount>2</forkCount>
margarethaefc18a42018-03-01 16:01:42 +010094 <threadCount>4</threadCount>
95 <argLine>-Xmx512m -XX:MaxPermSize=256m</argLine>
margarethaf68daa62017-09-21 02:11:24 +020096 <excludes>
margarethadfecb4b2017-12-12 19:32:30 +010097 <exclude>de/ids_mannheim/korap/authentication/*.java</exclude>
margarethaf68daa62017-09-21 02:11:24 +020098 </excludes>
99 <includes>
100 <include>de/ids_mannheim/korap/**/*.java</include>
101 </includes>
102 </configuration>
103 </plugin>
104 <plugin>
105 <artifactId>maven-shade-plugin</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100106 <version>3.1.0</version>
margarethaf68daa62017-09-21 02:11:24 +0200107 <executions>
108 <!-- option 1 -->
109 <execution>
110 <id>full</id>
111 <phase>package</phase>
112 <goals>
113 <goal>shade</goal>
114 </goals>
115 <configuration>
margarethaea68a0a2017-09-21 03:09:49 +0200116 <finalName>Kustvakt-full-${project.version}</finalName>
margarethaf68daa62017-09-21 02:11:24 +0200117 <transformers>
118 <transformer
119 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
120 <mainClass>
121 de.ids_mannheim.korap.server.KustvaktServer
122 </mainClass>
123 </transformer>
124 <transformer
125 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
126 <resource>META-INF/spring.handlers
127 </resource>
128 </transformer>
129 <transformer
130 implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
131 <resource>META-INF/spring.schemas
132 </resource>
133 </transformer>
134 </transformers>
135 <!-- Additional configuration. apparently there is a securityException -->
136 <filters>
137 <filter>
138 <artifact>*:*</artifact>
139 <excludes>
140 <exclude>META-INF/*.SF</exclude>
141 <exclude>META-INF/*.DSA
142 </exclude>
143 <exclude>META-INF/*.RSA
144 </exclude>
145 </excludes>
146 </filter>
147 </filters>
148 </configuration>
149 </execution>
150 </executions>
151 </plugin>
152
153 </plugins>
154 </build>
155
156 <dependencies>
157 <dependency>
158 <groupId>de.ids_mannheim.korap</groupId>
159 <artifactId>Kustvakt-core</artifactId>
margaretha5225ed02018-06-25 18:38:40 +0200160 <version>0.60.4</version>
margarethaf68daa62017-09-21 02:11:24 +0200161 </dependency>
margaretha54134902017-09-27 18:43:11 +0200162 <!-- LDAP -->
163 <dependency>
164 <groupId>com.novell.ldap</groupId>
165 <artifactId>jldap</artifactId>
166 <version>4.3</version>
167 </dependency>
margaretha54134902017-09-27 18:43:11 +0200168 <dependency>
169 <groupId>com.unboundid</groupId>
170 <artifactId>unboundid-ldapsdk</artifactId>
171 <version>3.2.1</version>
172 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200173
margarethaf68daa62017-09-21 02:11:24 +0200174 <!-- Hibernate -->
175 <dependency>
176 <groupId>org.hibernate</groupId>
177 <artifactId>hibernate-entitymanager</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100178 <version>${hibernate.version}</version>
179 <exclusions>
180 <exclusion>
181 <groupId>org.javassist</groupId>
margaretha58e18632018-02-15 13:04:42 +0100182 <artifactId>javassist</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100183 </exclusion>
184 </exclusions>
margarethaf68daa62017-09-21 02:11:24 +0200185 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200186 <dependency>
187 <groupId>org.hibernate</groupId>
188 <artifactId>hibernate-jpamodelgen</artifactId>
margaretha9025d642018-01-19 17:35:22 +0100189 <version>${hibernate.version}</version>
margarethad3c0fc92017-10-25 15:03:32 +0200190 <scope>provided</scope>
191 </dependency>
margaretha9025d642018-01-19 17:35:22 +0100192 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100193 <groupId>org.hibernate</groupId>
194 <artifactId>hibernate-java8</artifactId>
195 <version>${hibernate.version}</version>
margarethae6c711b2018-02-06 21:55:04 +0100196 </dependency>
197 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100198 <groupId>org.javassist</groupId>
199 <artifactId>javassist</artifactId>
200 <version>3.22.0-GA</version>
margaretha9025d642018-01-19 17:35:22 +0100201 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200202
margaretha318fec32017-10-24 12:11:58 +0200203 <!-- MySql -->
204 <dependency>
205 <groupId>mysql</groupId>
206 <artifactId>mysql-connector-java</artifactId>
margaretha2c019fa2018-02-01 19:50:51 +0100207 <version>6.0.6</version>
margaretha318fec32017-10-24 12:11:58 +0200208 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200209
210 <!-- Jersey -->
211 <dependency>
212 <groupId>com.sun.jersey.jersey-test-framework</groupId>
213 <artifactId>jersey-test-framework-core</artifactId>
214 <version>${jersey.version}</version>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>com.sun.jersey.jersey-test-framework</groupId>
219 <artifactId>jersey-test-framework-grizzly</artifactId>
220 <version>${jersey.version}</version>
221 <scope>test</scope>
222 </dependency>
margaretha7f0a4d42018-02-20 19:16:44 +0100223 <dependency>
margaretha235a6802018-06-06 19:21:53 +0200224 <groupId>com.sun.jersey</groupId>
225 <artifactId>jersey-json</artifactId>
226 <version>${jersey.version}</version>
margaretha7f0a4d42018-02-20 19:16:44 +0100227 </dependency>
margarethaf68daa62017-09-21 02:11:24 +0200228
229 <!-- Spring -->
margaretha54134902017-09-27 18:43:11 +0200230 <dependency>
231 <groupId>org.springframework</groupId>
232 <artifactId>spring-jdbc</artifactId>
233 <version>${spring-framework.version}</version>
234 </dependency>
235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-tx</artifactId>
238 <version>${spring-framework.version}</version>
239 </dependency>
margaretha2afb97d2017-12-07 19:18:44 +0100240 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100241 <groupId>org.springframework.security</groupId>
242 <artifactId>spring-security-core</artifactId>
243 <version>${spring-security.version}</version>
margaretha2afb97d2017-12-07 19:18:44 +0100244 </dependency>
245 <dependency>
margaretha58e18632018-02-15 13:04:42 +0100246 <groupId>org.springframework.security</groupId>
247 <artifactId>spring-security-web</artifactId>
248 <version>${spring-security.version}</version>
249 </dependency>
250
margaretha58e18632018-02-15 13:04:42 +0100251 <!-- velocity -->
252 <dependency>
253 <groupId>org.apache.velocity</groupId>
254 <artifactId>velocity-engine-core</artifactId>
255 <version>2.0</version>
256 </dependency>
257 <dependency>
258 <groupId>org.apache.velocity</groupId>
259 <artifactId>velocity-tools</artifactId>
260 <version>2.0</version>
261 </dependency>
262 <!-- mail -->
263 <dependency>
264 <groupId>com.sun.mail</groupId>
265 <artifactId>javax.mail</artifactId>
266 <version>1.6.0</version>
267 </dependency>
268 <dependency>
269 <groupId>javax.activation</groupId>
270 <artifactId>activation</artifactId>
271 <version>1.1.1</version>
272 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200273
margaretha58e18632018-02-15 13:04:42 +0100274 <dependency>
margaretha235a6802018-06-06 19:21:53 +0200275 <groupId>javax.servlet</groupId>
276 <artifactId>javax.servlet-api</artifactId>
277 <version>4.0.0</version>
margaretha2afb97d2017-12-07 19:18:44 +0100278 </dependency>
margarethad3c0fc92017-10-25 15:03:32 +0200279
margaretha54134902017-09-27 18:43:11 +0200280 <!-- Flyway -->
281 <dependency>
282 <groupId>org.flywaydb</groupId>
283 <artifactId>flyway-core</artifactId>
284 <version>4.0</version>
285 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200286
margarethafb027f92018-04-23 20:00:13 +0200287 <!-- OAuth -->
288 <dependency>
289 <groupId>org.apache.oltu.oauth2</groupId>
290 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
291 <version>1.0.0</version>
292 </dependency>
margaretha58e18632018-02-15 13:04:42 +0100293
margaretha235a6802018-06-06 19:21:53 +0200294 <!-- JWT -->
295 <dependency>
296 <groupId>com.nimbusds</groupId>
297 <artifactId>nimbus-jose-jwt</artifactId>
298 <version>5.10</version>
299 </dependency>
margarethaec247dd2018-06-12 21:55:46 +0200300
301 <!-- OpenId -->
302 <dependency>
303 <groupId>com.nimbusds</groupId>
304 <artifactId>oauth2-oidc-sdk</artifactId>
305 <version>5.62</version>
306 </dependency>
margaretha235a6802018-06-06 19:21:53 +0200307 </dependencies>
margarethaf68daa62017-09-21 02:11:24 +0200308</project>