中国算力平台算力登记系统2.0
yanzhaofeige
6 days ago 346e19ed91e10ac14722fcc29dbb810b9d971d3d
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>
346e19 61         <dependency>
Y 62             <groupId>cn.smallbun.screw</groupId>
63             <artifactId>screw-core</artifactId>
64         </dependency>
43dc29 65         <!-- 代码生成-->
Y 66         <dependency>
67             <groupId>com.odcc.cpzidc</groupId>
68             <artifactId>cpzidc-generator</artifactId>
69         </dependency>
0f03e4 70         <dependency>
Y 71             <groupId>org.springframework.boot</groupId>
72             <artifactId>spring-boot-test</artifactId>
73             <version>2.7.6</version>
74             <scope>test</scope>
75         </dependency>
43dc29 76
Y 77     </dependencies>
78
79     <build>
80         <plugins>
81             <plugin>
82                 <groupId>org.springframework.boot</groupId>
83                 <artifactId>spring-boot-maven-plugin</artifactId>
84                 <version>2.5.15</version>
85                 <configuration>
86                     <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
87                 </configuration>
88                 <executions>
89                     <execution>
90                         <goals>
91                             <goal>repackage</goal>
92                         </goals>
93                     </execution>
94                 </executions>
95             </plugin>
96             <plugin>   
97                 <groupId>org.apache.maven.plugins</groupId>   
98                 <artifactId>maven-war-plugin</artifactId>   
99                 <version>3.1.0</version>   
100                 <configuration>
101                     <failOnMissingWebXml>false</failOnMissingWebXml>
102                     <warName>${project.artifactId}</warName>
103                 </configuration>   
104            </plugin>   
105         </plugins>
106         <finalName>${project.artifactId}</finalName>
107     </build>
108
109 </project>