cl
2024-04-24 e7a9d55133fc1ce4b7651767e6b4c4d41bbe32a0
提交 | 用户 | 时间
71e81e 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     <modelVersion>4.0.0</modelVersion>
6
7     <parent>
8         <groupId>cn.stylefeng</groupId>
9         <artifactId>guns-vip</artifactId>
10         <version>1.0.0</version>
11         <relativePath>../pom.xml</relativePath>
12     </parent>
13
14     <artifactId>guns-vip-main</artifactId>
15
16     <packaging>jar</packaging>
17
18     <dependencies>
19
20         <dependency>
21             <groupId>log4j</groupId>
22             <artifactId>log4j</artifactId>
23             <version>1.2.17</version>
24         </dependency>
25
26         <!-- guns-vip基础框架 -->
27         <dependency>
28             <groupId>cn.stylefeng</groupId>
29             <artifactId>guns-sys</artifactId>
30             <version>1.0.0</version>
31         </dependency>
32
33         <!-- 工作流 -->
34         <dependency>
35             <groupId>cn.stylefeng</groupId>
36             <artifactId>guns-workflow</artifactId>
37             <version>1.0.0</version>
38         </dependency>
39
40         <!-- 多租户 -->
41         <dependency>
42             <groupId>cn.stylefeng</groupId>
43             <artifactId>guns-tenant</artifactId>
44             <version>1.0.0</version>
45         </dependency>
46
47         <!-- 多语言 -->
48         <dependency>
49             <groupId>cn.stylefeng</groupId>
50             <artifactId>guns-i18n</artifactId>
51             <version>1.0.0</version>
52         </dependency>
53
54         <!-- excel高级导出 -->
55         <dependency>
56             <groupId>cn.stylefeng</groupId>
57             <artifactId>guns-excel</artifactId>
58             <version>1.0.0</version>
59         </dependency>
60
61         <!-- 代码生成器 -->
62         <dependency>
63             <groupId>cn.stylefeng</groupId>
64             <artifactId>guns-generator</artifactId>
65             <version>1.0.0</version>
66         </dependency>
67
68         <!-- 数据源容器 -->
69         <dependency>
70             <groupId>cn.stylefeng</groupId>
71             <artifactId>guns-dbctn</artifactId>
72             <version>1.0.0</version>
73         </dependency>
74
75         <!-- oauth2认证 -->
76         <dependency>
77             <groupId>cn.stylefeng</groupId>
78             <artifactId>guns-oauth2</artifactId>
79             <version>1.0.0</version>
80         </dependency>
81
82         <dependency>
83             <groupId>org.springframework.boot</groupId>
84             <artifactId>spring-boot-starter-test</artifactId>
85             <scope>test</scope>
86         </dependency>
87
88         <dependency>
89             <groupId>org.springframework.boot</groupId>
90             <artifactId>spring-boot-starter-websocket</artifactId>
91         </dependency>
92
d43481 93         <dependency>
C 94             <groupId>com.kangaroohy</groupId>
95             <artifactId>milo-spring-boot-starter</artifactId>
96             <version>3.0.5</version>
97         </dependency>
98         <dependency>
99             <groupId>org.apache.commons</groupId>
100             <artifactId>commons-pool2</artifactId>
101             <version>2.12.0</version>
102         </dependency>
103
104         <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
105         <dependency>
106             <groupId>com.google.guava</groupId>
107             <artifactId>guava</artifactId>
108             <version>33.0.0-jre</version>
109         </dependency>
71e81e 110     </dependencies>
111
112     <build>
113         <finalName>${project.artifactId}</finalName>
114         <plugins>
115             <plugin>
116                 <groupId>org.springframework.boot</groupId>
117                 <artifactId>spring-boot-maven-plugin</artifactId>
118                 <executions>
119                     <execution>
120                         <goals>
121                             <goal>repackage</goal>
122                         </goals>
123                     </execution>
124                 </executions>
125             </plugin>
126             <plugin>
127                 <groupId>io.fabric8</groupId>
128                 <artifactId>docker-maven-plugin</artifactId>
129                 <version>0.26.1</version>
130                 <configuration>
131                     <dockerHost>unix:///var/run/docker.sock</dockerHost>
132                     <images>
133                         <image>
134                             <name>snexus.stylefeng.cn:6001/guns-api:${docker.img.version}</name>
135                             <build>
136                                 <from>java:8</from>
137                                 <assembly>
138                                     <descriptor>docker-assembly.xml</descriptor>
139                                 </assembly>
140                                 <cmd>
141                                     <shell>java -jar -Xms512m -Xmx512m -Xss1024K -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m /maven/${project.artifactId}.jar</shell>
142                                 </cmd>
143                             </build>
144                         </image>
145                     </images>
146                 </configuration>
147             </plugin>
148         </plugins>
149     </build>
150
151 </project>