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