Hangar/pom.xml

319 lines
12 KiB
XML
Raw Normal View History

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.3.RELEASE</version>
2020-08-05 21:36:17 +08:00
<relativePath/>
2020-07-08 23:19:41 +08:00
</parent>
2020-08-05 21:36:17 +08:00
2020-07-08 23:19:41 +08:00
<groupId>me.minidigger</groupId>
<artifactId>hangar</artifactId>
<version>0.0.1-SNAPSHOT</version>
2020-08-05 21:36:17 +08:00
2020-07-08 23:19:41 +08:00
<name>hangar</name>
<description>Ore, but in Spring, but for Paper</description>
2020-07-08 23:19:41 +08:00
2020-08-05 21:36:17 +08:00
<properties>
<!-- compiling -->
<java.version>11</java.version>
<!-- encoding -->
<encoding>UTF-8</encoding>
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>
<!-- dependency management -->
<jdbi3-bom.version>3.14.3</jdbi3-bom.version>
2020-08-05 21:36:17 +08:00
<!-- dependencies -->
<springfox-boot-starter.version>3.0.0</springfox-boot-starter.version>
<freemarker.version>2.3.30</freemarker.version>
<freemarker-java8.version>2.0.0</freemarker-java8.version>
<flexmark-all.version>0.62.2</flexmark-all.version>
<snakeyaml.version>1.26</snakeyaml.version>
<jsitemapgenerator.version>4.5</jsitemapgenerator.version>
2020-08-05 21:36:17 +08:00
<!-- webjars dependencies -->
<webjars-locator.version>0.40</webjars-locator.version>
<jquery.version>3.5.1</jquery.version>
<font-awesome.version>5.14.0</font-awesome.version>
2020-08-05 21:36:17 +08:00
<filesize.version>6.0.1</filesize.version>
<moment.version>2.27.0</moment.version>
<clipboard.version>2.0.6</clipboard.version>
<chart.js.version>2.9.3</chart.js.version>
<swagger-ui.version>3.31.1</swagger-ui.version>
2020-08-05 21:36:17 +08:00
<!-- plugins -->
<frontend-maven-plugin.version>1.10.0</frontend-maven-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-bom</artifactId>
<type>pom</type>
<version>${jdbi3-bom.version}</version>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2020-07-08 23:19:41 +08:00
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
2020-07-08 23:19:41 +08:00
</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>
<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>
<artifactId>spring-boot-starter-undertow</artifactId>
2020-07-08 23:19:41 +08:00
</dependency>
2020-07-17 04:41:49 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
2020-07-08 23:19:41 +08:00
<!--SpringFox dependencies -->
<dependency>
<groupId>io.springfox</groupId>
2020-07-14 23:02:33 +08:00
<artifactId>springfox-boot-starter</artifactId>
2020-08-05 21:36:17 +08:00
<version>${springfox-boot-starter.version}</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>
2020-08-05 21:36:17 +08:00
<version>${snakeyaml.version}</version>
2020-07-11 08:27:53 +08:00
</dependency>
<!-- template engine -->
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
2020-08-05 21:36:17 +08:00
<version>${freemarker.version}</version>
</dependency>
<!-- java 8 objects in freemarker -->
<dependency>
<groupId>no.api.freemarker</groupId>
<artifactId>freemarker-java8</artifactId>
2020-08-05 21:36:17 +08:00
<version>${freemarker-java8.version}</version>
</dependency>
<!-- jdbi -->
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-core</artifactId>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-sqlobject</artifactId>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-postgres</artifactId>
</dependency>
2020-07-17 05:23:04 +08:00
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-spring4</artifactId>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-stringtemplate4</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
2020-07-28 01:02:54 +08:00
<!-- markdown -->
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-all</artifactId>
2020-08-05 21:36:17 +08:00
<version>${flexmark-all.version}</version>
2020-07-28 01:02:54 +08:00
</dependency>
<dependency>
<groupId>cz.jiripinkas</groupId>
<artifactId>jsitemapgenerator</artifactId>
<version>${jsitemapgenerator.version}</version>
</dependency>
<!-- webjars -->
2020-07-12 17:38:35 +08:00
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator</artifactId>
2020-08-05 21:36:17 +08:00
<version>${webjars-locator.version}</version>
2020-07-12 17:38:35 +08:00
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>jquery</artifactId>
2020-08-05 21:36:17 +08:00
<version>${jquery.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>font-awesome</artifactId>
2020-08-05 21:36:17 +08:00
<version>${font-awesome.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>filesize</artifactId>
2020-08-05 21:36:17 +08:00
<version>${filesize.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>moment</artifactId>
2020-08-05 21:36:17 +08:00
<version>${moment.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>clipboard</artifactId>
2020-08-05 21:36:17 +08:00
<version>${clipboard.version}</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>chart.js</artifactId>
2020-08-05 21:36:17 +08:00
<version>${chart.js.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>swagger-ui</artifactId>
2020-08-05 21:36:17 +08:00
<version>${swagger-ui.version}</version>
</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.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.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2020-08-05 21:36:17 +08:00
<version>${maven-compiler-plugin.version}</version>
<configuration>
2020-08-05 21:36:17 +08:00
<source>${java.version}</source>
<target>${java.version}</target>
<testSource>${java.version}</testSource>
<testTarget>${java.version}</testTarget>
<encoding>${encoding}</encoding>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
2020-07-08 23:19:41 +08:00
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
2020-08-05 21:36:17 +08:00
<version>${frontend-maven-plugin.version}</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>