You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/03/29 09:28:54 UTC
[camel-spring-boot] branch main updated: CAMEL-19139: Add Build-Date in MANIFEST.MF
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new ebdaab584ce CAMEL-19139: Add Build-Date in MANIFEST.MF
ebdaab584ce is described below
commit ebdaab584cecd9b7ccf9de079ac928480a97e695
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Mar 29 11:28:45 2023 +0200
CAMEL-19139: Add Build-Date in MANIFEST.MF
---
parent/pom.xml | 32 ++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index 725d3fff912..7d881fa289b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -17,7 +17,8 @@
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -26,13 +27,17 @@
<version>4.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.apache.camel.springboot</groupId>
<artifactId>spring-boot-parent</artifactId>
<version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Camel SB :: Parent</name>
+ <properties>
+ <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
+ <maven-jar-plugin-version>3.3.0</maven-jar-plugin-version>
+ </properties>
+
<dependencyManagement>
<dependencies>
<dependency>
@@ -60,4 +65,27 @@
</dependencies>
</dependencyManagement>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${maven-jar-plugin-version}</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+ <Build-Date>${maven.build.timestamp}</Build-Date>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
</project>