margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 1 | <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> |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 6 | <version>0.60</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 7 | <properties> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 8 | <java.version>1.8</java.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 9 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 10 | <spring-framework.version>5.0.3.RELEASE</spring-framework.version> |
| 11 | <spring-security.version>4.2.3.RELEASE</spring-security.version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 12 | <jetty.version>9.4.8.v20171121</jetty.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 13 | <jersey.version>1.19.4</jersey.version> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 14 | <hibernate.version>5.1.11.Final</hibernate.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 15 | </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> |
margaretha | 7f0a4d4 | 2018-02-20 19:16:44 +0100 | [diff] [blame] | 28 | <include>**/*.vm</include> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 29 | </includes> |
| 30 | </resource> |
| 31 | </resources> |
| 32 | <testResources> |
| 33 | <testResource> |
| 34 | <directory>src/test/resources</directory> |
| 35 | <filtering>true</filtering> |
| 36 | <includes> |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 37 | <include>**/*.token</include> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 38 | <include>**/*.xml</include> |
| 39 | <include>**/*.conf</include> |
| 40 | <include>**/*.info</include> |
| 41 | <include>**/*.properties</include> |
| 42 | </includes> |
| 43 | </testResource> |
| 44 | <testResource> |
| 45 | <directory>src/main/resources</directory> |
| 46 | <filtering>true</filtering> |
| 47 | <includes> |
| 48 | <include>**/*.info</include> |
| 49 | <include>**/*.properties</include> |
| 50 | </includes> |
| 51 | </testResource> |
| 52 | </testResources> |
| 53 | <plugins> |
| 54 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 55 | <plugin> |
| 56 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 57 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 58 | <version>0.4</version> |
| 59 | <configuration> |
| 60 | <configFile>${project.basedir}/Format.xml</configFile> |
| 61 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 62 | <compilerSource>${java.version}</compilerSource> |
| 63 | <compilerCompliance>${java.version}</compilerCompliance> |
| 64 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
| 65 | </configuration> |
| 66 | <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| 67 | </executions> --> |
| 68 | </plugin> |
| 69 | <plugin> |
| 70 | <groupId>org.apache.maven.plugins</groupId> |
| 71 | <artifactId>maven-compiler-plugin</artifactId> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 72 | <version>3.7.0</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 73 | <configuration> |
| 74 | <compilerVersion>${java.version}</compilerVersion> |
| 75 | <source>${java.version}</source> |
| 76 | <target>${java.version}</target> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 77 | <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 78 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
| 79 | </compilerArguments> --> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 80 | <processors> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 81 | <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 82 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 83 | </processors> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 84 | </configuration> |
| 85 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
| 88 | <artifactId>maven-surefire-plugin</artifactId> |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 89 | <version>2.20.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 90 | <configuration> |
| 91 | <reuseForks>false</reuseForks> |
| 92 | <forkCount>2</forkCount> |
| 93 | <threadCount>10</threadCount> |
margaretha | a86b141 | 2018-02-21 20:40:35 +0100 | [diff] [blame] | 94 | <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 95 | <excludes> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 96 | <!-- <exclude>de/ids_mannheim/korap/suites/*.java</exclude> --> |
| 97 | <!-- <exclude>de/ids_mannheim/korap/dao/*.java</exclude> --> |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 98 | <exclude>de/ids_mannheim/korap/authentication/*.java</exclude> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 99 | <!-- <exclude>**/ResourceServiceTest.java</exclude> --> |
| 100 | <!-- <exclude>**/ResourceInfoServiceTest.java</exclude> --> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 101 | <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> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 110 | <version>3.1.0</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 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> |
margaretha | ea68a0a | 2017-09-21 03:09:49 +0200 | [diff] [blame] | 120 | <finalName>Kustvakt-full-${project.version}</finalName> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 121 | <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> |
margaretha | 4566792 | 2018-01-25 21:23:03 +0100 | [diff] [blame] | 164 | <version>0.59.10</version> |
margaretha | 894a7d7 | 2017-11-08 19:24:20 +0100 | [diff] [blame] | 165 | <type>jar</type> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 166 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 167 | <!-- LDAP --> |
| 168 | <dependency> |
| 169 | <groupId>com.novell.ldap</groupId> |
| 170 | <artifactId>jldap</artifactId> |
| 171 | <version>4.3</version> |
| 172 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 173 | <dependency> |
| 174 | <groupId>com.unboundid</groupId> |
| 175 | <artifactId>unboundid-ldapsdk</artifactId> |
| 176 | <version>3.2.1</version> |
| 177 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 178 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 179 | <!-- Hibernate --> |
| 180 | <dependency> |
| 181 | <groupId>org.hibernate</groupId> |
| 182 | <artifactId>hibernate-entitymanager</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 183 | <version>${hibernate.version}</version> |
| 184 | <exclusions> |
| 185 | <exclusion> |
| 186 | <groupId>org.javassist</groupId> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 187 | <artifactId>javassist</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 188 | </exclusion> |
| 189 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 190 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 191 | <dependency> |
| 192 | <groupId>org.hibernate</groupId> |
| 193 | <artifactId>hibernate-jpamodelgen</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 194 | <version>${hibernate.version}</version> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 195 | <scope>provided</scope> |
| 196 | </dependency> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 197 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 198 | <groupId>org.hibernate</groupId> |
| 199 | <artifactId>hibernate-java8</artifactId> |
| 200 | <version>${hibernate.version}</version> |
margaretha | e6c711b | 2018-02-06 21:55:04 +0100 | [diff] [blame] | 201 | </dependency> |
| 202 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 203 | <groupId>org.javassist</groupId> |
| 204 | <artifactId>javassist</artifactId> |
| 205 | <version>3.22.0-GA</version> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 206 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 207 | |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 208 | <!-- MySql --> |
| 209 | <dependency> |
| 210 | <groupId>mysql</groupId> |
| 211 | <artifactId>mysql-connector-java</artifactId> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 212 | <version>6.0.6</version> |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 213 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 214 | |
| 215 | <!-- Jersey --> |
| 216 | <dependency> |
| 217 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 218 | <artifactId>jersey-test-framework-core</artifactId> |
| 219 | <version>${jersey.version}</version> |
| 220 | <scope>test</scope> |
| 221 | </dependency> |
| 222 | <dependency> |
| 223 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 224 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 225 | <version>${jersey.version}</version> |
| 226 | <scope>test</scope> |
| 227 | </dependency> |
margaretha | 7f0a4d4 | 2018-02-20 19:16:44 +0100 | [diff] [blame] | 228 | <dependency> |
| 229 | <groupId>com.sun.jersey</groupId> |
| 230 | <artifactId>jersey-json</artifactId> |
| 231 | <version>${jersey.version}</version> |
| 232 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 233 | |
| 234 | <!-- Spring --> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 235 | <dependency> |
| 236 | <groupId>org.springframework</groupId> |
| 237 | <artifactId>spring-jdbc</artifactId> |
| 238 | <version>${spring-framework.version}</version> |
| 239 | </dependency> |
| 240 | <dependency> |
| 241 | <groupId>org.springframework</groupId> |
| 242 | <artifactId>spring-tx</artifactId> |
| 243 | <version>${spring-framework.version}</version> |
| 244 | </dependency> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 245 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 246 | <groupId>org.springframework.security</groupId> |
| 247 | <artifactId>spring-security-core</artifactId> |
| 248 | <version>${spring-security.version}</version> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 249 | </dependency> |
| 250 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 251 | <groupId>org.springframework.security</groupId> |
| 252 | <artifactId>spring-security-web</artifactId> |
| 253 | <version>${spring-security.version}</version> |
| 254 | </dependency> |
| 255 | |
| 256 | <!-- jetty --> |
margaretha | 7f0a4d4 | 2018-02-20 19:16:44 +0100 | [diff] [blame] | 257 | <!-- <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 258 | <groupId>org.eclipse.jetty</groupId> |
| 259 | <artifactId>jetty-jndi</artifactId> |
| 260 | <version>${jetty.version}</version> |
| 261 | </dependency> |
| 262 | <dependency> |
| 263 | <groupId>org.eclipse.jetty</groupId> |
| 264 | <artifactId>jetty-plus</artifactId> |
| 265 | <version>${jetty.version}</version> |
margaretha | 7f0a4d4 | 2018-02-20 19:16:44 +0100 | [diff] [blame] | 266 | </dependency> --> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 267 | |
| 268 | <!-- velocity --> |
| 269 | <dependency> |
| 270 | <groupId>org.apache.velocity</groupId> |
| 271 | <artifactId>velocity-engine-core</artifactId> |
| 272 | <version>2.0</version> |
| 273 | </dependency> |
| 274 | <dependency> |
| 275 | <groupId>org.apache.velocity</groupId> |
| 276 | <artifactId>velocity-tools</artifactId> |
| 277 | <version>2.0</version> |
| 278 | </dependency> |
| 279 | <!-- mail --> |
| 280 | <dependency> |
| 281 | <groupId>com.sun.mail</groupId> |
| 282 | <artifactId>javax.mail</artifactId> |
| 283 | <version>1.6.0</version> |
| 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>javax.activation</groupId> |
| 287 | <artifactId>activation</artifactId> |
| 288 | <version>1.1.1</version> |
| 289 | </dependency> |
| 290 | |
| 291 | <dependency> |
| 292 | <groupId>javax.servlet</groupId> |
| 293 | <artifactId>javax.servlet-api</artifactId> |
| 294 | <version>4.0.0</version> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 295 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 296 | |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 297 | <!-- Flyway --> |
| 298 | <dependency> |
| 299 | <groupId>org.flywaydb</groupId> |
| 300 | <artifactId>flyway-core</artifactId> |
| 301 | <version>4.0</version> |
| 302 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 303 | </dependencies> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 304 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 305 | </project> |