Przeglądaj źródła

build: 增加配置版本信息

huangzqa 4 lat temu
rodzic
commit
500b615d0c
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      pom.xml

+ 6 - 2
pom.xml

@@ -8,7 +8,11 @@
     <name>approve-gateway</name>
     <description>approve-gateway</description>
     <properties>
-        <java.version>1.8</java.version>
+        <!--revisions需写死,用于标识打包的版本号,不可删除-->
+        <revision>1.0.2-tjdsj-SNAPSHOT</revision>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
     </properties>
 
     <dependencyManagement>
@@ -118,7 +122,7 @@
                                     <!--取消依赖包的时间戳-->
                                     <useBaseVersion>true</useBaseVersion>
                                     <!--排除licenseignore包,用来禁用许可开关,防止生产环境通过关闭开关,绕过许可-->
-                                   <!-- <excludeArtifactIds>duceap-support-licenseignore</excludeArtifactIds>-->
+                                    <!-- <excludeArtifactIds>duceap-support-licenseignore</excludeArtifactIds>-->
                                 </configuration>
                             </execution>
                             <execution>