174 lines
4.8 KiB
XML
174 lines
4.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>pro.taskana</groupId>
|
|
<artifactId>taskana-rest-spring-example</artifactId>
|
|
<version>1.1.2-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>rest</name>
|
|
<description>Demo project for taskana-rest-spring</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.0.2.RELEASE</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<!-- Repository for postgresql V. 9.4.1212 driver.
|
|
<repositories>
|
|
<repository>
|
|
<id>postgresql</id>
|
|
<name>postgresql repository</name>
|
|
<url>https://mvnrepository.com/artifact/postgresql/postgresql</url>
|
|
</repository>
|
|
</repositories>
|
|
-->
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>history.plugin</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>pro.taskana.simplehistory</groupId>
|
|
<artifactId>taskana-simplehistory-rest-spring</artifactId>
|
|
<version>0.0.9</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<spring.ldap.version>2.3.2.RELEASE</spring.ldap.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.plugin</groupId>
|
|
<artifactId>spring-plugin-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.ldap</groupId>
|
|
<artifactId>spring-ldap-core</artifactId>
|
|
<version>${spring.ldap.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.197</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.ibm.db2.jcc</groupId>
|
|
<artifactId>db2jcc4</artifactId>
|
|
<version>11.1.1.1</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/postgresql/postgresql -->
|
|
<!-- Postgresql driver dependency
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.4.1212</version>
|
|
</dependency>
|
|
-->
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>pro.taskana</groupId>
|
|
<artifactId>taskana-rest-spring-base</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Tests -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.ldap</groupId>
|
|
<artifactId>spring-ldap-test</artifactId>
|
|
<version>${spring.ldap.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-documentation-to-static-folder</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>
|
|
${project.build.outputDirectory}/static/docs/rest
|
|
</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>
|
|
../taskana-rest-spring-test/target/generated-docs
|
|
</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<!--
|
|
this repository is needed to fetch com.ibm.db2.jcc
|
|
-->
|
|
<repositories>
|
|
<repository>
|
|
<id>novatec public</id>
|
|
<name>novatec-repository</name>
|
|
<url>https://repository.novatec-gmbh.de/content/repositories/novatec/</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|