中国算力平台算力登记系统2.0
yanzhaofeige
2024-09-30 ce18e7db640892817f8ead465a68dc7977fe20fa
commit | author | age
43dc29 1 <?xml version="1.0" encoding="UTF-8"?>
Y 2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <parent>
6         <artifactId>cpzidc</artifactId>
7         <groupId>com.odcc.cpzidc</groupId>
8         <version>3.8.8</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <packaging>jar</packaging>
12     <artifactId>cpzidc-admin</artifactId>
13
14     <description>
15         web服务入口
16     </description>
17
18     <dependencies>
19
20         <!-- spring-boot-devtools -->
21         <dependency>
22             <groupId>org.springframework.boot</groupId>
23             <artifactId>spring-boot-devtools</artifactId>
24             <optional>true</optional> <!-- 表示依赖不会传递 -->
25         </dependency>
26
27         <!-- swagger3-->
28         <dependency>
29             <groupId>io.springfox</groupId>
30             <artifactId>springfox-boot-starter</artifactId>
31         </dependency>
32
33         <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
34         <dependency>
35             <groupId>io.swagger</groupId>
36             <artifactId>swagger-models</artifactId>
37             <version>1.6.2</version>
38         </dependency>
39
40          <!-- Mysql驱动包 -->
41         <dependency>
42             <groupId>mysql</groupId>
43             <artifactId>mysql-connector-java</artifactId>
44         </dependency>
45
46         <!-- 核心模块-->
47         <dependency>
48             <groupId>com.odcc.cpzidc</groupId>
49             <artifactId>cpzidc-framework</artifactId>
50         </dependency>
51
52         <!-- 定时任务-->
53         <dependency>
54             <groupId>com.odcc.cpzidc</groupId>
55             <artifactId>cpzidc-quartz</artifactId>
56         </dependency>
57
58         <!-- 代码生成-->
59         <dependency>
60             <groupId>com.odcc.cpzidc</groupId>
61             <artifactId>cpzidc-generator</artifactId>
62         </dependency>
63
64     </dependencies>
65
66     <build>
67         <plugins>
68             <plugin>
69                 <groupId>org.springframework.boot</groupId>
70                 <artifactId>spring-boot-maven-plugin</artifactId>
71                 <version>2.5.15</version>
72                 <configuration>
73                     <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
74                 </configuration>
75                 <executions>
76                     <execution>
77                         <goals>
78                             <goal>repackage</goal>
79                         </goals>
80                     </execution>
81                 </executions>
82             </plugin>
83             <plugin>   
84                 <groupId>org.apache.maven.plugins</groupId>   
85                 <artifactId>maven-war-plugin</artifactId>   
86                 <version>3.1.0</version>   
87                 <configuration>
88                     <failOnMissingWebXml>false</failOnMissingWebXml>
89                     <warName>${project.artifactId}</warName>
90                 </configuration>   
91            </plugin>   
92         </plugins>
93         <finalName>${project.artifactId}</finalName>
94     </build>
95
96 </project>