Ian Maxon has uploaded a new change for review. https://asterix-gerrit.ics.uci.edu/3323
Change subject: [NO ISSUE] Set version based on git ...................................................................... [NO ISSUE] Set version based on git Add the maven-git-versioning extension to set the maven version at runtime based on the git commit. This should enable us to cache jars between builds of a patch on a single machine Change-Id: Ieb7b1a0e3c120378895d014ede018e293181ce19 --- A .mvn/extensions.xml A .mvn/maven-git-versioning-extension.xml A asterixdb/.mvn/extensions.xml A asterixdb/.mvn/maven-git-versioning-extension.xml A hyracks-fullstack/.mvn/extensions.xml A hyracks-fullstack/.mvn/maven-git-versioning-extension.xml 6 files changed, 81 insertions(+), 0 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/23/3323/1 diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..f709341 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,10 @@ +<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> + + <extension> + <groupId>me.qoomon</groupId> + <artifactId>maven-git-versioning-extension</artifactId> + <version>4.0.6</version> + </extension> + +</extensions> diff --git a/.mvn/maven-git-versioning-extension.xml b/.mvn/maven-git-versioning-extension.xml new file mode 100644 index 0000000..e2bd920 --- /dev/null +++ b/.mvn/maven-git-versioning-extension.xml @@ -0,0 +1,17 @@ +<gitVersioning> + <branch> + <pattern>master</pattern> + <versionFormat>${version}</versionFormat> + </branch> + <branch> + <pattern><![CDATA[feature/(?<feature>.+)]]></pattern> + <versionFormat>${feature}-SNAPSHOT</versionFormat> + </branch> + <tag> + <pattern><![CDATA[v(?<tagVersion>[0-9].*)]]></pattern> + <versionFormat>${tagVersion}</versionFormat> + </tag> + <commit> + <versionFormat>${commit.short}</versionFormat> + </commit> +</gitVersioning> diff --git a/asterixdb/.mvn/extensions.xml b/asterixdb/.mvn/extensions.xml new file mode 100644 index 0000000..f709341 --- /dev/null +++ b/asterixdb/.mvn/extensions.xml @@ -0,0 +1,10 @@ +<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> + + <extension> + <groupId>me.qoomon</groupId> + <artifactId>maven-git-versioning-extension</artifactId> + <version>4.0.6</version> + </extension> + +</extensions> diff --git a/asterixdb/.mvn/maven-git-versioning-extension.xml b/asterixdb/.mvn/maven-git-versioning-extension.xml new file mode 100644 index 0000000..e2bd920 --- /dev/null +++ b/asterixdb/.mvn/maven-git-versioning-extension.xml @@ -0,0 +1,17 @@ +<gitVersioning> + <branch> + <pattern>master</pattern> + <versionFormat>${version}</versionFormat> + </branch> + <branch> + <pattern><![CDATA[feature/(?<feature>.+)]]></pattern> + <versionFormat>${feature}-SNAPSHOT</versionFormat> + </branch> + <tag> + <pattern><![CDATA[v(?<tagVersion>[0-9].*)]]></pattern> + <versionFormat>${tagVersion}</versionFormat> + </tag> + <commit> + <versionFormat>${commit.short}</versionFormat> + </commit> +</gitVersioning> diff --git a/hyracks-fullstack/.mvn/extensions.xml b/hyracks-fullstack/.mvn/extensions.xml new file mode 100644 index 0000000..f709341 --- /dev/null +++ b/hyracks-fullstack/.mvn/extensions.xml @@ -0,0 +1,10 @@ +<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> + + <extension> + <groupId>me.qoomon</groupId> + <artifactId>maven-git-versioning-extension</artifactId> + <version>4.0.6</version> + </extension> + +</extensions> diff --git a/hyracks-fullstack/.mvn/maven-git-versioning-extension.xml b/hyracks-fullstack/.mvn/maven-git-versioning-extension.xml new file mode 100644 index 0000000..e2bd920 --- /dev/null +++ b/hyracks-fullstack/.mvn/maven-git-versioning-extension.xml @@ -0,0 +1,17 @@ +<gitVersioning> + <branch> + <pattern>master</pattern> + <versionFormat>${version}</versionFormat> + </branch> + <branch> + <pattern><![CDATA[feature/(?<feature>.+)]]></pattern> + <versionFormat>${feature}-SNAPSHOT</versionFormat> + </branch> + <tag> + <pattern><![CDATA[v(?<tagVersion>[0-9].*)]]></pattern> + <versionFormat>${tagVersion}</versionFormat> + </tag> + <commit> + <versionFormat>${commit.short}</versionFormat> + </commit> +</gitVersioning> -- To view, visit https://asterix-gerrit.ics.uci.edu/3323 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ieb7b1a0e3c120378895d014ede018e293181ce19 Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Ian Maxon <ima...@uci.edu>