2019-01-06 13:31:56 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.1.1.RELEASE</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.becausesec</groupId>
|
|
|
|
<artifactId>chuckjokes</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>chuckjokes</name>
|
|
|
|
<description>Joke app for Chuck</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<kotlin.version>1.2.71</kotlin.version>
|
2019-01-08 18:56:37 +00:00
|
|
|
<docker.image.prefix>because</docker.image.prefix>
|
2019-01-06 13:31:56 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-01-06 13:35:58 +00:00
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/guru.springframework/chuck-norris-for-actuator -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>guru.springframework</groupId>
|
|
|
|
<artifactId>chuck-norris-for-actuator</artifactId>
|
|
|
|
<version>0.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-01-06 13:31:56 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
|
|
<plugins>
|
2019-01-07 17:49:25 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
|
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
|
|
|
<version>3.5.0.1254</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.owasp</groupId>
|
|
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
|
|
<version>4.0.2</version>
|
|
|
|
<configuration>
|
2019-01-07 18:30:47 +00:00
|
|
|
<format>ALL</format>
|
2019-01-07 17:49:25 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-01-08 18:43:58 +00:00
|
|
|
|
2019-01-08 18:56:37 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
<version>1.4.9</version>
|
|
|
|
<configuration>
|
|
|
|
<repository>${docker.image.prefix}/${project.artifactId}</repository>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
2019-01-08 18:43:58 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2019-01-08 18:50:34 +00:00
|
|
|
|
2019-01-06 13:31:56 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<args>
|
|
|
|
<arg>-Xjsr305=strict</arg>
|
|
|
|
</args>
|
|
|
|
<compilerPlugins>
|
|
|
|
<plugin>spring</plugin>
|
|
|
|
</compilerPlugins>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|