修改版本号,修改打包参数
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>cn.somkit</groupId>
|
||||
<artifactId>fmt</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<version>1.3.0</version>
|
||||
<name>fmt</name>
|
||||
<description>fmt</description>
|
||||
<properties>
|
||||
|
||||
@@ -30,6 +30,16 @@
|
||||
<outputDirectory>${file.separator}bin</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<!--拷贝版本记录到jar包的外部版本记录目录下面-->
|
||||
<fileSet>
|
||||
<directory>${basedir}/版本记录</directory>
|
||||
<includes>
|
||||
<include>*.md</include>
|
||||
</includes>
|
||||
<filtered>true</filtered>
|
||||
<outputDirectory>${file.separator}versions</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<!--拷贝lib包到jar包的外部lib下面-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
chcp 65001
|
||||
SET JAR=D:/fmt/fmt-1.2.0.jar
|
||||
SET JAR=D:/fmt/fmt-1.3.0.jar
|
||||
SET JAR_CONFIG=D:/fmt/config/
|
||||
SET JAR_LIB=D:/fmt/lib/
|
||||
java -Dfile.encoding=utf-8 -jar %JAR% --spring.config.location=%JAR_CONFIG% --spring.lib.location=%JAR_LIB%
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
JAR=/home/deploy/fmt/fmt-1.2.0.jar
|
||||
JAR=/home/deploy/fmt/fmt-1.3.0.jar
|
||||
JAR_CONFIG=/home/deploy/fmt/config/
|
||||
JAR_LIB=/home/deploy/fmt/lib/
|
||||
JAVA_HOME=/usr/local/jdk-17.0.7
|
||||
|
||||
Reference in New Issue
Block a user