2020-07-08 23:19:41 +08: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 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>
|
|
|
|
<version>2.3.1.RELEASE</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>me.minidigger</groupId>
|
|
|
|
<artifactId>hangar</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>hangar</name>
|
|
|
|
<description>Ore, but in Spring</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>11</java.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</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-web</artifactId>
|
2020-07-12 17:47:51 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2020-07-12 17:47:51 +08:00
|
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--SpringFox dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
2020-07-14 23:02:33 +08:00
|
|
|
<artifactId>springfox-boot-starter</artifactId>
|
2020-07-14 19:53:38 +08:00
|
|
|
<version>3.0.0</version>
|
2020-07-12 17:38:35 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<!-- old version -->
|
|
|
|
<groupId>io.github.classgraph</groupId>
|
|
|
|
<artifactId>classgraph</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2020-07-08 23:19:41 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Bean Validation API support -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-11 08:27:53 +08:00
|
|
|
<!-- config stuff -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
<version>1.26</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-11 10:08:49 +08:00
|
|
|
<!-- template engine -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
2020-07-11 10:19:45 +08:00
|
|
|
<version>2.3.30</version>
|
2020-07-11 10:08:49 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-07-12 04:56:31 +08:00
|
|
|
<!-- webjars -->
|
2020-07-12 17:38:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>webjars-locator</artifactId>
|
2020-07-12 18:22:13 +08:00
|
|
|
<version>0.40</version>
|
2020-07-12 17:38:35 +08:00
|
|
|
</dependency>
|
2020-07-12 04:56:31 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>jquery</artifactId>
|
2020-07-12 18:22:19 +08:00
|
|
|
<version>3.5.1</version>
|
2020-07-12 04:56:31 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>font-awesome</artifactId>
|
2020-07-12 18:22:04 +08:00
|
|
|
<version>5.13.1</version>
|
2020-07-12 04:56:31 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>filesize</artifactId>
|
|
|
|
<version>6.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>moment</artifactId>
|
2020-07-12 18:22:00 +08:00
|
|
|
<version>2.27.0</version>
|
2020-07-12 04:56:31 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>clipboard</artifactId>
|
|
|
|
<version>2.0.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars.npm</groupId>
|
|
|
|
<artifactId>chart.js</artifactId>
|
|
|
|
<version>2.9.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>swagger-ui</artifactId>
|
2020-07-12 18:22:09 +08:00
|
|
|
<version>3.28.0</version>
|
2020-07-12 04:56:31 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-07-08 23:19:41 +08:00
|
|
|
<!-- runtime -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-07-12 04:56:31 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<version>1.10.0</version>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<workingDirectory>src/main/frontend</workingDirectory>
|
|
|
|
<nodeVersion>v12.18.2</nodeVersion>
|
|
|
|
<yarnVersion>v1.22.0</yarnVersion>
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install node and yarn</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn build</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>run build</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-07-08 23:19:41 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|