-
admin
2024-06-18 bdb4046a1ed5358a94cc9ce846f2a1ec88e5d5ec
提交 | 用户 | 时间
e57a89 1 <?xml version="1.0" encoding="UTF-8"?>
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>jcdm</artifactId>
7         <groupId>com.jcdm</groupId>
8         <version>3.8.6</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <packaging>jar</packaging>
12     <artifactId>jcdm-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         <!--sqlserver数据库配置-->
47         <dependency>
48             <groupId>com.microsoft.sqlserver</groupId>
49             <artifactId>mssql-jdbc</artifactId>
50         </dependency>
51
52         <!-- 核心模块-->
53         <dependency>
54             <groupId>com.jcdm</groupId>
55             <artifactId>jcdm-framework</artifactId>
56         </dependency>
57
58         <!-- 定时任务-->
59         <dependency>
60             <groupId>com.jcdm</groupId>
61             <artifactId>jcdm-quartz</artifactId>
62         </dependency>
63
64         <!-- 代码生成-->
65         <dependency>
66             <groupId>com.jcdm</groupId>
67             <artifactId>jcdm-generator</artifactId>
68         </dependency>
69
70         <!-- JCDM模块-->
71         <dependency>
72             <groupId>com.jcdm</groupId>
73             <artifactId>jcdm-main</artifactId>
74         </dependency>
75
76     </dependencies>
77
78     <build>
79         <plugins>
80             <plugin>
81                 <groupId>org.springframework.boot</groupId>
82                 <artifactId>spring-boot-maven-plugin</artifactId>
83                 <version>2.5.15</version>
84                 <configuration>
85                     <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
86                 </configuration>
87                 <executions>
88                     <execution>
89                         <goals>
90                             <goal>repackage</goal>
91                         </goals>
92                     </execution>
93                 </executions>
94             </plugin>
95             <plugin>   
96                 <groupId>org.apache.maven.plugins</groupId>   
97                 <artifactId>maven-war-plugin</artifactId>   
98                 <version>3.1.0</version>   
99                 <configuration>
100                     <failOnMissingWebXml>false</failOnMissingWebXml>
101                     <warName>${project.artifactId}</warName>
102                 </configuration>   
103            </plugin>   
104         </plugins>
105         <finalName>${project.artifactId}</finalName>
106     </build>
107
108 </project>