cl
2024-01-19 e0fac38b26845f25de479783e0c76cf12a5311e0
提交 | 用户 | 时间
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         <!--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         <dependency>
134             <groupId>org.springframework.boot</groupId>
135             <artifactId>spring-boot-starter-websocket</artifactId>
136         </dependency>
137
138     </dependencies>
139
140     <build>
141         <finalName>${project.artifactId}</finalName>
142         <plugins>
143             <plugin>
144                 <groupId>org.springframework.boot</groupId>
145                 <artifactId>spring-boot-maven-plugin</artifactId>
146                 <executions>
147                     <execution>
148                         <goals>
149                             <goal>repackage</goal>
150                         </goals>
151                     </execution>
152                 </executions>
153             </plugin>
154             <plugin>
155                 <groupId>io.fabric8</groupId>
156                 <artifactId>docker-maven-plugin</artifactId>
157                 <version>0.26.1</version>
158                 <configuration>
159                     <dockerHost>unix:///var/run/docker.sock</dockerHost>
160                     <images>
161                         <image>
162                             <name>snexus.stylefeng.cn:6001/guns-api:${docker.img.version}</name>
163                             <build>
164                                 <from>java:8</from>
165                                 <assembly>
166                                     <descriptor>docker-assembly.xml</descriptor>
167                                 </assembly>
168                                 <cmd>
169                                     <shell>java -jar -Xms512m -Xmx512m -Xss1024K -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m /maven/${project.artifactId}.jar</shell>
170                                 </cmd>
171                             </build>
172                         </image>
173                     </images>
174                 </configuration>
175             </plugin>
176         </plugins>
177     </build>
178
179 </project>