中国算力平台算力登记系统2.0
yanzhaofeige
2024-09-30 6293d2b460bd17eee8b078f5a53ee4b2a0eea88e
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>
6293d2 26         <dependency>
Y 27             <groupId>junit</groupId>
28             <artifactId>junit</artifactId>
29             <scope>test</scope>
30         </dependency>
43dc29 31         <!-- swagger3-->
Y 32         <dependency>
33             <groupId>io.springfox</groupId>
34             <artifactId>springfox-boot-starter</artifactId>
35         </dependency>
36
37         <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
38         <dependency>
39             <groupId>io.swagger</groupId>
40             <artifactId>swagger-models</artifactId>
41             <version>1.6.2</version>
42         </dependency>
43
44          <!-- Mysql驱动包 -->
45         <dependency>
46             <groupId>mysql</groupId>
47             <artifactId>mysql-connector-java</artifactId>
48         </dependency>
49
50         <!-- 核心模块-->
51         <dependency>
52             <groupId>com.odcc.cpzidc</groupId>
53             <artifactId>cpzidc-framework</artifactId>
54         </dependency>
55
56         <!-- 定时任务-->
57         <dependency>
58             <groupId>com.odcc.cpzidc</groupId>
59             <artifactId>cpzidc-quartz</artifactId>
60         </dependency>
61
62         <!-- 代码生成-->
63         <dependency>
64             <groupId>com.odcc.cpzidc</groupId>
65             <artifactId>cpzidc-generator</artifactId>
66         </dependency>
67
68     </dependencies>
69
70     <build>
71         <plugins>
72             <plugin>
73                 <groupId>org.springframework.boot</groupId>
74                 <artifactId>spring-boot-maven-plugin</artifactId>
75                 <version>2.5.15</version>
76                 <configuration>
77                     <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
78                 </configuration>
79                 <executions>
80                     <execution>
81                         <goals>
82                             <goal>repackage</goal>
83                         </goals>
84                     </execution>
85                 </executions>
86             </plugin>
87             <plugin>   
88                 <groupId>org.apache.maven.plugins</groupId>   
89                 <artifactId>maven-war-plugin</artifactId>   
90                 <version>3.1.0</version>   
91                 <configuration>
92                     <failOnMissingWebXml>false</failOnMissingWebXml>
93                     <warName>${project.artifactId}</warName>
94                 </configuration>   
95            </plugin>   
96         </plugins>
97         <finalName>${project.artifactId}</finalName>
98     </build>
99
100 </project>