From af6aa1caa09748d40c4ea18f714e33529247eef1 Mon Sep 17 00:00:00 2001
From: Evgeny Mandrikov
Date: Mon, 24 Dec 2012 23:09:51 +0100
Subject: [PATCH 1/4] Use buildnumber-maven-plugin
Add Eclipse-SourceReference headers (issue #7)
---
org.jacoco.build/pom.xml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/org.jacoco.build/pom.xml b/org.jacoco.build/pom.xml
index 5bf2972005..2eed5b97e6 100644
--- a/org.jacoco.build/pom.xml
+++ b/org.jacoco.build/pom.xml
@@ -369,6 +369,11 @@
build-helper-maven-plugin
1.5
+
+ org.codehaus.mojo
+ buildnumber-maven-plugin
+ 1.2
+
org.codehaus.mojo
xml-maven-plugin
@@ -527,6 +532,7 @@
+
org.codehaus.groovy.maven
gmaven-plugin
@@ -552,6 +558,25 @@
+
+
+ org.codehaus.mojo
+ buildnumber-maven-plugin
+
+
+ validate
+
+ create
+
+
+
+
+ false
+ false
+ true
+ 0
+
+
@@ -703,6 +728,9 @@
${bundle-manifest}
+
+ scm:git:git://github.com/jacoco/jacoco.git;path="${project.artifactId}";commitId=${buildNumber}
+
From c7abfe47c82c4370b5dff9df9fa44263154293f0 Mon Sep 17 00:00:00 2001
From: "Marc R. Hoffmann"
Date: Tue, 25 Dec 2012 00:58:03 +0100
Subject: [PATCH 2/4] Add commit hash to documentation.
---
org.jacoco.doc/docroot/index.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/org.jacoco.doc/docroot/index.html b/org.jacoco.doc/docroot/index.html
index 55dee87c09..69952419d7 100644
--- a/org.jacoco.doc/docroot/index.html
+++ b/org.jacoco.doc/docroot/index.html
@@ -23,7 +23,9 @@ JaCoCo - Java Code Coverage Library
- This is the distribution of version @qualified.bundle.version@ created on @build.date@.
+ This is the distribution of version @qualified.bundle.version@ created on
+ @build.date@ based on commit
+ @buildNumber@.
Contents
From 55ca6e2adcbfcc3ce6b61fc32fea931da3fa62b4 Mon Sep 17 00:00:00 2001
From: "Marc R. Hoffmann"
Date: Tue, 25 Dec 2012 22:24:03 +0100
Subject: [PATCH 3/4] Change log entry for Git commit hashes.
---
org.jacoco.doc/docroot/doc/changes.html | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html
index 9e0b027d74..102658e006 100644
--- a/org.jacoco.doc/docroot/doc/changes.html
+++ b/org.jacoco.doc/docroot/doc/changes.html
@@ -20,6 +20,16 @@ Change History
Trunk Build @qualified.bundle.version@ (@build.date@)
+New Features
+
+Fixed Bugs
+
+Non-functional Changes
+
+ - For every build the corresponding Git commit hash is included as
+
Eclipse-SourceReferences
manifest headers (GitHub #7, #59).
+
+
Release 0.6.1 (2012/12/23)
New Features
From 323d603d5f81f39d2059a92eba14d70e028051af Mon Sep 17 00:00:00 2001
From: Evgeny Mandrikov
Date: Wed, 26 Dec 2012 12:01:19 +0100
Subject: [PATCH 4/4] Update link to GitHub
---
org.jacoco.doc/docroot/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org.jacoco.doc/docroot/index.html b/org.jacoco.doc/docroot/index.html
index 69952419d7..40d98a859e 100644
--- a/org.jacoco.doc/docroot/index.html
+++ b/org.jacoco.doc/docroot/index.html
@@ -25,7 +25,7 @@ JaCoCo - Java Code Coverage Library
This is the distribution of version @qualified.bundle.version@ created on
@build.date@ based on commit
- @buildNumber@.
+ @buildNumber@.
Contents