2018-11-12 13:21:15 +01:00
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion > 4.0.0</modelVersion>
<groupId > ch.ethz.seb</groupId>
<artifactId > seb-server</artifactId>
2018-11-13 13:18:45 +01:00
<version > 0.1.0-SNAPSHOT</version>
2018-11-12 13:21:15 +01:00
<name > seb-server</name>
<description > web-service for SEB maintenance and monitoring active SEB sessions</description>
2018-11-12 13:29:10 +01:00
<parent >
2018-11-12 13:21:15 +01:00
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-parent</artifactId>
<version > 2.0.5.RELEASE</version>
</parent>
<packaging > jar</packaging>
<properties >
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding > UTF-8</project.reporting.outputEncoding>
<java.version > 1.8</java.version>
</properties>
2018-11-12 13:29:10 +01:00
<build >
2018-11-12 13:21:15 +01:00
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
<configuration >
<source > ${java.version}</source>
<target > ${java.version}</target>
</configuration>
</plugin>
<plugin >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-maven-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
2018-11-13 11:29:33 +01:00
<dependencies >
<!-- Data Base -->
<dependency >
<groupId > org.mariadb.jdbc</groupId>
<artifactId > mariadb-java-client</artifactId>
</dependency>
<!-- MyBatis -->
<dependency >
<groupId > org.mybatis</groupId>
<artifactId > mybatis</artifactId>
<version > 3.4.6</version>
</dependency>
<dependency >
<groupId > org.mybatis.dynamic-sql</groupId>
<artifactId > mybatis-dynamic-sql</artifactId>
<version > 1.1.0</version>
</dependency>
<dependency >
<groupId > org.mybatis</groupId>
<artifactId > mybatis-spring</artifactId>
<version > 1.3.2</version>
</dependency>
<!-- Spring / Spring Boot -->
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-web</artifactId>
</dependency>
2018-11-14 13:58:27 +01:00
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-actuator</artifactId>
</dependency>
2018-11-13 11:29:33 +01:00
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-tomcat</artifactId>
</dependency>
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-websocket</artifactId>
</dependency>
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-security</artifactId>
</dependency>
<!-- NOTE since org.springframework.security.oauth is not fully migrated
to spring-boot-starter-security we have to declare a separate version here.
This refers to the latest version of spring-security-oauth2 and should be
compatible with the overall version of spring boot SEE: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0.0-M5-Release-Notes#oauth-20-support
TODO: once spring-security-oauth2 is fully migrated we should be able to
remove this dependency -->
<dependency >
<groupId > org.springframework.security.oauth</groupId>
<artifactId > spring-security-oauth2</artifactId>
<version > [2.3.4,)</version>
</dependency>
<dependency >
<groupId > org.springframework.security</groupId>
<artifactId > spring-security-jwt</artifactId>
<version > 1.0.9.RELEASE</version>
</dependency>
<!-- Misc -->
<dependency >
<groupId > joda-time</groupId>
<artifactId > joda-time</artifactId>
</dependency>
<dependency >
<groupId > com.fasterxml.jackson.datatype</groupId>
<artifactId > jackson-datatype-joda</artifactId>
</dependency>
<dependency >
<groupId > org.apache.commons</groupId>
<artifactId > commons-lang3</artifactId>
</dependency>
<!-- Testing and Code generation -->
<dependency >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
<scope > test</scope>
</dependency>
<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>
</dependencies>
2018-11-14 15:24:36 +01:00
<profiles >
<profile >
<id > let_reporting</id>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-pmd-plugin</artifactId>
<version > 3.10.0</version>
<configuration >
<skipEmptyReport > false</skipEmptyReport>
<failOnViolation > false</failOnViolation>
<targetJdk > ${java.version}</targetJdk>
<linkXRef > false</linkXRef>
</configuration>
<executions >
<execution >
<goals >
<goal > check</goal>
<goal > cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > findbugs-maven-plugin</artifactId>
<version > 3.0.4</version>
<configuration >
<effort > Max</effort>
<failOnError > false</failOnError>
<threshold > Low</threshold>
<xmlOutput > true</xmlOutput>
</configuration>
<executions >
<execution >
<id > analyze-compile</id>
<phase > compile</phase>
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<version > 0.8.2</version>
<configuration >
<includes >
<include > ch/ethz/seb/sebserver/*</include>
</includes>
</configuration>
<executions >
<execution >
<id > default-prepare-agent</id>
<goals >
<goal > prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2018-11-12 13:21:15 +01:00
2018-11-12 12:47:34 +01:00
</project>