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 | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 6 | <version>0.63.1</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 | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 10 | <jersey.version>1.19.4</jersey.version> |
dependabot[bot] | 8aeada1 | 2021-03-19 05:14:39 +0000 | [diff] [blame] | 11 | <hibernate.version>5.4.29.Final</hibernate.version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 12 | </properties> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 13 | <profiles> |
| 14 | <profile> |
| 15 | <id>full</id> |
| 16 | <activation> |
| 17 | <activeByDefault>true</activeByDefault> |
| 18 | </activation> |
| 19 | <build> |
| 20 | <plugins> |
| 21 | <plugin> |
| 22 | <artifactId>maven-shade-plugin</artifactId> |
dependabot[bot] | 7647e0c | 2020-07-06 05:43:27 +0000 | [diff] [blame] | 23 | <version>3.2.4</version> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 24 | <executions> |
| 25 | <!-- option 1 --> |
| 26 | <execution> |
| 27 | <id>full</id> |
| 28 | <phase>package</phase> |
| 29 | <goals> |
| 30 | <goal>shade</goal> |
| 31 | </goals> |
| 32 | <configuration> |
| 33 | <finalName>Kustvakt-full-${project.version}</finalName> |
| 34 | <transformers> |
| 35 | <transformer |
| 36 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 37 | <mainClass> |
| 38 | de.ids_mannheim.korap.server.KustvaktServer |
| 39 | </mainClass> |
| 40 | </transformer> |
| 41 | <transformer |
| 42 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 43 | <resource>META-INF/spring.handlers |
| 44 | </resource> |
| 45 | </transformer> |
| 46 | <transformer |
| 47 | implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| 48 | <resource>META-INF/spring.schemas |
| 49 | </resource> |
| 50 | </transformer> |
| 51 | </transformers> |
| 52 | <!-- Additional configuration. apparently there is a securityException --> |
| 53 | <filters> |
| 54 | <filter> |
| 55 | <artifact>*:*</artifact> |
| 56 | <excludes> |
| 57 | <exclude>META-INF/*.SF</exclude> |
| 58 | <exclude>META-INF/*.DSA |
| 59 | </exclude> |
| 60 | <exclude>META-INF/*.RSA |
| 61 | </exclude> |
| 62 | </excludes> |
| 63 | </filter> |
| 64 | </filters> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | </executions> |
| 68 | </plugin> |
| 69 | </plugins> |
| 70 | </build> |
| 71 | </profile> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 72 | </profiles> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 73 | <build> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 74 | <!-- <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> |
| 75 | <includes> <include>**/*.info</include> <include>**/*.xml</include> <include>**/*.conf</include> |
| 76 | <include>**/*.kustvakt</include> <include>**/*.properties</include> <include>**/*.sql</include> |
| 77 | <include>**/*.vm</include> </includes> </resource> </resources> --> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 78 | <testResources> |
| 79 | <testResource> |
| 80 | <directory>src/test/resources</directory> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 81 | </testResource> |
| 82 | <testResource> |
| 83 | <directory>src/main/resources</directory> |
| 84 | <filtering>true</filtering> |
| 85 | <includes> |
| 86 | <include>**/*.info</include> |
| 87 | <include>**/*.properties</include> |
margaretha | 3da7cd3 | 2018-10-22 17:42:52 +0200 | [diff] [blame] | 88 | <include>**/*.json</include> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 89 | </includes> |
| 90 | </testResource> |
| 91 | </testResources> |
| 92 | <plugins> |
| 93 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 94 | <plugin> |
| 95 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 96 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 97 | <version>0.4</version> |
| 98 | <configuration> |
| 99 | <configFile>${project.basedir}/Format.xml</configFile> |
| 100 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 101 | <compilerSource>${java.version}</compilerSource> |
| 102 | <compilerCompliance>${java.version}</compilerCompliance> |
| 103 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
| 104 | </configuration> |
| 105 | <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| 106 | </executions> --> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 43d73a0 | 2020-07-02 15:01:54 +0000 | [diff] [blame] | 111 | <version>3.8.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 112 | <configuration> |
| 113 | <compilerVersion>${java.version}</compilerVersion> |
| 114 | <source>${java.version}</source> |
| 115 | <target>${java.version}</target> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 116 | <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 117 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
| 118 | </compilerArguments> --> |
Marc Kupietz | 483db75 | 2020-03-25 08:25:35 +0100 | [diff] [blame] | 119 | <annotationProcessors> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 120 | <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 121 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
Marc Kupietz | 483db75 | 2020-03-25 08:25:35 +0100 | [diff] [blame] | 122 | </annotationProcessors> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 123 | </configuration> |
| 124 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 125 | <plugin> |
| 126 | <groupId>org.apache.maven.plugins</groupId> |
| 127 | <artifactId>maven-surefire-plugin</artifactId> |
dependabot[bot] | a988d18 | 2020-07-02 15:01:52 +0000 | [diff] [blame] | 128 | <version>2.22.2</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 129 | <configuration> |
margaretha | 2df0660 | 2018-11-14 19:10:30 +0100 | [diff] [blame] | 130 | <useSystemClassLoader>false</useSystemClassLoader> |
margaretha | 0a45be1 | 2018-07-12 15:06:30 +0200 | [diff] [blame] | 131 | <reuseForks>true</reuseForks> |
| 132 | <forkCount>1</forkCount> |
| 133 | <threadCount>10</threadCount> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 134 | <argLine>-Xmx512m -XX:MaxPermSize=256m |
margaretha | 49cb688 | 2018-07-04 04:19:54 +0200 | [diff] [blame] | 135 | -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 136 | <excludes> |
margaretha | dfecb4b | 2017-12-12 19:32:30 +0100 | [diff] [blame] | 137 | <exclude>de/ids_mannheim/korap/authentication/*.java</exclude> |
margaretha | 49cb688 | 2018-07-04 04:19:54 +0200 | [diff] [blame] | 138 | <exclude>de/ids_mannheim/korap/web/controller/TokenExpiryTest.java</exclude> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 139 | </excludes> |
| 140 | <includes> |
| 141 | <include>de/ids_mannheim/korap/**/*.java</include> |
| 142 | </includes> |
| 143 | </configuration> |
| 144 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 145 | </plugins> |
| 146 | </build> |
| 147 | |
| 148 | <dependencies> |
| 149 | <dependency> |
| 150 | <groupId>de.ids_mannheim.korap</groupId> |
| 151 | <artifactId>Kustvakt-core</artifactId> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 152 | <version>[0.63.1,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>de.ids_mannheim.korap</groupId> |
| 156 | <artifactId>Kustvakt-core</artifactId> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 157 | <version>[0.63.1,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 158 | <classifier>tests</classifier> |
| 159 | <type>test-jar</type> |
| 160 | <scope>test</scope> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 161 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 162 | <!-- LDAP --> |
| 163 | <dependency> |
| 164 | <groupId>com.novell.ldap</groupId> |
| 165 | <artifactId>jldap</artifactId> |
| 166 | <version>4.3</version> |
| 167 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 168 | <dependency> |
| 169 | <groupId>com.unboundid</groupId> |
| 170 | <artifactId>unboundid-ldapsdk</artifactId> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 171 | <version>5.1.3</version> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 172 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 173 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 174 | <!-- Hibernate --> |
| 175 | <dependency> |
| 176 | <groupId>org.hibernate</groupId> |
| 177 | <artifactId>hibernate-entitymanager</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 178 | <version>${hibernate.version}</version> |
| 179 | <exclusions> |
| 180 | <exclusion> |
| 181 | <groupId>org.javassist</groupId> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 182 | <artifactId>javassist</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 183 | </exclusion> |
| 184 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 185 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 186 | <dependency> |
| 187 | <groupId>org.hibernate</groupId> |
| 188 | <artifactId>hibernate-jpamodelgen</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 189 | <version>${hibernate.version}</version> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 190 | <scope>provided</scope> |
| 191 | </dependency> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 192 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 193 | <groupId>org.hibernate</groupId> |
| 194 | <artifactId>hibernate-java8</artifactId> |
| 195 | <version>${hibernate.version}</version> |
margaretha | e6c711b | 2018-02-06 21:55:04 +0100 | [diff] [blame] | 196 | </dependency> |
| 197 | <dependency> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 198 | <groupId>org.hibernate</groupId> |
| 199 | <artifactId>hibernate-c3p0</artifactId> |
| 200 | <version>${hibernate.version}</version> |
margaretha | c7196d2 | 2018-08-27 14:20:03 +0200 | [diff] [blame] | 201 | </dependency> |
margaretha | 3495447 | 2018-10-24 20:05:17 +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> |
dependabot[bot] | 472e0b2 | 2021-02-22 05:44:32 +0000 | [diff] [blame] | 207 | <version>8.0.23</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 | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 223 | |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 224 | <!-- velocity --> |
| 225 | <dependency> |
| 226 | <groupId>org.apache.velocity</groupId> |
| 227 | <artifactId>velocity-engine-core</artifactId> |
dependabot[bot] | 2d36f79 | 2021-03-08 05:46:34 +0000 | [diff] [blame] | 228 | <version>2.3</version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 229 | </dependency> |
| 230 | <dependency> |
margaretha | 327d3ad | 2021-03-15 16:19:35 +0100 | [diff] [blame] | 231 | <groupId>org.apache.velocity.tools</groupId> |
| 232 | <artifactId>velocity-tools-generic</artifactId> |
| 233 | <version>3.1</version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 234 | </dependency> |
| 235 | <!-- mail --> |
| 236 | <dependency> |
| 237 | <groupId>com.sun.mail</groupId> |
| 238 | <artifactId>javax.mail</artifactId> |
dependabot[bot] | 7baae30 | 2020-07-06 05:43:30 +0000 | [diff] [blame] | 239 | <version>1.6.2</version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 240 | </dependency> |
| 241 | <dependency> |
| 242 | <groupId>javax.activation</groupId> |
| 243 | <artifactId>activation</artifactId> |
| 244 | <version>1.1.1</version> |
| 245 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 246 | |
margaretha | fb027f9 | 2018-04-23 20:00:13 +0200 | [diff] [blame] | 247 | <!-- OAuth --> |
| 248 | <dependency> |
| 249 | <groupId>org.apache.oltu.oauth2</groupId> |
| 250 | <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> |
margaretha | e4034a8 | 2018-07-02 14:46:59 +0200 | [diff] [blame] | 251 | <version>1.0.2</version> |
margaretha | fb027f9 | 2018-04-23 20:00:13 +0200 | [diff] [blame] | 252 | </dependency> |
margaretha | e4034a8 | 2018-07-02 14:46:59 +0200 | [diff] [blame] | 253 | <dependency> |
| 254 | <groupId>org.apache.oltu.oauth2</groupId> |
| 255 | <artifactId>org.apache.oltu.oauth2.client</artifactId> |
| 256 | <version>1.0.2</version> |
| 257 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 258 | <!-- JWT --> |
| 259 | <dependency> |
| 260 | <groupId>com.nimbusds</groupId> |
| 261 | <artifactId>nimbus-jose-jwt</artifactId> |
dependabot[bot] | b52c973 | 2021-02-23 05:24:23 +0000 | [diff] [blame] | 262 | <version>9.7</version> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 263 | </dependency> |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 264 | |
margaretha | ec247dd | 2018-06-12 21:55:46 +0200 | [diff] [blame] | 265 | <!-- OpenId --> |
| 266 | <dependency> |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 267 | <groupId>com.nimbusds</groupId> |
| 268 | <artifactId>oauth2-oidc-sdk</artifactId> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 269 | <version>8.28.4</version> |
margaretha | ec247dd | 2018-06-12 21:55:46 +0200 | [diff] [blame] | 270 | </dependency> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 271 | |
| 272 | <!-- Project Lombok --> |
| 273 | <dependency> |
| 274 | <groupId>org.projectlombok</groupId> |
| 275 | <artifactId>lombok</artifactId> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 276 | <version>1.18.18</version> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 277 | <scope>provided</scope> |
| 278 | </dependency> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 279 | |
| 280 | <!-- Mockserver --> |
| 281 | <dependency> |
| 282 | <groupId>org.mock-server</groupId> |
| 283 | <artifactId>mockserver-netty</artifactId> |
| 284 | <version>5.11.2</version> |
| 285 | <scope>test</scope> |
| 286 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 287 | </dependencies> |
Akron | 6365605 | 2018-11-07 12:20:13 +0100 | [diff] [blame] | 288 | </project> |