153 lines
4.5 KiB
XML
153 lines
4.5 KiB
XML
<?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>
|
|
|
|
<groupId>cn.allms</groupId>
|
|
<artifactId>blog</artifactId>
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>blog</name>
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>1.5.7.RELEASE</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<!--设置tymeleaf的版本-->
|
|
<thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
|
|
<thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
<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>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!--引入Markdown转HTML的插件-->
|
|
<dependency>
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
<artifactId>commonmark</artifactId>
|
|
<version>0.10.0</version>
|
|
</dependency>
|
|
<!--扩展 标题-->
|
|
<dependency>
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
<artifactId>commonmark-ext-heading-anchor</artifactId>
|
|
<version>0.10.0</version>
|
|
</dependency>
|
|
<!--扩展 表格-->
|
|
<dependency>
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
<artifactId>commonmark-ext-gfm-tables</artifactId>
|
|
<version>0.10.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>com.spotify</groupId>-->
|
|
<!-- <artifactId>docker-maven-plugin</artifactId>-->
|
|
<!-- <version>1.2.0</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>build-image</id>-->
|
|
<!-- <phase>package</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>build</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- <configuration>-->
|
|
<!-- <dockerHost>http://103.153.100.47:2375</dockerHost>-->
|
|
<!-- <imageName>mx/${project.artifactId}</imageName>-->
|
|
<!-- <imageTags>-->
|
|
<!-- <imageTag>${project.version}</imageTag>-->
|
|
<!-- </imageTags>-->
|
|
<!-- <forceTags>true</forceTags>-->
|
|
<!-- <dockerDirectory>${project.basedir}</dockerDirectory>-->
|
|
<!-- <resources>-->
|
|
<!-- <resource>-->
|
|
<!-- <targetPath>/</targetPath>-->
|
|
<!-- <directory>${project.build.directory}</directory>-->
|
|
<!-- <include>${project.build.finalName}.jar</include>-->
|
|
<!-- </resource>-->
|
|
<!-- </resources>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
</plugins>
|
|
</build>
|
|
</project>
|