中国算力平台算力登记系统2.0
yanzhaofeige
2024-09-30 0f03e47899d7fd52ab5c7ad11a3bc5d4eec413cb
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>
0f03e4 67         <dependency>
Y 68             <groupId>org.springframework.boot</groupId>
69             <artifactId>spring-boot-test</artifactId>
70             <version>2.7.6</version>
71             <scope>test</scope>
72         </dependency>
43dc29 73
Y 74     </dependencies>
75
76     <build>
77         <plugins>
78             <plugin>
79                 <groupId>org.springframework.boot</groupId>
80                 <artifactId>spring-boot-maven-plugin</artifactId>
81                 <version>2.5.15</version>
82                 <configuration>
83                     <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
84                 </configuration>
85                 <executions>
86                     <execution>
87                         <goals>
88                             <goal>repackage</goal>
89                         </goals>
90                     </execution>
91                 </executions>
92             </plugin>
93             <plugin>   
94                 <groupId>org.apache.maven.plugins</groupId>   
95                 <artifactId>maven-war-plugin</artifactId>   
96                 <version>3.1.0</version>   
97                 <configuration>
98                     <failOnMissingWebXml>false</failOnMissingWebXml>
99                     <warName>${project.artifactId}</warName>
100                 </configuration>   
101            </plugin>   
102         </plugins>
103         <finalName>${project.artifactId}</finalName>
104     </build>
105
106 </project>