懒羊羊
2023-09-02 2580831134082c6fb871597e54437bdf2f86ec6c
提交 | 用户 | 时间
1ac2bc 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         <!--utgard start-->
26         <!--utgard start-->
27         <dependency>
28             <groupId>org.openscada.external</groupId>
29             <artifactId>org.openscada.external.jcifs</artifactId>
30             <version>1.2.25</version>
31             <exclusions>
32                 <exclusion>
33                     <groupId>org.bouncycastle</groupId>
34                     <artifactId>bcprov-jdk15on</artifactId>
35                 </exclusion>
36             </exclusions>
37         </dependency>
38         <dependency>
39             <groupId>org.openscada.jinterop</groupId>
40             <artifactId>org.openscada.jinterop.core</artifactId>
41             <version>2.1.8</version>
42         </dependency>
43         <dependency>
44             <groupId>org.openscada.jinterop</groupId>
45             <artifactId>org.openscada.jinterop.deps</artifactId>
46             <version>1.5.0</version>
47             <exclusions>
48                 <exclusion>
49                     <groupId>org.bouncycastle</groupId>
50                     <artifactId>bcprov-jdk15on</artifactId>
51                 </exclusion>
52             </exclusions>
53         </dependency>
54         <dependency>
55             <groupId>org.openscada.utgard</groupId>
56             <artifactId>org.openscada.opc.dcom</artifactId>
57             <version>1.5.0</version>
58         </dependency>
59         <dependency>
60             <groupId>org.openscada.utgard</groupId>
61             <artifactId>org.openscada.opc.lib</artifactId>
62             <version>1.5.0</version>
63         </dependency>
64         <dependency>
65             <groupId>org.bouncycastle</groupId>
66             <artifactId>bcprov-jdk15on</artifactId>
67             <version>1.61</version>
68         </dependency>
69         <!--utgard end-->
70
71         <!-- guns-vip基础框架 -->
72         <dependency>
73             <groupId>cn.stylefeng</groupId>
74             <artifactId>guns-sys</artifactId>
75             <version>1.0.0</version>
76         </dependency>
77
78         <!-- 工作流 -->
79         <dependency>
80             <groupId>cn.stylefeng</groupId>
81             <artifactId>guns-workflow</artifactId>
82             <version>1.0.0</version>
83         </dependency>
84
85         <!-- 多租户 -->
86         <dependency>
87             <groupId>cn.stylefeng</groupId>
88             <artifactId>guns-tenant</artifactId>
89             <version>1.0.0</version>
90         </dependency>
91
92         <!-- 多语言 -->
93         <dependency>
94             <groupId>cn.stylefeng</groupId>
95             <artifactId>guns-i18n</artifactId>
96             <version>1.0.0</version>
97         </dependency>
98
99         <!-- excel高级导出 -->
100         <dependency>
101             <groupId>cn.stylefeng</groupId>
102             <artifactId>guns-excel</artifactId>
103             <version>1.0.0</version>
104         </dependency>
105
106         <!-- 代码生成器 -->
107         <dependency>
108             <groupId>cn.stylefeng</groupId>
109             <artifactId>guns-generator</artifactId>
110             <version>1.0.0</version>
111         </dependency>
112
113         <!-- 数据源容器 -->
114         <dependency>
115             <groupId>cn.stylefeng</groupId>
116             <artifactId>guns-dbctn</artifactId>
117             <version>1.0.0</version>
118         </dependency>
119
120         <!-- oauth2认证 -->
121         <dependency>
122             <groupId>cn.stylefeng</groupId>
123             <artifactId>guns-oauth2</artifactId>
124             <version>1.0.0</version>
125         </dependency>
126
127         <dependency>
128             <groupId>org.springframework.boot</groupId>
129             <artifactId>spring-boot-starter-test</artifactId>
130             <scope>test</scope>
131         </dependency>
132
133         <!--Client SDK依赖-->
134         <dependency>
135             <groupId>org.eclipse.milo</groupId>
136             <artifactId>sdk-client</artifactId>
137             <version>0.2.4</version>
138         </dependency>
139
140         <!--Server SDK依赖-->
141         <dependency>
142             <groupId>org.eclipse.milo</groupId>
143             <artifactId>sdk-server</artifactId>
144             <version>0.2.4</version>
145         </dependency>
146
147         <!-- Stack依赖-->
148         <dependency>
149             <groupId>org.eclipse.milo</groupId>
150             <artifactId>stack-client</artifactId>
151             <version>0.2.4</version>
152         </dependency>
153         <dependency>
154             <groupId>org.eclipse.milo</groupId>
155             <artifactId>stack-server</artifactId>
156             <version>0.2.4</version>
157         </dependency>
158
159         <!--Milo客户端的依赖-->
160         <dependency>
161             <groupId>org.eclipse.milo</groupId>
162             <artifactId>sdk-client</artifactId>
163             <version>0.2.4</version>
164         </dependency>
165
166         <dependency>
167             <groupId>org.springframework.boot</groupId>
168             <artifactId>spring-boot-starter-data-redis</artifactId>
169         </dependency>
170
171         <dependency>
172             <groupId>org.projectlombok</groupId>
173             <artifactId>lombok</artifactId>
174         </dependency>
175
176         <dependency>
177             <groupId>cn.hutool</groupId>
178             <artifactId>hutool-all</artifactId>
179             <version>5.6.0</version>
180         </dependency>
181
182         <dependency>
183             <groupId>org.apache.hadoop</groupId>
184             <artifactId>hadoop-client</artifactId>
185             <version>3.1.3</version>
186         </dependency>
187
188         <dependency>
189             <groupId>org.springframework.boot</groupId>
190             <artifactId>spring-boot-starter-websocket</artifactId>
191         </dependency>
192
193     </dependencies>
194
195     <build>
196         <finalName>${project.artifactId}</finalName>
197         <plugins>
198             <plugin>
199                 <groupId>org.springframework.boot</groupId>
200                 <artifactId>spring-boot-maven-plugin</artifactId>
201                 <executions>
202                     <execution>
203                         <goals>
204                             <goal>repackage</goal>
205                         </goals>
206                     </execution>
207                 </executions>
208                 <configuration>
209                     <fork>true</fork><!-- 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
210                 </configuration>
211             </plugin>
212             <plugin>
213                 <groupId>io.fabric8</groupId>
214                 <artifactId>docker-maven-plugin</artifactId>
215                 <version>0.26.1</version>
216                 <configuration>
217                     <dockerHost>unix:///var/run/docker.sock</dockerHost>
218                     <images>
219                         <image>
220                             <name>snexus.stylefeng.cn:6001/guns-api:${docker.img.version}</name>
221                             <build>
222                                 <from>java:8</from>
223                                 <assembly>
224                                     <descriptor>docker-assembly.xml</descriptor>
225                                 </assembly>
226                                 <cmd>
227                                     <shell>java -jar -Xms512m -Xmx512m -Xss1024K -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m /maven/${project.artifactId}.jar</shell>
228                                 </cmd>
229                             </build>
230                         </image>
231                     </images>
232                 </configuration>
233             </plugin>
234         </plugins>
235     </build>
236
237 </project>