Skip to content

Commit 01140b2

Browse files
committed
优化jib打包,httpclient5升级至5.4.1
1 parent ee72a08 commit 01140b2

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

opensabre-base-dependencies/pom.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<jib-maven-plugin.version>3.4.6</jib-maven-plugin.version>
5151
<!-- 测试 -->
5252
<junit-jupiter.version>5.11.4</junit-jupiter.version>
53-
<httpclient5.version>5.3.1</httpclient5.version>
53+
<httpclient5.version>5.4.1</httpclient5.version>
5454
</properties>
5555

5656
<!-- 依赖管理定义 -->
@@ -305,9 +305,11 @@
305305
<container>
306306
<user>1001</user>
307307
<workingDirectory>/app</workingDirectory>
308-
<ports>
309-
<port>8000</port>
310-
</ports>
308+
<!-- 设置环境变量 -->
309+
<environment>
310+
<!-- 设置时区 -->
311+
<TZ>Asia/Shanghai</TZ>
312+
</environment>
311313
<jvmFlags>-XX:+UseContainerSupport</jvmFlags>
312314
<creationTime>USE_CURRENT_TIMESTAMP</creationTime>
313315
</container>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
6464
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
6565

66-
<revision>0.1.1</revision>
66+
<revision>0.1.2</revision>
6767
</properties>
6868

6969
<!-- 发布配置 -->

0 commit comments

Comments
 (0)