diff --git a/org.eclipse.jgit.ant/pom.xml b/org.eclipse.jgit.ant/pom.xml index 59e7ca610..b6250c616 100644 --- a/org.eclipse.jgit.ant/pom.xml +++ b/org.eclipse.jgit.ant/pom.xml @@ -69,7 +69,7 @@ - + diff --git a/org.eclipse.jgit.archive/pom.xml b/org.eclipse.jgit.archive/pom.xml index 9a9734f03..dbfd6eebd 100644 --- a/org.eclipse.jgit.archive/pom.xml +++ b/org.eclipse.jgit.archive/pom.xml @@ -77,7 +77,7 @@ - + diff --git a/org.eclipse.jgit.gpg.bc/pom.xml b/org.eclipse.jgit.gpg.bc/pom.xml index c81be61c6..41a3d1ffe 100644 --- a/org.eclipse.jgit.gpg.bc/pom.xml +++ b/org.eclipse.jgit.gpg.bc/pom.xml @@ -93,7 +93,7 @@ - + diff --git a/org.eclipse.jgit.http.apache/pom.xml b/org.eclipse.jgit.http.apache/pom.xml index a1c942ce4..5e67eda46 100644 --- a/org.eclipse.jgit.http.apache/pom.xml +++ b/org.eclipse.jgit.http.apache/pom.xml @@ -74,7 +74,7 @@ - + diff --git a/org.eclipse.jgit.http.server/pom.xml b/org.eclipse.jgit.http.server/pom.xml index b54836cf5..d35ea7f53 100644 --- a/org.eclipse.jgit.http.server/pom.xml +++ b/org.eclipse.jgit.http.server/pom.xml @@ -76,7 +76,7 @@ - + diff --git a/org.eclipse.jgit.junit.http/pom.xml b/org.eclipse.jgit.junit.http/pom.xml index 048dc1348..46c88bb00 100644 --- a/org.eclipse.jgit.junit.http/pom.xml +++ b/org.eclipse.jgit.junit.http/pom.xml @@ -87,7 +87,7 @@ - + diff --git a/org.eclipse.jgit.junit.ssh/pom.xml b/org.eclipse.jgit.junit.ssh/pom.xml index 2409ea1ba..0b26edf74 100644 --- a/org.eclipse.jgit.junit.ssh/pom.xml +++ b/org.eclipse.jgit.junit.ssh/pom.xml @@ -101,7 +101,7 @@ - + diff --git a/org.eclipse.jgit.junit/pom.xml b/org.eclipse.jgit.junit/pom.xml index 3bce4808d..091db6b3d 100644 --- a/org.eclipse.jgit.junit/pom.xml +++ b/org.eclipse.jgit.junit/pom.xml @@ -72,7 +72,7 @@ - + diff --git a/org.eclipse.jgit.lfs.server/pom.xml b/org.eclipse.jgit.lfs.server/pom.xml index fcb91be64..8e8aedffd 100644 --- a/org.eclipse.jgit.lfs.server/pom.xml +++ b/org.eclipse.jgit.lfs.server/pom.xml @@ -91,7 +91,7 @@ - + diff --git a/org.eclipse.jgit.lfs/pom.xml b/org.eclipse.jgit.lfs/pom.xml index 888076634..6cddb81bc 100644 --- a/org.eclipse.jgit.lfs/pom.xml +++ b/org.eclipse.jgit.lfs/pom.xml @@ -71,7 +71,7 @@ - + diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index ba73e9204..715491d47 100644 --- a/org.eclipse.jgit.packaging/pom.xml +++ b/org.eclipse.jgit.packaging/pom.xml @@ -32,6 +32,7 @@ 11 4.0.2 jgit-4.17 + ${git.commit.time} @@ -223,7 +224,6 @@ json cyclonedx ${project.build.directory} - ${project.build.outputTimestamp} false @@ -235,6 +235,26 @@ + + io.github.git-commit-id + git-commit-id-maven-plugin + 6.0.0 + + + get-the-git-infos + + revision + + initialize + + + + false + true + yyyy-MM-dd'T'HH:mm:ss'Z' + UTC + + @@ -255,6 +275,30 @@ ISO-8859-1 + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + JGit ${project.artifactId} + ${project.version} + Eclipse.org - JGit + org.eclipse.jgit + ${jgit-url} + ${git.commit.id.describe} + ${git.commit.id} + ${git.commit.time} + ${git.tags} + ${git.remote.origin.url} + + + + + org.eclipse.tycho target-platform-configuration @@ -318,6 +362,22 @@ org.eclipse.tycho tycho-packaging-plugin ${tycho-version} + + + org.eclipse.tycho + tycho-buildtimestamp-jgit + ${tycho-version} + + + + jgit + + pom.xml + .polyglot.build.properties + target/ + + yyyyMMddHHmm + org.eclipse.tycho @@ -353,6 +413,15 @@ maven-site-plugin 3.12.1 + + org.apache.maven.plugins + maven-artifact-plugin + 3.5.0 + + **/*cyclonedx.json + true + + diff --git a/org.eclipse.jgit.pgm/pom.xml b/org.eclipse.jgit.pgm/pom.xml index de0548d5c..776207f86 100644 --- a/org.eclipse.jgit.pgm/pom.xml +++ b/org.eclipse.jgit.pgm/pom.xml @@ -205,7 +205,7 @@ - + diff --git a/org.eclipse.jgit.ssh.apache.agent/pom.xml b/org.eclipse.jgit.ssh.apache.agent/pom.xml index 5e4763309..ebf23743d 100644 --- a/org.eclipse.jgit.ssh.apache.agent/pom.xml +++ b/org.eclipse.jgit.ssh.apache.agent/pom.xml @@ -89,7 +89,7 @@ - + diff --git a/org.eclipse.jgit.ssh.apache/pom.xml b/org.eclipse.jgit.ssh.apache/pom.xml index f0ea60d5e..4dafa75c6 100644 --- a/org.eclipse.jgit.ssh.apache/pom.xml +++ b/org.eclipse.jgit.ssh.apache/pom.xml @@ -102,7 +102,7 @@ - + diff --git a/org.eclipse.jgit.ssh.jsch/pom.xml b/org.eclipse.jgit.ssh.jsch/pom.xml index 7237099e9..a794f627d 100644 --- a/org.eclipse.jgit.ssh.jsch/pom.xml +++ b/org.eclipse.jgit.ssh.jsch/pom.xml @@ -83,7 +83,7 @@ - + diff --git a/org.eclipse.jgit.ui/pom.xml b/org.eclipse.jgit.ui/pom.xml index 5dd17c6e6..ca19f2bec 100644 --- a/org.eclipse.jgit.ui/pom.xml +++ b/org.eclipse.jgit.ui/pom.xml @@ -70,7 +70,7 @@ - + diff --git a/org.eclipse.jgit/pom.xml b/org.eclipse.jgit/pom.xml index 28ba12641..32638d70f 100644 --- a/org.eclipse.jgit/pom.xml +++ b/org.eclipse.jgit/pom.xml @@ -83,7 +83,7 @@ - + diff --git a/pom.xml b/pom.xml index d969e33c8..18fc0f49f 100644 --- a/pom.xml +++ b/pom.xml @@ -113,10 +113,11 @@ UTF-8 UTF-8 - yyyyMMddHHmm 11 ${project.build.directory}/META-INF/MANIFEST.MF + ${commit.time.iso} + 6.7.0.202309050840-r 1.10.14 2.10.0 @@ -191,6 +192,11 @@ Eclipse.org - JGit org.eclipse.jgit ${jgit-url} + ${git.commit.id.describe} + ${git.commit.id} + ${git.commit.time} + ${git.tags} + ${git.remote.origin.url}