pom.xml 1.5 KB
Newer Older
Y
yadong.zhang 已提交
1 2 3 4 5 6 7 8 9
<?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>

	<artifactId>blog-web</artifactId>
	<packaging>jar</packaging>

	<name>blog-web</name>
10
	<description>OneBlog 前台程序</description>
Y
yadong.zhang 已提交
11 12 13 14

	<parent>
		<groupId>com.zyd</groupId>
		<artifactId>blog</artifactId>
智布道's avatar
智布道 已提交
15
		<version>2.3.0</version>
Y
yadong.zhang 已提交
16 17 18 19 20 21 22 23 24 25
	</parent>

	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-websocket</artifactId>
		</dependency>
		<dependency>
			<groupId>com.zyd</groupId>
			<artifactId>blog-core</artifactId>
26
        </dependency>
Y
yadong.zhang 已提交
27 28 29 30
	</dependencies>

	<build>
		<plugins>
31
			<!-- 解决@xx@无法解析的问题 -->
Y
yadong.zhang 已提交
32
			<plugin>
33 34 35 36 37 38 39 40
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<configuration>
					<delimiters>
						<delimiter>@</delimiter>
					</delimiters>
					<useDefaultDelimiters>false</useDefaultDelimiters>
				</configuration>
Y
yadong.zhang 已提交
41
			</plugin>
Y
yadong.zhang 已提交
42 43 44 45 46 47
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<mainClass>com.zyd.blog.BlogWebApplication</mainClass>
					<layout>JAR</layout>
Z
zmingchun 已提交
48 49
                    <!--构建完整可执行程序,可以直接运行-->
                    <executable>true</executable>
Y
yadong.zhang 已提交
50 51 52 53 54 55 56
				</configuration>
			</plugin>
		</plugins>
	</build>


</project>