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 | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 6 | <version>0.59.10</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> |
| 28 | </includes> |
| 29 | </resource> |
| 30 | </resources> |
| 31 | <testResources> |
| 32 | <testResource> |
| 33 | <directory>src/test/resources</directory> |
| 34 | <filtering>true</filtering> |
| 35 | <includes> |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 36 | <include>**/*.token</include> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 37 | <include>**/*.xml</include> |
| 38 | <include>**/*.conf</include> |
| 39 | <include>**/*.info</include> |
| 40 | <include>**/*.properties</include> |
| 41 | </includes> |
| 42 | </testResource> |
| 43 | <testResource> |
| 44 | <directory>src/main/resources</directory> |
| 45 | <filtering>true</filtering> |
| 46 | <includes> |
| 47 | <include>**/*.info</include> |
| 48 | <include>**/*.properties</include> |
| 49 | </includes> |
| 50 | </testResource> |
| 51 | </testResources> |
| 52 | <plugins> |
| 53 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 54 | <plugin> |
| 55 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 56 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 57 | <version>0.4</version> |
| 58 | <configuration> |
| 59 | <configFile>${project.basedir}/Format.xml</configFile> |
| 60 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 61 | <compilerSource>${java.version}</compilerSource> |
| 62 | <compilerCompliance>${java.version}</compilerCompliance> |
| 63 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
| 64 | </configuration> |
| 65 | <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| 66 | </executions> --> |
| 67 | </plugin> |
| 68 | <plugin> |
| 69 | <groupId>org.apache.maven.plugins</groupId> |
| 70 | <artifactId>maven-compiler-plugin</artifactId> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 71 | <version>3.7.0</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 72 | <configuration> |
| 73 | <compilerVersion>${java.version}</compilerVersion> |
| 74 | <source>${java.version}</source> |
| 75 | <target>${java.version}</target> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 76 | <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 77 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
| 78 | </compilerArguments> --> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 79 | <processors> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 80 | <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 81 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 82 | </processors> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 83 | </configuration> |
| 84 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 85 | <plugin> |
| 86 | <groupId>org.apache.maven.plugins</groupId> |
| 87 | <artifactId>maven-surefire-plugin</artifactId> |
| 88 | <version>2.19.1</version> |
| 89 | <configuration> |
| 90 | <reuseForks>false</reuseForks> |
| 91 | <forkCount>2</forkCount> |
| 92 | <threadCount>10</threadCount> |
| 93 | |
| 94 | <excludes> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 95 | <!-- <exclude>de/ids_mannheim/korap/suites/*.java</exclude> --> |
| 96 | <!-- <exclude>de/ids_mannheim/korap/dao/*.java</exclude> --> |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 97 | <exclude>de/ids_mannheim/korap/authentication/*.java</exclude> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 98 | <!-- <exclude>**/ResourceServiceTest.java</exclude> --> |
| 99 | <!-- <exclude>**/ResourceInfoServiceTest.java</exclude> --> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 100 | <exclude>**/PolicyServiceTest.java</exclude> |
| 101 | </excludes> |
| 102 | <includes> |
| 103 | <include>de/ids_mannheim/korap/**/*.java</include> |
| 104 | </includes> |
| 105 | </configuration> |
| 106 | </plugin> |
| 107 | <plugin> |
| 108 | <artifactId>maven-shade-plugin</artifactId> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 109 | <version>3.1.0</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 110 | <executions> |
| 111 | <!-- option 1 --> |
| 112 | <execution> |
| 113 | <id>full</id> |
| 114 | <phase>package</phase> |
| 115 | <goals> |
| 116 | <goal>shade</goal> |
| 117 | </goals> |
| 118 | <configuration> |
margaretha | ea68a0a | 2017-09-21 03:09:49 +0200 | [diff] [blame] | 119 | <finalName>Kustvakt-full-${project.version}</finalName> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 120 | <transformers> |
| 121 | <transformer |
| 122 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 123 | <mainClass> |
| 124 | de.ids_mannheim.korap.server.KustvaktServer |
| 125 | </mainClass> |
| 126 | </transformer> |
| 127 | <transformer |
| 128 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 129 | <resource>META-INF/spring.handlers |
| 130 | </resource> |
| 131 | </transformer> |
| 132 | <transformer |
| 133 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 134 | <resource>META-INF/spring.schemas |
| 135 | </resource> |
| 136 | </transformer> |
| 137 | </transformers> |
| 138 | <!-- Additional configuration. apparently there is a securityException --> |
| 139 | <filters> |
| 140 | <filter> |
| 141 | <artifact>*:*</artifact> |
| 142 | <excludes> |
| 143 | <exclude>META-INF/*.SF</exclude> |
| 144 | <exclude>META-INF/*.DSA |
| 145 | </exclude> |
| 146 | <exclude>META-INF/*.RSA |
| 147 | </exclude> |
| 148 | </excludes> |
| 149 | </filter> |
| 150 | </filters> |
| 151 | </configuration> |
| 152 | </execution> |
| 153 | </executions> |
| 154 | </plugin> |
| 155 | |
| 156 | </plugins> |
| 157 | </build> |
| 158 | |
| 159 | <dependencies> |
| 160 | <dependency> |
| 161 | <groupId>de.ids_mannheim.korap</groupId> |
| 162 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 4566792 | 2018-01-25 21:23:03 +0100 | [diff] [blame] | 163 | <version>0.59.10</version> |
margaretha | 894a7d7 | 2017-11-08 19:24:20 +0100 | [diff] [blame] | 164 | <type>jar</type> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 165 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 166 | <!-- LDAP --> |
| 167 | <dependency> |
| 168 | <groupId>com.novell.ldap</groupId> |
| 169 | <artifactId>jldap</artifactId> |
| 170 | <version>4.3</version> |
| 171 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 172 | <dependency> |
| 173 | <groupId>com.unboundid</groupId> |
| 174 | <artifactId>unboundid-ldapsdk</artifactId> |
| 175 | <version>3.2.1</version> |
| 176 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 177 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 178 | <!-- Hibernate --> |
| 179 | <dependency> |
| 180 | <groupId>org.hibernate</groupId> |
| 181 | <artifactId>hibernate-entitymanager</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 182 | <version>${hibernate.version}</version> |
| 183 | <exclusions> |
| 184 | <exclusion> |
| 185 | <groupId>org.javassist</groupId> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 186 | <artifactId>javassist</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 187 | </exclusion> |
| 188 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 189 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 190 | <dependency> |
| 191 | <groupId>org.hibernate</groupId> |
| 192 | <artifactId>hibernate-jpamodelgen</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 193 | <version>${hibernate.version}</version> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 194 | <scope>provided</scope> |
| 195 | </dependency> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 196 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 197 | <groupId>org.hibernate</groupId> |
| 198 | <artifactId>hibernate-java8</artifactId> |
| 199 | <version>${hibernate.version}</version> |
margaretha | e6c711b | 2018-02-06 21:55:04 +0100 | [diff] [blame] | 200 | </dependency> |
| 201 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 202 | <groupId>org.javassist</groupId> |
| 203 | <artifactId>javassist</artifactId> |
| 204 | <version>3.22.0-GA</version> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 205 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 206 | |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 207 | <!-- MySql --> |
| 208 | <dependency> |
| 209 | <groupId>mysql</groupId> |
| 210 | <artifactId>mysql-connector-java</artifactId> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 211 | <version>6.0.6</version> |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 212 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 213 | |
| 214 | <!-- Jersey --> |
| 215 | <dependency> |
| 216 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 217 | <artifactId>jersey-test-framework-core</artifactId> |
| 218 | <version>${jersey.version}</version> |
| 219 | <scope>test</scope> |
| 220 | </dependency> |
| 221 | <dependency> |
| 222 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 223 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 224 | <version>${jersey.version}</version> |
| 225 | <scope>test</scope> |
| 226 | </dependency> |
| 227 | |
| 228 | <!-- Spring --> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 229 | <dependency> |
| 230 | <groupId>org.springframework</groupId> |
| 231 | <artifactId>spring-jdbc</artifactId> |
| 232 | <version>${spring-framework.version}</version> |
| 233 | </dependency> |
| 234 | <dependency> |
| 235 | <groupId>org.springframework</groupId> |
| 236 | <artifactId>spring-tx</artifactId> |
| 237 | <version>${spring-framework.version}</version> |
| 238 | </dependency> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 239 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 240 | <groupId>org.springframework.security</groupId> |
| 241 | <artifactId>spring-security-core</artifactId> |
| 242 | <version>${spring-security.version}</version> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 243 | </dependency> |
| 244 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 245 | <groupId>org.springframework.security</groupId> |
| 246 | <artifactId>spring-security-web</artifactId> |
| 247 | <version>${spring-security.version}</version> |
| 248 | </dependency> |
| 249 | |
| 250 | <!-- jetty --> |
| 251 | <dependency> |
| 252 | <groupId>org.eclipse.jetty</groupId> |
| 253 | <artifactId>jetty-jndi</artifactId> |
| 254 | <version>${jetty.version}</version> |
| 255 | </dependency> |
| 256 | <dependency> |
| 257 | <groupId>org.eclipse.jetty</groupId> |
| 258 | <artifactId>jetty-plus</artifactId> |
| 259 | <version>${jetty.version}</version> |
| 260 | </dependency> |
| 261 | |
| 262 | <!-- velocity --> |
| 263 | <dependency> |
| 264 | <groupId>org.apache.velocity</groupId> |
| 265 | <artifactId>velocity-engine-core</artifactId> |
| 266 | <version>2.0</version> |
| 267 | </dependency> |
| 268 | <dependency> |
| 269 | <groupId>org.apache.velocity</groupId> |
| 270 | <artifactId>velocity-tools</artifactId> |
| 271 | <version>2.0</version> |
| 272 | </dependency> |
| 273 | <!-- mail --> |
| 274 | <dependency> |
| 275 | <groupId>com.sun.mail</groupId> |
| 276 | <artifactId>javax.mail</artifactId> |
| 277 | <version>1.6.0</version> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>javax.activation</groupId> |
| 281 | <artifactId>activation</artifactId> |
| 282 | <version>1.1.1</version> |
| 283 | </dependency> |
| 284 | |
| 285 | <dependency> |
| 286 | <groupId>javax.servlet</groupId> |
| 287 | <artifactId>javax.servlet-api</artifactId> |
| 288 | <version>4.0.0</version> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 289 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 290 | |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 291 | <!-- Flyway --> |
| 292 | <dependency> |
| 293 | <groupId>org.flywaydb</groupId> |
| 294 | <artifactId>flyway-core</artifactId> |
| 295 | <version>4.0</version> |
| 296 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 297 | </dependencies> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 298 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 299 | </project> |