| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?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>
- <parent>
- <groupId>com.kyl</groupId>
- <artifactId>kyl</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <artifactId>kyl-web</artifactId>
- <properties>
- <maven.compiler.source>11</maven.compiler.source>
- <maven.compiler.target>11</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <!-- 定义项目依赖,此处仅包含一个内部模块依赖 -->
- <dependencies>
- <dependency>
- <groupId>com.kyl</groupId>
- <artifactId>kyl-service</artifactId>
- </dependency>
- </dependencies>
- <!-- 配置项目构建过程 -->
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <!--kyl-web模块作为整个项目的入口需要进行两个配置:-->
- <!--1、要指定运行的主类文件-->
- <configuration>
- <mainClass>com.kyl.KylApplication</mainClass>
- </configuration>
- <!--2、要单独重新打包-->
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|