You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by du...@apache.org on 2019/09/06 10:22:44 UTC
[brooklyn-server] branch master updated: take build number from
submodules' git sha1
This is an automated email from the ASF dual-hosted git repository.
duncangrant pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
The following commit(s) were added to refs/heads/master by this push:
new f140a16 take build number from submodules' git sha1
new e9b63b4 Merge pull request #1065 from ahgittin/submodule-build-number
f140a16 is described below
commit f140a16c7b13ad500902bf371c97086ff7e82c28
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Fri Sep 6 09:53:15 2019 +0100
take build number from submodules' git sha1
instead of the root module, so that the SHA-1 written to manifests accurately reflects the state of the code that built it
---
parent/pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index 74c2783..a166956 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -775,7 +775,8 @@
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
- <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
+ <!-- where git submodules are built take the SHA-1 from the submodule as the build number -->
+ <getRevisionOnlyOnce>false</getRevisionOnlyOnce>
</configuration>
</plugin>
<plugin>