2020-06-20 09:48:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2020-01-14 10:13:57 +00: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 https://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>
|
2020-08-05 20:02:14 +00:00
|
|
|
<version>2.1.16.RELEASE</version>
|
2020-06-02 13:32:08 +00:00
|
|
|
<relativePath />
|
2020-01-14 10:13:57 +00:00
|
|
|
</parent>
|
|
|
|
<groupId>org.ros</groupId>
|
|
|
|
<artifactId>Chatto</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>chatto</name>
|
2020-05-30 08:23:40 +00:00
|
|
|
<description>A self hosted minimal E2E chat application</description>
|
2020-01-14 10:13:57 +00:00
|
|
|
<properties>
|
|
|
|
<java.version>11</java.version>
|
2020-08-05 08:52:32 +00:00
|
|
|
<gruntArg />
|
2020-01-14 10:13:57 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.modelmapper</groupId>
|
|
|
|
<artifactId>modelmapper</artifactId>
|
|
|
|
<version>2.3.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.cache</groupId>
|
|
|
|
<artifactId>cache-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.thymeleaf.extras</groupId>
|
|
|
|
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
|
|
|
|
</dependency>
|
2020-01-14 12:21:19 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-07-30 17:52:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.spencerwi</groupId>
|
|
|
|
<artifactId>Either.java</artifactId>
|
|
|
|
<version>2.2.0</version>
|
|
|
|
</dependency>
|
2020-08-05 08:52:32 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-01-14 10:13:57 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-06-02 13:32:08 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>read-project-properties</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<files>
|
|
|
|
<file>src/main/resources/application.properties</file>
|
|
|
|
</files>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
|
|
<version>5.2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<driver>${spring.datasource.driverClassName}</driver>
|
|
|
|
<url>jdbc:mysql://${chatto.datasource.url}:${chatto.datasource.port}/${chatto.datasource.database-name}</url>
|
|
|
|
<user>${chatto.datasource.username}</user>
|
|
|
|
<password>${chatto.datasource.password}</password>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-01-14 10:13:57 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<version>1.9.1</version>
|
|
|
|
<configuration>
|
2020-06-20 09:48:06 +00:00
|
|
|
<workingDirectory>.</workingDirectory>
|
2020-01-14 10:13:57 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install node and yarn</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>v12.10.0</nodeVersion>
|
|
|
|
<yarnVersion>v1.21.1</yarnVersion>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>watch</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>none</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>run watch</arguments>
|
2020-01-14 12:21:19 +00:00
|
|
|
</configuration>
|
2020-01-14 10:13:57 +00:00
|
|
|
</execution>
|
|
|
|
<execution>
|
2020-01-14 12:21:19 +00:00
|
|
|
<id>grunt-browserify</id>
|
2020-01-14 10:13:57 +00:00
|
|
|
<goals>
|
|
|
|
<goal>grunt</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2020-01-15 05:46:35 +00:00
|
|
|
<arguments>${gruntArg}</arguments>
|
2020-01-14 10:13:57 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-07-26 14:29:28 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<version>4.0.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>get-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>validate-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>validateRevision</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
|
<excludeProperties>
|
|
|
|
<excludeProperty>git.user.*</excludeProperty>
|
|
|
|
</excludeProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-01-14 10:13:57 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|