Blame view

huaheng-wms-core/pom.xml 10.6 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
12
13
14
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.huaheng.wms</groupId>
        <artifactId>huaheng-wms4</artifactId>
        <version>4.0.1</version>
    </parent>

    <artifactId>huaheng-wms-core</artifactId>
    <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>
45
46
47
48
49
        <dependency>
            <groupId>cn.monitor4all</groupId>
            <artifactId>log-record-starter</artifactId>
            <version>1.4.1</version>
        </dependency>
50
        <dependency>
肖超群 authored
51
52
53
54
            <groupId>com.github.abel533</groupId>
            <artifactId>ECharts</artifactId>
            <version>3.0.0.5</version>
        </dependency>
55
56
57
58
59
        <dependency>
            <groupId>com.dameng</groupId>
            <artifactId>DmJdbcDriver18</artifactId>
            <version>8.1.2.192</version>
        </dependency>
肖超群 authored
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
        <!-- 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>
    </dependencies>
83
84
    <build>
谭毅彬 authored
85
        <defaultGoal>compile</defaultGoal>
86
        <finalName>${project.artifactId}-${build.time}</finalName>
87
        <plugins>
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
            <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>
106
            <!-- 指定JDK编译版本 -->
107
108
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
109
                <artifactId>maven-compiler-plugin</artifactId>
110
                <configuration>
111
112
113
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>UTF-8</encoding>
114
115
                </configuration>
            </plugin>
116
            <!-- 打包跳过测试 -->
117
118
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
119
                <artifactId>maven-surefire-plugin</artifactId>
120
                <configuration>
121
                    <skipTests>true</skipTests>
122
                </configuration>
123
124
125
126
127
            </plugin>
            <!-- 将依赖jar文件复制到lib目录 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
128
129
                <executions>
                    <execution>
130
131
                        <id>copy-dependencies</id>
                        <phase>package</phase>
132
                        <goals>
133
                            <goal>copy-dependencies</goal>
134
135
                        </goals>
                        <configuration>
136
137
138
139
140
141
142
143
144
                            <!-- ${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>
145
146
147
148
                        </configuration>
                    </execution>
                </executions>
            </plugin>
149
            <!-- 生成jar包文件 -->
150
            <plugin>
151
152
153
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <!-- 引用外部lib文件夹启动jar包:java -jar -Dloader.path=./lib huaheng-wms-core-4.0.1.jar -->
154
                <configuration>
155
156
157
158
159
160
161
162
                    <mainClass>org.jeecg.JeecgSystemApplication</mainClass>
                    <layout>ZIP</layout>
                    <includes>
                        <include>
                            <groupId>org.jeecgframework.boot</groupId>
                            <artifactId>jeecg-boot-base-core</artifactId>
                        </include>
                    </includes>
163
                </configuration>
164
165
166
167
168
169
170
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
171
            </plugin>
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
        </plugins>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.xml</include>
                    <include>**/*.json</include>
                    <include>**/*.ftl</include>
                </includes>
            </resource>
        </resources>
    </build>
肖超群 authored
188
189
190
191
192
193
194

    <!-- 环境 -->
    <profiles>
        <!-- 开发 -->
        <profile>
            <id>dev</id>
            <activation>
195
                <!-- 默认激活配置 -->
肖超群 authored
196
197
198
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
199
                <!-- 当前环境 -->
肖超群 authored
200
                <profile.name>dev</profile.name>
201
                <!-- 配置文件前缀 -->
肖超群 authored
202
                <prefix.name>jeecg</prefix.name>
203
                <!-- Nacos配置中心地址 -->
肖超群 authored
204
                <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
205
                <!-- Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空 -->
肖超群 authored
206
                <config.namespace></config.namespace>
207
                <!-- Nacos用户名 -->
肖超群 authored
208
                <config.username>nacos</config.username>
209
                <!-- Nacos密码 -->
肖超群 authored
210
                <config.password>nacos</config.password>
211
                <!-- Nacos配置分组名称 -->
肖超群 authored
212
                <config.group>DEFAULT_GROUP</config.group>
213
                <!-- Nacos服务发现地址 -->
肖超群 authored
214
215
216
217
218
219
220
                <discovery.server-addr>jeecg-boot-nacos:8848</discovery.server-addr>
            </properties>
        </profile>
        <!-- 测试 -->
        <profile>
            <id>test</id>
            <properties>
221
                <!-- 当前环境 -->
肖超群 authored
222
                <profile.name>test</profile.name>
223
                <!-- 配置文件前缀 -->
肖超群 authored
224
                <prefix.name>jeecg</prefix.name>
225
                <!-- Nacos配置中心地址 -->
肖超群 authored
226
                <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
227
                <!-- Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空 -->
肖超群 authored
228
                <config.namespace></config.namespace>
229
                <!-- Nacos用户名 -->
肖超群 authored
230
                <config.username>nacos</config.username>
231
                <!-- Nacos密码 -->
肖超群 authored
232
                <config.password>nacos</config.password>
233
                <!-- Nacos配置分组名称 -->
肖超群 authored
234
                <config.group>DEFAULT_GROUP</config.group>
235
                <!-- Nacos服务发现地址 -->
肖超群 authored
236
237
238
239
240
241
242
                <discovery.server-addr>jeecg-boot-nacos:8848</discovery.server-addr>
            </properties>
        </profile>
        <!-- 生产 -->
        <profile>
            <id>prod</id>
            <properties>
243
                <!-- 当前环境,生产环境为空 -->
肖超群 authored
244
                <profile.name>prod</profile.name>
245
                <!-- 配置文件前缀 -->
肖超群 authored
246
                <prefix.name>jeecg</prefix.name>
247
                <!-- Nacos配置中心地址 -->
肖超群 authored
248
                <config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
249
                <!-- Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空 -->
肖超群 authored
250
                <config.namespace></config.namespace>
251
                <!-- Nacos用户名 -->
肖超群 authored
252
                <config.username>nacos</config.username>
253
                <!-- Nacos密码 -->
肖超群 authored
254
                <config.password>nacos</config.password>
255
                <!-- Nacos配置分组名称 -->
肖超群 authored
256
                <config.group>DEFAULT_GROUP</config.group>
257
                <!-- Nacos服务发现地址 -->
肖超群 authored
258
259
260
261
                <discovery.server-addr>jeecg-boot-nacos:8848</discovery.server-addr>
            </properties>
        </profile>
    </profiles>
肖超群 authored
262
</project>