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