完善构建程序包MANIFEST.MF中的构建信息

This commit is contained in:
datagear 2021-02-09 22:47:17 +08:00
parent e156a51378
commit 861180ec7c
2 changed files with 22 additions and 0 deletions

View File

@ -121,6 +121,17 @@
<finalName>${productName}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Built-By>datagear.tech</Built-By>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>

11
pom.xml
View File

@ -87,6 +87,17 @@
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Built-By>datagear.tech</Built-By>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- 统一更新子模块版本号为父模块版本号插件 -->
<!-- mvn -N versions:update-child-modules -->
<plugin>