Michael Blow has uploaded a new change for review. https://asterix-gerrit.ics.uci.edu/844
Change subject: Run git-commit-id-plugin Once ...................................................................... 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 --- M asterixdb/asterix-app/pom.xml M asterixdb/pom.xml 2 files changed, 27 insertions(+), 27 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/44/844/1 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> 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> -- To view, visit https://asterix-gerrit.ics.uci.edu/844 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I21122d45c9b3e5909ee0634a68dd02df6d6d9313 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Michael Blow <michael.b...@couchbase.com>