--有前端页面打包方式
<?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.1.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.sgcc.nari</groupId>
<artifactId>scence-validation</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>scence-validation</name>
<description>scence-validation</description>
<packaging>jar</packaging> --打包方式
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<!--引入配置文件-->
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<!--引入静态文件-->
<resource>
<
pom文件 使用maven命令将项目打成可执行jar包
最新推荐文章于 2024-05-03 11:21:11 发布