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 | 07402f4 | 2018-05-07 19:07:45 +0200 | [diff] [blame] | 6 | <version>0.60.3</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> |
margaretha | efc18a4 | 2018-03-01 16:01:42 +0100 | [diff] [blame] | 93 | <threadCount>4</threadCount> |
| 94 | <argLine>-Xmx512m -XX:MaxPermSize=256m</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 95 | <excludes> |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 96 | <exclude>de/ids_mannheim/korap/authentication/*.java</exclude> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 97 | </excludes> |
| 98 | <includes> |
| 99 | <include>de/ids_mannheim/korap/**/*.java</include> |
| 100 | </includes> |
| 101 | </configuration> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <artifactId>maven-shade-plugin</artifactId> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 105 | <version>3.1.0</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 106 | <executions> |
| 107 | <!-- option 1 --> |
| 108 | <execution> |
| 109 | <id>full</id> |
| 110 | <phase>package</phase> |
| 111 | <goals> |
| 112 | <goal>shade</goal> |
| 113 | </goals> |
| 114 | <configuration> |
margaretha | ea68a0a | 2017-09-21 03:09:49 +0200 | [diff] [blame] | 115 | <finalName>Kustvakt-full-${project.version}</finalName> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 116 | <transformers> |
| 117 | <transformer |
| 118 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 119 | <mainClass> |
| 120 | de.ids_mannheim.korap.server.KustvaktServer |
| 121 | </mainClass> |
| 122 | </transformer> |
| 123 | <transformer |
| 124 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 125 | <resource>META-INF/spring.handlers |
| 126 | </resource> |
| 127 | </transformer> |
| 128 | <transformer |
| 129 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 130 | <resource>META-INF/spring.schemas |
| 131 | </resource> |
| 132 | </transformer> |
| 133 | </transformers> |
| 134 | <!-- Additional configuration. apparently there is a securityException --> |
| 135 | <filters> |
| 136 | <filter> |
| 137 | <artifact>*:*</artifact> |
| 138 | <excludes> |
| 139 | <exclude>META-INF/*.SF</exclude> |
| 140 | <exclude>META-INF/*.DSA |
| 141 | </exclude> |
| 142 | <exclude>META-INF/*.RSA |
| 143 | </exclude> |
| 144 | </excludes> |
| 145 | </filter> |
| 146 | </filters> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | |
| 152 | </plugins> |
| 153 | </build> |
| 154 | |
| 155 | <dependencies> |
| 156 | <dependency> |
| 157 | <groupId>de.ids_mannheim.korap</groupId> |
| 158 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 417571c | 2018-05-09 22:55:06 +0200 | [diff] [blame] | 159 | <version>0.60.3</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 160 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 161 | <!-- LDAP --> |
| 162 | <dependency> |
| 163 | <groupId>com.novell.ldap</groupId> |
| 164 | <artifactId>jldap</artifactId> |
| 165 | <version>4.3</version> |
| 166 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 167 | <dependency> |
| 168 | <groupId>com.unboundid</groupId> |
| 169 | <artifactId>unboundid-ldapsdk</artifactId> |
| 170 | <version>3.2.1</version> |
| 171 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 172 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 173 | <!-- Hibernate --> |
| 174 | <dependency> |
| 175 | <groupId>org.hibernate</groupId> |
| 176 | <artifactId>hibernate-entitymanager</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 177 | <version>${hibernate.version}</version> |
| 178 | <exclusions> |
| 179 | <exclusion> |
| 180 | <groupId>org.javassist</groupId> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 181 | <artifactId>javassist</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 182 | </exclusion> |
| 183 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 184 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 185 | <dependency> |
| 186 | <groupId>org.hibernate</groupId> |
| 187 | <artifactId>hibernate-jpamodelgen</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 188 | <version>${hibernate.version}</version> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 189 | <scope>provided</scope> |
| 190 | </dependency> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 191 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 192 | <groupId>org.hibernate</groupId> |
| 193 | <artifactId>hibernate-java8</artifactId> |
| 194 | <version>${hibernate.version}</version> |
margaretha | e6c711b | 2018-02-06 21:55:04 +0100 | [diff] [blame] | 195 | </dependency> |
| 196 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 197 | <groupId>org.javassist</groupId> |
| 198 | <artifactId>javassist</artifactId> |
| 199 | <version>3.22.0-GA</version> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 200 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 201 | |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 202 | <!-- MySql --> |
| 203 | <dependency> |
| 204 | <groupId>mysql</groupId> |
| 205 | <artifactId>mysql-connector-java</artifactId> |
margaretha | 2c019fa | 2018-02-01 19:50:51 +0100 | [diff] [blame] | 206 | <version>6.0.6</version> |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 207 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 208 | |
| 209 | <!-- Jersey --> |
| 210 | <dependency> |
| 211 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 212 | <artifactId>jersey-test-framework-core</artifactId> |
| 213 | <version>${jersey.version}</version> |
| 214 | <scope>test</scope> |
| 215 | </dependency> |
| 216 | <dependency> |
| 217 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 218 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 219 | <version>${jersey.version}</version> |
| 220 | <scope>test</scope> |
| 221 | </dependency> |
margaretha | 7f0a4d4 | 2018-02-20 19:16:44 +0100 | [diff] [blame] | 222 | <dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 223 | <groupId>com.sun.jersey</groupId> |
| 224 | <artifactId>jersey-json</artifactId> |
| 225 | <version>${jersey.version}</version> |
margaretha | 7f0a4d4 | 2018-02-20 19:16:44 +0100 | [diff] [blame] | 226 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 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 | |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 250 | <!-- velocity --> |
| 251 | <dependency> |
| 252 | <groupId>org.apache.velocity</groupId> |
| 253 | <artifactId>velocity-engine-core</artifactId> |
| 254 | <version>2.0</version> |
| 255 | </dependency> |
| 256 | <dependency> |
| 257 | <groupId>org.apache.velocity</groupId> |
| 258 | <artifactId>velocity-tools</artifactId> |
| 259 | <version>2.0</version> |
| 260 | </dependency> |
| 261 | <!-- mail --> |
| 262 | <dependency> |
| 263 | <groupId>com.sun.mail</groupId> |
| 264 | <artifactId>javax.mail</artifactId> |
| 265 | <version>1.6.0</version> |
| 266 | </dependency> |
| 267 | <dependency> |
| 268 | <groupId>javax.activation</groupId> |
| 269 | <artifactId>activation</artifactId> |
| 270 | <version>1.1.1</version> |
| 271 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 272 | |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 273 | <dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 274 | <groupId>javax.servlet</groupId> |
| 275 | <artifactId>javax.servlet-api</artifactId> |
| 276 | <version>4.0.0</version> |
margaretha | 2afb97d | 2017-12-07 19:18:44 +0100 | [diff] [blame] | 277 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 278 | |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 279 | <!-- Flyway --> |
| 280 | <dependency> |
| 281 | <groupId>org.flywaydb</groupId> |
| 282 | <artifactId>flyway-core</artifactId> |
| 283 | <version>4.0</version> |
| 284 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 285 | |
margaretha | fb027f9 | 2018-04-23 20:00:13 +0200 | [diff] [blame] | 286 | <!-- OAuth --> |
| 287 | <dependency> |
| 288 | <groupId>org.apache.oltu.oauth2</groupId> |
| 289 | <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> |
| 290 | <version>1.0.0</version> |
| 291 | </dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 292 | |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 293 | <!-- JWT --> |
| 294 | <dependency> |
| 295 | <groupId>com.nimbusds</groupId> |
| 296 | <artifactId>nimbus-jose-jwt</artifactId> |
| 297 | <version>5.10</version> |
| 298 | </dependency> |
| 299 | </dependencies> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 300 | </project> |