asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mb...@apache.org
Subject incubator-asterixdb git commit: Run git-commit-id-plugin Once
Date Fri, 13 May 2016 00:16:38 GMT
Repository: incubator-asterixdb
Updated Branches:
  refs/heads/master b7ca56c59 -> a98d0de2d


Run git-commit-id-plugin Once

Only run the git-commit-id-plugin on the asterix-app build, to improve build
performnace.  Generate the git.properties directly into the target directory.

Change-Id: I21122d45c9b3e5909ee0634a68dd02df6d6d9313
Reviewed-on: https://asterix-gerrit.ics.uci.edu/844
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/commit/a98d0de2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/tree/a98d0de2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/diff/a98d0de2

Branch: refs/heads/master
Commit: a98d0de2d46e51794b5e34adf211371fceca56ae
Parents: b7ca56c
Author: Michael Blow <mblow@apache.org>
Authored: Wed May 11 16:22:52 2016 -0700
Committer: Michael Blow <michael.blow@couchbase.com>
Committed: Thu May 12 17:16:41 2016 -0700

----------------------------------------------------------------------
 asterixdb/asterix-app/pom.xml | 27 +++++++++++++++++++++++++++
 asterixdb/pom.xml             | 27 ---------------------------
 2 files changed, 27 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/a98d0de2/asterixdb/asterix-app/pom.xml
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index b33f1eb..19c2d5a 100644
--- a/asterixdb/asterix-app/pom.xml
+++ b/asterixdb/asterix-app/pom.xml
@@ -64,6 +64,33 @@
         </executions>
       </plugin>
       <plugin>
+        <groupId>pl.project13.maven</groupId>
+        <artifactId>git-commit-id-plugin</artifactId>
+        <version>2.2.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>revision</goal>
+            </goals>
+          </execution>
+        </executions>
+
+        <configuration>
+          <!--
+              If you'd like to tell the plugin where your .git directory is,
+              use this setting, otherwise we'll perform a search trying to
+              figure out the right directory. It's better to add it explicite IMHO.
+          -->
+          <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
+          <!-- this is false by default, forces the plugin to generate the git.properties
file -->
+          <generateGitPropertiesFile>true</generateGitPropertiesFile>
+
+          <!-- The path for the to be generated properties file, it's relative to ${project.basedir}
-->
+          <generateGitPropertiesFilename>./target/classes/git.properties</generateGitPropertiesFilename>
+        </configuration>
+
+      </plugin>
+      <plugin>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>
           <execution>

http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/a98d0de2/asterixdb/pom.xml
----------------------------------------------------------------------
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index 59c5c96..d0e5c40 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -162,33 +162,6 @@
         </configuration>
       </plugin>
       <plugin>
-        <groupId>pl.project13.maven</groupId>
-        <artifactId>git-commit-id-plugin</artifactId>
-        <version>2.2.0</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>revision</goal>
-            </goals>
-          </execution>
-        </executions>
-
-        <configuration>
-          <!--
-              If you'd like to tell the plugin where your .git directory is,
-              use this setting, otherwise we'll perform a search trying to
-              figure out the right directory. It's better to add it explicite IMHO.
-          -->
-          <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
-          <!-- this is false by default, forces the plugin to generate the git.properties
file -->
-          <generateGitPropertiesFile>true</generateGitPropertiesFile>
-
-          <!-- The path for the to be generated properties file, it's relative to ${project.basedir}
-->
-          <generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
-        </configuration>
-
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-remote-resources-plugin</artifactId>
         <executions>


Mime
View raw message