| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>de.ids_mannheim.korap</groupId> |
| <artifactId>Kustvakt-core</artifactId> |
| <version>0.69.2</version> |
| |
| <properties> |
| <java.version>11</java.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <spring.version>5.3.24</spring.version> |
| <jersey.version>2.37</jersey.version> |
| <jetty.version>9.4.49.v20220914</jetty.version> |
| <hibernate.version>5.6.14.Final</hibernate.version> |
| <flyway.version>9.8.3</flyway.version> |
| <log4j.version>2.19.0</log4j.version> |
| <krill.version>[0.61,)</krill.version> |
| <koral.version>[0.39,)</koral.version> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| </testResource> |
| <testResource> |
| <directory>src/main/resources</directory> |
| </testResource> |
| </testResources> |
| <plugins> |
| <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| <plugin> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <version>0.4</version> |
| <configuration> |
| <configFile>${project.basedir}/Format.xml</configFile> |
| <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| <compilerSource>${java.version}</compilerSource> |
| <compilerCompliance>${java.version}</compilerCompliance> |
| <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
| </configuration> |
| <!-- <executions> <execution> <goals> <goal>format</goal> </goals> </execution> |
| </executions> --> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.10.1</version> |
| <configuration> |
| <compilerVersion>${java.version}</compilerVersion> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <annotationProcessors> |
| <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor> |
| <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor> |
| </annotationProcessors> |
| </configuration> |
| </plugin> |
| |
| <!-- build tests jar, so extensions can use fastjerseytest class to build |
| rest tests --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.3.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Generate source jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <!-- backport --> |
| <dependency> |
| <groupId>backport-util-concurrent</groupId> |
| <artifactId>backport-util-concurrent</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <!-- Jersey --> |
| <dependency> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-server</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.glassfish.jersey.ext</groupId> |
| <artifactId>jersey-spring5</artifactId> |
| <version>${jersey.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- JSON --> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-jackson</artifactId> |
| <version>${jersey.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>net.minidev</groupId> |
| <artifactId>json-smart</artifactId> |
| <version>2.4.8</version> |
| </dependency> |
| |
| <!-- Jersey 1x originally uses codehaus --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| <version>2.14.0</version> |
| </dependency> |
| |
| <!-- Flyway --> |
| <dependency> |
| <groupId>org.flywaydb</groupId> |
| <artifactId>flyway-core</artifactId> |
| <version>${flyway.version}</version> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jul</artifactId> |
| <version>${log4j.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>2.0.5</version> |
| </dependency> |
| |
| <!-- Java Assist --> |
| <dependency> |
| <groupId>org.javassist</groupId> |
| <artifactId>javassist</artifactId> |
| <version>3.29.2-GA</version> |
| </dependency> |
| |
| <!-- EM:done --> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>1.18.24</version> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>2.12.2</version> |
| </dependency> |
| <dependency> |
| <groupId>de.ids_mannheim.korap</groupId> |
| <artifactId>Koral</artifactId> |
| <version>${koral.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.sonatype.sisu</groupId> |
| <artifactId>sisu-guava</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jul</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| <version>3.40.0.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-dbcp2</artifactId> |
| <version>2.9.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-validator</groupId> |
| <artifactId>commons-validator</artifactId> |
| <version>1.7</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mindrot</groupId> |
| <artifactId>jbcrypt</artifactId> |
| <version>0.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| <version>1.3.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>de.ids_mannheim.korap</groupId> |
| <artifactId>Krill</artifactId> |
| <version>${krill.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-http</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.reflections</groupId> |
| <artifactId>reflections</artifactId> |
| <version>0.10.2</version> |
| </dependency> |
| |
| <!-- Spring --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-asm</artifactId> |
| <version>3.1.4.RELEASE</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-orm</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <!-- <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-core</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.security</groupId> |
| <artifactId>spring-security-web</artifactId> |
| <version>${spring.version}</version> |
| </dependency> --> |
| <!-- EM: done --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context-support</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>${spring.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- apparently this order prevents the spring schemas from being overriden |
| in META-INF/spring.schemas, thus must stay like this --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aspects</artifactId> |
| <version>${spring.version}</version> |
| </dependency> |
| |
| <!-- end copy --> |
| |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| |
| <!-- jetty --> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-webapp</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>3.3.1</version> |
| </dependency> |
| |
| <!-- not part of public release <dependency> <groupId>KorAP-graphDB</groupId> |
| <artifactId>KorAP-graphDB</artifactId> <version>1.0-SNAPSHOT</version> <exclusions> |
| <exclusion> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> |
| </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId> |
| </exclusion> <exclusion> <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-http</artifactId> </exclusion> <exclusion> |
| <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> |
| </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-server</artifactId> |
| </exclusion> </exclusions> </dependency> --> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.5.14</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.11.0</version> |
| </dependency> |
| |
| <!-- Hibernate --> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-ehcache</artifactId> |
| <version>${hibernate.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-jpamodelgen</artifactId> |
| <version>${hibernate.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.github.gwenn</groupId> |
| <artifactId>sqlite-dialect</artifactId> |
| <version>0.1.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>4.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-text</artifactId> |
| <version>1.10.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |