Blame view

huaheng-wms-core/pom.xml 12.2 KB
肖超群 authored
1
2
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
3
    xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
肖超群 authored
4
5
6
7
8
9
10
11
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.huaheng.wms</groupId>
        <artifactId>huaheng-wms4</artifactId>
        <version>4.0.1</version>
    </parent>
谭毅彬 authored
12
    <artifactId>huaheng-wms-core</artifactId>
肖超群 authored
13
14
    <packaging>jar</packaging>
15
16
17
18
19
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.build.timestamp.format>yyyy-MM-dd-HH</maven.build.timestamp.format>
    </properties>
肖超群 authored
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jeecgframework.boot</groupId>
            <artifactId>jeecg-system-local-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jeecgframework.boot</groupId>
            <artifactId>jeecg-boot-base-core</artifactId>
        </dependency>
35
肖超群 authored
36
        <dependency>
37
38
39
40
41
42
43
44
            <groupId>org.jeecgframework.boot</groupId>
            <artifactId>jeecg-boot-starter-lock</artifactId>
        </dependency>

        <dependency>
            <groupId>org.redisson</groupId>
            <artifactId>redisson</artifactId>
        </dependency>
谭毅彬 authored
45
46
47
48
        <dependency>
            <groupId>cn.monitor4all</groupId>
            <artifactId>log-record-starter</artifactId>
49
            <version>1.3.1</version>
50
        </dependency>
51
        <dependency>
谭毅彬 authored
52
53
54
55
56
            <groupId>org.bouncycastle</groupId>
            <artifactId>bcprov-jdk15on</artifactId>
            <version>1.69</version>
        </dependency>
        <dependency>
谭毅彬 authored
57
58
59
60
61
62
            <groupId>com.googlecode.log4jdbc</groupId>
            <artifactId>log4jdbc</artifactId>
            <version>1.2</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
肖超群 authored
63
64
65
66
            <groupId>com.github.abel533</groupId>
            <artifactId>ECharts</artifactId>
            <version>3.0.0.5</version>
        </dependency>
67
68
69
70
71
        <dependency>
            <groupId>com.dameng</groupId>
            <artifactId>DmJdbcDriver18</artifactId>
            <version>8.1.2.192</version>
        </dependency>
谭毅彬 authored
72
73
74
75
76
        <dependency>
            <groupId>com.mchange</groupId>
            <artifactId>c3p0</artifactId>
            <version>0.9.5.2</version>
        </dependency>
肖超群 authored
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
        <!-- jeewx api -->
        <dependency>
            <groupId>org.jeecgframework</groupId>
            <artifactId>jeewx-api</artifactId>
            <version>1.4.7</version>
            <exclusions>
                <exclusion>
                    <artifactId>commons-beanutils</artifactId>
                    <groupId>commons-beanutils</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-lang</artifactId>
                    <groupId>commons-lang</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- 积木报表 -->
        <dependency>
            <groupId>org.jeecgframework.jimureport</groupId>
            <artifactId>jimureport-spring-boot-starter</artifactId>
            <version>1.4.32</version>
        </dependency>
99
100
101
102
103
104

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>
105
        <!--swagger -->
谭毅彬 authored
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>3.0.0</version>
        </dependency>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
            <version>3.0.0</version>
        </dependency>
        <dependency>
            <groupId>io.swagger</groupId>
            <artifactId>swagger-annotations</artifactId>
            <version>1.5.22</version>
        </dependency>
        <dependency>
            <groupId>com.github.xiaoymin</groupId>
            <artifactId>swagger-bootstrap-ui</artifactId>
            <version>1.8.7</version>
        </dependency>
126
127
128
129
130
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <optional>true</optional>
        </dependency>
肖超群 authored
131
    </dependencies>
132
133
    <build>
谭毅彬 authored
134
        <defaultGoal>compile</defaultGoal>
135
        <finalName>${project.artifactId}-${build.time}</finalName>
136
        <plugins>
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>timestamp-property</id>
                        <goals>
                            <goal>timestamp-property</goal>
                        </goals>
                        <configuration>
                            <name>build.time</name>
                            <pattern>yyyy-MM-dd-HH</pattern>
                            <locale>en_US</locale>
                            <timeZone>GMT+8</timeZone>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
155
            <!-- 指定JDK编译版本 -->
156
157
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
158
                <artifactId>maven-compiler-plugin</artifactId>
159
                <configuration>
160
161
162
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>UTF-8</encoding>
163
164
                </configuration>
            </plugin>
165
            <!-- 打包跳过测试 -->
166
167
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
168
                <artifactId>maven-surefire-plugin</artifactId>
169
                <configuration>
170
                    <skipTests>true</skipTests>
171
                </configuration>
172
173
174
175
176
            </plugin>
            <!-- 将依赖jar文件复制到lib目录 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
177
178
                <executions>
                    <execution>
179
180
                        <id>copy-dependencies</id>
                        <phase>package</phase>
181
                        <goals>
182
                            <goal>copy-dependencies</goal>
183
184
                        </goals>
                        <configuration>
185
186
187
188
189
190
191
192
193
                            <!-- ${project.build.directory}maven内置变量 表示target目录 不写将在根目录下创建 -->
                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
                            <!-- excludeTransitive:是否不包含间接依赖包 -->
                            <excludeTransitive>false</excludeTransitive>
                            <!-- 复制的jar文件是否去掉版本信息 -->
                            <stripVersion>false</stripVersion>
                            <includeScope>runtime</includeScope>
                            <!-- 排除jar包 -->
                            <excludeArtifactIds>jeecg-boot-base-core</excludeArtifactIds>
194
195
196
197
                        </configuration>
                    </execution>
                </executions>
            </plugin>
198
            <!-- 生成jar包文件 -->
199
            <plugin>
200
201
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
谭毅彬 authored
202
                <!-- 引用外部lib文件夹启动jar包:java -jar -Dloader.path=./lib huaheng-wms-core-xxxx-xx-xx-xx.jar -->
203
                <configuration>
204
205
206
207
208
209
210
211
                    <mainClass>org.jeecg.JeecgSystemApplication</mainClass>
                    <layout>ZIP</layout>
                    <includes>
                        <include>
                            <groupId>org.jeecgframework.boot</groupId>
                            <artifactId>jeecg-boot-base-core</artifactId>
                        </include>
                    </includes>
212
                </configuration>
213
214
215
216
217
218
219
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
220
            </plugin>
221
222
223
224
225
226
227
228
229
230
231
232
233
234
        </plugins>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.xml</include>
                </includes>
            </resource>
        </resources>
    </build>
肖超群 authored
235
236
237
238
239
240
241

    <!-- 环境 -->
    <profiles>
        <!-- 开发 -->
        <profile>
            <id>dev</id>
            <activation>
242
                <!-- 默认激活配置 -->
肖超群 authored
243
244
245
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
246
                <!-- 当前环境 -->
肖超群 authored
247
                <profile.name>dev</profile.name>
248
                <!-- 配置文件前缀 -->
肖超群 authored
249
                <prefix.name>jeecg</prefix.name>
250
                <!-- Nacos配置中心地址 -->
肖超群 authored
251
                <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
252
                <!-- Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空 -->
肖超群 authored
253
                <config.namespace></config.namespace>
254
                <!-- Nacos用户名 -->
肖超群 authored
255
                <config.username>nacos</config.username>
256
                <!-- Nacos密码 -->
肖超群 authored
257
                <config.password>nacos</config.password>
258
                <!-- Nacos配置分组名称 -->
肖超群 authored
259
                <config.group>DEFAULT_GROUP</config.group>
260
                <!-- Nacos服务发现地址 -->
肖超群 authored
261
262
263
264
265
266
267
                <discovery.server-addr>jeecg-boot-nacos:8848</discovery.server-addr>
            </properties>
        </profile>
        <!-- 测试 -->
        <profile>
            <id>test</id>
            <properties>
268
                <!-- 当前环境 -->
肖超群 authored
269
                <profile.name>test</profile.name>
270
                <!-- 配置文件前缀 -->
肖超群 authored
271
                <prefix.name>jeecg</prefix.name>
272
                <!-- Nacos配置中心地址 -->
肖超群 authored
273
                <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
274
                <!-- Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空 -->
肖超群 authored
275
                <config.namespace></config.namespace>
276
                <!-- Nacos用户名 -->
肖超群 authored
277
                <config.username>nacos</config.username>
278
                <!-- Nacos密码 -->
肖超群 authored
279
                <config.password>nacos</config.password>
280
                <!-- Nacos配置分组名称 -->
肖超群 authored
281
                <config.group>DEFAULT_GROUP</config.group>
282
                <!-- Nacos服务发现地址 -->
肖超群 authored
283
284
285
286
287
288
289
                <discovery.server-addr>jeecg-boot-nacos:8848</discovery.server-addr>
            </properties>
        </profile>
        <!-- 生产 -->
        <profile>
            <id>prod</id>
            <properties>
290
                <!-- 当前环境,生产环境为空 -->
肖超群 authored
291
                <profile.name>prod</profile.name>
292
                <!-- 配置文件前缀 -->
肖超群 authored
293
                <prefix.name>jeecg</prefix.name>
294
                <!-- Nacos配置中心地址 -->
肖超群 authored
295
                <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
296
                <!-- Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空 -->
肖超群 authored
297
                <config.namespace></config.namespace>
298
                <!-- Nacos用户名 -->
肖超群 authored
299
                <config.username>nacos</config.username>
300
                <!-- Nacos密码 -->
肖超群 authored
301
                <config.password>nacos</config.password>
302
                <!-- Nacos配置分组名称 -->
肖超群 authored
303
                <config.group>DEFAULT_GROUP</config.group>
304
                <!-- Nacos服务发现地址 -->
肖超群 authored
305
306
307
308
                <discovery.server-addr>jeecg-boot-nacos:8848</discovery.server-addr>
            </properties>
        </profile>
    </profiles>
肖超群 authored
309
</project>