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 | 2a49805 | 2022-05-25 11:14:24 +0200 | [diff] [blame] | 6 | <version>0.68</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] | cdd4efc | 2022-07-07 17:04:14 +0000 | [diff] [blame] | 11 | <hibernate.version>5.6.10.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] | 9c33941 | 2022-03-29 17:01:34 +0000 | [diff] [blame] | 23 | <version>3.3.0</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> |
Marc Kupietz | 392f478 | 2022-05-02 13:23:18 +0200 | [diff] [blame] | 87 | <include>**/*.conf</include> |
margaretha | 3da7cd3 | 2018-10-22 17:42:52 +0200 | [diff] [blame] | 88 | <include>**/*.json</include> |
Marc Kupietz | 0a37867 | 2022-04-30 09:35:27 +0200 | [diff] [blame] | 89 | <include>**/*.p12</include> |
| 90 | <include>**/*.jks</include> |
| 91 | <include>**/*.ldif</include> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 92 | </includes> |
| 93 | </testResource> |
| 94 | </testResources> |
| 95 | <plugins> |
| 96 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 97 | <plugin> |
| 98 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 99 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 100 | <version>0.4</version> |
| 101 | <configuration> |
| 102 | <configFile>${project.basedir}/Format.xml</configFile> |
| 103 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 104 | <compilerSource>${java.version}</compilerSource> |
| 105 | <compilerCompliance>${java.version}</compilerCompliance> |
| 106 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
| 107 | </configuration> |
| 108 | <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| 109 | </executions> --> |
| 110 | </plugin> |
| 111 | <plugin> |
| 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 3457f65 | 2022-03-11 17:02:03 +0000 | [diff] [blame] | 114 | <version>3.10.1</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 115 | <configuration> |
| 116 | <compilerVersion>${java.version}</compilerVersion> |
| 117 | <source>${java.version}</source> |
| 118 | <target>${java.version}</target> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 119 | <!-- <compilerArguments> <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 120 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
| 121 | </compilerArguments> --> |
Marc Kupietz | 483db75 | 2020-03-25 08:25:35 +0100 | [diff] [blame] | 122 | <annotationProcessors> |
margaretha | fc7d777 | 2018-01-16 17:48:17 +0100 | [diff] [blame] | 123 | <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| 124 | <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
Marc Kupietz | 483db75 | 2020-03-25 08:25:35 +0100 | [diff] [blame] | 125 | </annotationProcessors> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 126 | </configuration> |
| 127 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 128 | <plugin> |
| 129 | <groupId>org.apache.maven.plugins</groupId> |
| 130 | <artifactId>maven-surefire-plugin</artifactId> |
dependabot[bot] | a988d18 | 2020-07-02 15:01:52 +0000 | [diff] [blame] | 131 | <version>2.22.2</version> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 132 | <configuration> |
margaretha | 0a45be1 | 2018-07-12 15:06:30 +0200 | [diff] [blame] | 133 | <reuseForks>true</reuseForks> |
| 134 | <forkCount>1</forkCount> |
| 135 | <threadCount>10</threadCount> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 136 | <argLine>-Xmx512m -XX:MaxPermSize=256m |
margaretha | 49cb688 | 2018-07-04 04:19:54 +0200 | [diff] [blame] | 137 | -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 138 | <excludes> |
Marc Kupietz | 0a37867 | 2022-04-30 09:35:27 +0200 | [diff] [blame] | 139 | <exclude>de/ids_mannheim/korap/authentication/APIAuthenticationTest.java</exclude> |
| 140 | <exclude>de/ids_mannheim/korap/authentication/AuthenticationFilterTest.java</exclude> |
| 141 | <exclude>de/ids_mannheim/korap/authentication/Kustvakt*.java</exclude> |
| 142 | <exclude>de/ids_mannheim/korap/authentication/LdapTest.java</exclude> |
| 143 | <exclude>de/ids_mannheim/korap/authentication/Random*.java</exclude> |
margaretha | 49cb688 | 2018-07-04 04:19:54 +0200 | [diff] [blame] | 144 | <exclude>de/ids_mannheim/korap/web/controller/TokenExpiryTest.java</exclude> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 145 | </excludes> |
| 146 | <includes> |
| 147 | <include>de/ids_mannheim/korap/**/*.java</include> |
Marc Kupietz | 0a37867 | 2022-04-30 09:35:27 +0200 | [diff] [blame] | 148 | <include>de/ids_mannheim/korap/authentication/LdapAuth3Test.java</include> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 149 | </includes> |
| 150 | </configuration> |
| 151 | </plugin> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 152 | </plugins> |
| 153 | </build> |
| 154 | |
| 155 | <dependencies> |
| 156 | <dependency> |
| 157 | <groupId>de.ids_mannheim.korap</groupId> |
| 158 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 2a49805 | 2022-05-25 11:14:24 +0200 | [diff] [blame] | 159 | <version>[0.68,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>de.ids_mannheim.korap</groupId> |
| 163 | <artifactId>Kustvakt-core</artifactId> |
margaretha | 2a49805 | 2022-05-25 11:14:24 +0200 | [diff] [blame] | 164 | <version>[0.68,)</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 165 | <classifier>tests</classifier> |
| 166 | <type>test-jar</type> |
| 167 | <scope>test</scope> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 168 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 169 | <!-- LDAP --> |
| 170 | <dependency> |
| 171 | <groupId>com.novell.ldap</groupId> |
| 172 | <artifactId>jldap</artifactId> |
| 173 | <version>4.3</version> |
| 174 | </dependency> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 175 | <dependency> |
| 176 | <groupId>com.unboundid</groupId> |
| 177 | <artifactId>unboundid-ldapsdk</artifactId> |
dependabot[bot] | 295aee2 | 2022-05-06 17:01:50 +0000 | [diff] [blame] | 178 | <version>6.0.5</version> |
margaretha | 5413490 | 2017-09-27 18:43:11 +0200 | [diff] [blame] | 179 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 180 | |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 181 | <!-- Hibernate --> |
| 182 | <dependency> |
| 183 | <groupId>org.hibernate</groupId> |
| 184 | <artifactId>hibernate-entitymanager</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 185 | <version>${hibernate.version}</version> |
| 186 | <exclusions> |
| 187 | <exclusion> |
| 188 | <groupId>org.javassist</groupId> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 189 | <artifactId>javassist</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 190 | </exclusion> |
| 191 | </exclusions> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 192 | </dependency> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 193 | <dependency> |
| 194 | <groupId>org.hibernate</groupId> |
| 195 | <artifactId>hibernate-jpamodelgen</artifactId> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 196 | <version>${hibernate.version}</version> |
margaretha | d3c0fc9 | 2017-10-25 15:03:32 +0200 | [diff] [blame] | 197 | <scope>provided</scope> |
| 198 | </dependency> |
margaretha | 9025d64 | 2018-01-19 17:35:22 +0100 | [diff] [blame] | 199 | <dependency> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 200 | <groupId>org.hibernate</groupId> |
| 201 | <artifactId>hibernate-java8</artifactId> |
| 202 | <version>${hibernate.version}</version> |
margaretha | e6c711b | 2018-02-06 21:55:04 +0100 | [diff] [blame] | 203 | </dependency> |
| 204 | <dependency> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 205 | <groupId>org.hibernate</groupId> |
| 206 | <artifactId>hibernate-c3p0</artifactId> |
| 207 | <version>${hibernate.version}</version> |
margaretha | c7196d2 | 2018-08-27 14:20:03 +0200 | [diff] [blame] | 208 | </dependency> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 209 | |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 210 | <!-- MySql --> |
| 211 | <dependency> |
| 212 | <groupId>mysql</groupId> |
| 213 | <artifactId>mysql-connector-java</artifactId> |
dependabot[bot] | db38f53 | 2022-04-25 17:02:12 +0000 | [diff] [blame] | 214 | <version>8.0.29</version> |
margaretha | 318fec3 | 2017-10-24 12:11:58 +0200 | [diff] [blame] | 215 | </dependency> |
margaretha | f68daa6 | 2017-09-21 02:11:24 +0200 | [diff] [blame] | 216 | |
| 217 | <!-- Jersey --> |
| 218 | <dependency> |
| 219 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 220 | <artifactId>jersey-test-framework-core</artifactId> |
| 221 | <version>${jersey.version}</version> |
| 222 | <scope>test</scope> |
| 223 | </dependency> |
| 224 | <dependency> |
| 225 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 226 | <artifactId>jersey-test-framework-grizzly</artifactId> |
| 227 | <version>${jersey.version}</version> |
| 228 | <scope>test</scope> |
| 229 | </dependency> |
margaretha | 3495447 | 2018-10-24 20:05:17 +0200 | [diff] [blame] | 230 | |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 231 | <!-- velocity --> |
| 232 | <dependency> |
| 233 | <groupId>org.apache.velocity</groupId> |
| 234 | <artifactId>velocity-engine-core</artifactId> |
dependabot[bot] | 2d36f79 | 2021-03-08 05:46:34 +0000 | [diff] [blame] | 235 | <version>2.3</version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 236 | </dependency> |
| 237 | <dependency> |
margaretha | 327d3ad | 2021-03-15 16:19:35 +0100 | [diff] [blame] | 238 | <groupId>org.apache.velocity.tools</groupId> |
| 239 | <artifactId>velocity-tools-generic</artifactId> |
| 240 | <version>3.1</version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 241 | </dependency> |
| 242 | <!-- mail --> |
| 243 | <dependency> |
| 244 | <groupId>com.sun.mail</groupId> |
| 245 | <artifactId>javax.mail</artifactId> |
dependabot[bot] | 7baae30 | 2020-07-06 05:43:30 +0000 | [diff] [blame] | 246 | <version>1.6.2</version> |
margaretha | 58e1863 | 2018-02-15 13:04:42 +0100 | [diff] [blame] | 247 | </dependency> |
| 248 | <dependency> |
| 249 | <groupId>javax.activation</groupId> |
| 250 | <artifactId>activation</artifactId> |
| 251 | <version>1.1.1</version> |
| 252 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 253 | |
margaretha | fb027f9 | 2018-04-23 20:00:13 +0200 | [diff] [blame] | 254 | <!-- OAuth --> |
| 255 | <dependency> |
| 256 | <groupId>org.apache.oltu.oauth2</groupId> |
| 257 | <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> |
margaretha | e4034a8 | 2018-07-02 14:46:59 +0200 | [diff] [blame] | 258 | <version>1.0.2</version> |
margaretha | fb027f9 | 2018-04-23 20:00:13 +0200 | [diff] [blame] | 259 | </dependency> |
margaretha | e4034a8 | 2018-07-02 14:46:59 +0200 | [diff] [blame] | 260 | <dependency> |
| 261 | <groupId>org.apache.oltu.oauth2</groupId> |
| 262 | <artifactId>org.apache.oltu.oauth2.client</artifactId> |
| 263 | <version>1.0.2</version> |
| 264 | </dependency> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 265 | <!-- JWT --> |
| 266 | <dependency> |
| 267 | <groupId>com.nimbusds</groupId> |
| 268 | <artifactId>nimbus-jose-jwt</artifactId> |
dependabot[bot] | c73b7e2 | 2022-04-22 17:01:40 +0000 | [diff] [blame] | 269 | <version>9.22</version> |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 270 | </dependency> |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 271 | |
margaretha | ec247dd | 2018-06-12 21:55:46 +0200 | [diff] [blame] | 272 | <!-- OpenId --> |
| 273 | <dependency> |
margaretha | 9c78e1a | 2018-06-27 14:12:35 +0200 | [diff] [blame] | 274 | <groupId>com.nimbusds</groupId> |
| 275 | <artifactId>oauth2-oidc-sdk</artifactId> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 276 | <version>8.28.4</version> |
margaretha | ec247dd | 2018-06-12 21:55:46 +0200 | [diff] [blame] | 277 | </dependency> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 278 | |
| 279 | <!-- Project Lombok --> |
| 280 | <dependency> |
| 281 | <groupId>org.projectlombok</groupId> |
| 282 | <artifactId>lombok</artifactId> |
dependabot[bot] | 62ba678 | 2022-04-18 17:02:23 +0000 | [diff] [blame] | 283 | <version>1.18.24</version> |
Marc Kupietz | ceea30c | 2020-05-15 16:00:03 +0200 | [diff] [blame] | 284 | <scope>provided</scope> |
| 285 | </dependency> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 286 | |
| 287 | <!-- Mockserver --> |
| 288 | <dependency> |
| 289 | <groupId>org.mock-server</groupId> |
| 290 | <artifactId>mockserver-netty</artifactId> |
dependabot[bot] | 3f520f3 | 2022-04-05 17:02:38 +0000 | [diff] [blame] | 291 | <version>5.13.2</version> |
margaretha | 0ddaed6 | 2021-01-21 17:10:33 +0100 | [diff] [blame] | 292 | <scope>test</scope> |
| 293 | </dependency> |
Marc Kupietz | 0a37867 | 2022-04-30 09:35:27 +0200 | [diff] [blame] | 294 | |
| 295 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text --> |
| 296 | <dependency> |
| 297 | <groupId>org.apache.commons</groupId> |
| 298 | <artifactId>commons-text</artifactId> |
| 299 | <version>1.9</version> |
| 300 | </dependency> |
| 301 | |
margaretha | 235a680 | 2018-06-06 19:21:53 +0200 | [diff] [blame] | 302 | </dependencies> |
Akron | 6365605 | 2018-11-07 12:20:13 +0100 | [diff] [blame] | 303 | </project> |