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