懒羊羊
2023-10-17 92cffc135581ce2cf4aecac745ddb88e739c17de
提交 | 用户 | 时间
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>
487b2f 76             <exclusions>
YY 77                 <exclusion>
78                     <artifactId>guava</artifactId>
79                     <groupId>com.google.guava</groupId>
80                 </exclusion>
81             </exclusions>
1ac2bc 82         </dependency>
83
84         <!-- 工作流 -->
85         <dependency>
86             <groupId>cn.stylefeng</groupId>
87             <artifactId>guns-workflow</artifactId>
88             <version>1.0.0</version>
89         </dependency>
90
91         <!-- 多租户 -->
92         <dependency>
93             <groupId>cn.stylefeng</groupId>
94             <artifactId>guns-tenant</artifactId>
95             <version>1.0.0</version>
96         </dependency>
97
98         <!-- 多语言 -->
99         <dependency>
100             <groupId>cn.stylefeng</groupId>
101             <artifactId>guns-i18n</artifactId>
102             <version>1.0.0</version>
103         </dependency>
104
105         <!-- excel高级导出 -->
106         <dependency>
107             <groupId>cn.stylefeng</groupId>
108             <artifactId>guns-excel</artifactId>
109             <version>1.0.0</version>
110         </dependency>
111
112         <!-- 代码生成器 -->
113         <dependency>
114             <groupId>cn.stylefeng</groupId>
115             <artifactId>guns-generator</artifactId>
116             <version>1.0.0</version>
117         </dependency>
118
119         <!-- 数据源容器 -->
120         <dependency>
121             <groupId>cn.stylefeng</groupId>
122             <artifactId>guns-dbctn</artifactId>
123             <version>1.0.0</version>
124         </dependency>
125
126         <!-- oauth2认证 -->
127         <dependency>
128             <groupId>cn.stylefeng</groupId>
129             <artifactId>guns-oauth2</artifactId>
130             <version>1.0.0</version>
131         </dependency>
132
133         <dependency>
134             <groupId>org.springframework.boot</groupId>
135             <artifactId>spring-boot-starter-test</artifactId>
136             <scope>test</scope>
137         </dependency>
138
139         <!--Client SDK依赖-->
140         <dependency>
141             <groupId>org.eclipse.milo</groupId>
142             <artifactId>sdk-client</artifactId>
487b2f 143             <version>0.3.6</version>
1ac2bc 144         </dependency>
145
146         <!--Server SDK依赖-->
147         <dependency>
148             <groupId>org.eclipse.milo</groupId>
149             <artifactId>sdk-server</artifactId>
487b2f 150             <version>0.3.6</version>
1ac2bc 151         </dependency>
152
153         <!-- Stack依赖-->
154         <dependency>
155             <groupId>org.eclipse.milo</groupId>
156             <artifactId>stack-client</artifactId>
487b2f 157             <version>0.3.6</version>
1ac2bc 158         </dependency>
487b2f 159
1ac2bc 160         <dependency>
161             <groupId>org.eclipse.milo</groupId>
162             <artifactId>stack-server</artifactId>
487b2f 163             <version>0.3.6</version>
1ac2bc 164         </dependency>
165
166         <dependency>
167             <groupId>org.eclipse.milo</groupId>
487b2f 168             <artifactId>stack-client</artifactId>
YY 169             <version>0.3.6</version>
1ac2bc 170         </dependency>
171
172         <dependency>
173             <groupId>org.springframework.boot</groupId>
174             <artifactId>spring-boot-starter-data-redis</artifactId>
175         </dependency>
176
177         <dependency>
178             <groupId>org.projectlombok</groupId>
179             <artifactId>lombok</artifactId>
180         </dependency>
181
182         <dependency>
183             <groupId>cn.hutool</groupId>
184             <artifactId>hutool-all</artifactId>
185             <version>5.6.0</version>
186         </dependency>
187
188         <dependency>
189             <groupId>org.apache.hadoop</groupId>
190             <artifactId>hadoop-client</artifactId>
191             <version>3.1.3</version>
487b2f 192             <exclusions>
YY 193                 <exclusion>
194                     <artifactId>guava</artifactId>
195                     <groupId>com.google.guava</groupId>
196                 </exclusion>
197             </exclusions>
1ac2bc 198         </dependency>
199
200         <dependency>
201             <groupId>org.springframework.boot</groupId>
202             <artifactId>spring-boot-starter-websocket</artifactId>
203         </dependency>
204
205     </dependencies>
206
207     <build>
208         <finalName>${project.artifactId}</finalName>
209         <plugins>
210             <plugin>
211                 <groupId>org.springframework.boot</groupId>
212                 <artifactId>spring-boot-maven-plugin</artifactId>
213                 <executions>
214                     <execution>
215                         <goals>
216                             <goal>repackage</goal>
217                         </goals>
218                     </execution>
219                 </executions>
220                 <configuration>
221                     <fork>true</fork><!-- 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
222                 </configuration>
223             </plugin>
224             <plugin>
225                 <groupId>io.fabric8</groupId>
226                 <artifactId>docker-maven-plugin</artifactId>
227                 <version>0.26.1</version>
228                 <configuration>
229                     <dockerHost>unix:///var/run/docker.sock</dockerHost>
230                     <images>
231                         <image>
232                             <name>snexus.stylefeng.cn:6001/guns-api:${docker.img.version}</name>
233                             <build>
234                                 <from>java:8</from>
235                                 <assembly>
236                                     <descriptor>docker-assembly.xml</descriptor>
237                                 </assembly>
238                                 <cmd>
239                                     <shell>java -jar -Xms512m -Xmx512m -Xss1024K -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m /maven/${project.artifactId}.jar</shell>
240                                 </cmd>
241                             </build>
242                         </image>
243                     </images>
244                 </configuration>
245             </plugin>
246         </plugins>
247     </build>
248
249 </project>