brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [1/2] brooklyn-dist git commit: Add build revision & branch to MANIFEST.MF for downstream projects
Date Mon, 30 May 2016 15:04:47 GMT
Repository: brooklyn-dist
Updated Branches:
  refs/heads/master adca2d1d8 -> 7241a61bb


Add build revision & branch to MANIFEST.MF for downstream projects


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/1bb99329
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/1bb99329
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/1bb99329

Branch: refs/heads/master
Commit: 1bb99329684ed8ee04b9784006c4d29dda148021
Parents: f4f0eca
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Tue Apr 12 15:43:52 2016 +0300
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Tue Apr 12 16:58:15 2016 +0300

----------------------------------------------------------------------
 downstream-parent/pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/1bb99329/downstream-parent/pom.xml
----------------------------------------------------------------------
diff --git a/downstream-parent/pom.xml b/downstream-parent/pom.xml
index 855d35c..560a208 100644
--- a/downstream-parent/pom.xml
+++ b/downstream-parent/pom.xml
@@ -416,8 +416,32 @@
         </file>
       </activation>
       <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>buildnumber-maven-plugin</artifactId>
+              <version>1.3</version>
+              <configuration>
+                <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
         <plugins>
           <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>buildnumber-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>validate</phase>
+                <goals>
+                  <goal>create</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
             <groupId>org.apache.felix</groupId>
             <artifactId>maven-bundle-plugin</artifactId>
             <extensions>true</extensions>
@@ -462,6 +486,8 @@
                   server's features list.
                 -->
                 <Brooklyn-Feature-Name>${project.name}</Brooklyn-Feature-Name>
+                <Implementation-SHA-1>${buildNumber}</Implementation-SHA-1>
+                <Implementation-Branch>${scmBranch}</Implementation-Branch>
               </instructions>
             </configuration>
           </plugin>


Mime
View raw message