You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by fl...@apache.org on 2018/06/04 18:56:51 UTC

[1/8] tinkerpop git commit: TINKERPOP-1897 Prevent tagging of rc docker images with 3.2 CTR

Repository: tinkerpop
Updated Branches:
  refs/heads/master 7702b4b83 -> d7843fea0
  refs/heads/tp32 144c69801 -> aac534e11
  refs/heads/tp33 ee65d5f2b -> d4faa6605


TINKERPOP-1897 Prevent tagging of rc docker images with 3.2 CTR

Tags like 3.2 should only point to stable releases.


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

Branch: refs/heads/master
Commit: aac534e11fa406bedc61dbc060d06740b898e170
Parents: 144c698
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:41:00 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:41:00 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml |  4 ++--
 gremlin-server/pom.xml  |  4 ++--
 pom.xml                 | 16 ++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/gremlin-console/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index 29df2a4..8a4a12c 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -379,7 +379,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                             <execution>
@@ -401,7 +401,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                         </executions>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/gremlin-server/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-server/pom.xml b/gremlin-server/pom.xml
index a75b6c5..517f029 100644
--- a/gremlin-server/pom.xml
+++ b/gremlin-server/pom.xml
@@ -287,7 +287,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                             <execution>
@@ -309,7 +309,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                         </executions>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f2484f8..a9be62d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -286,6 +286,22 @@ limitations under the License.
                         </configuration>
                     </execution>
                     <execution>
+                        <!-- sets the only.when.is.prerelease.version property to true if a prerelease version was used, 
+                            to the project version otherwise -->
+                        <id>build-helper-regex-is-prerelease-version</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>regex-property</goal>
+                        </goals>
+                        <configuration>
+                            <name>only.when.is.prerelease.version</name>
+                            <value>${project.version}</value>
+                            <regex>.*-.*</regex>
+                            <replacement>true</replacement>
+                            <failIfNoMatch>false</failIfNoMatch>
+                        </configuration>
+                    </execution>
+                    <execution>
                         <id>parse-version</id>
                         <goals>
                             <goal>parse-version</goal>


[5/8] tinkerpop git commit: Merge branch 'tp32' into tp33

Posted by fl...@apache.org.
Merge branch 'tp32' into tp33


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/055f1d5e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/055f1d5e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/055f1d5e

Branch: refs/heads/master
Commit: 055f1d5ee33c6f0f49267ef48365eff9f0d0bafa
Parents: ee65d5f aac534e
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:41:28 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:41:28 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml |  4 ++--
 gremlin-server/pom.xml  |  4 ++--
 pom.xml                 | 16 ++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/055f1d5e/gremlin-console/pom.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/055f1d5e/gremlin-server/pom.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/055f1d5e/pom.xml
----------------------------------------------------------------------


[4/8] tinkerpop git commit: Merge branch 'tp32' into tp33

Posted by fl...@apache.org.
Merge branch 'tp32' into tp33


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/055f1d5e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/055f1d5e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/055f1d5e

Branch: refs/heads/tp33
Commit: 055f1d5ee33c6f0f49267ef48365eff9f0d0bafa
Parents: ee65d5f aac534e
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:41:28 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:41:28 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml |  4 ++--
 gremlin-server/pom.xml  |  4 ++--
 pom.xml                 | 16 ++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/055f1d5e/gremlin-console/pom.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/055f1d5e/gremlin-server/pom.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/055f1d5e/pom.xml
----------------------------------------------------------------------


[6/8] tinkerpop git commit: TINKERPOP-1897 Add latest tag for docker images CTR

Posted by fl...@apache.org.
TINKERPOP-1897 Add latest tag for docker images CTR


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

Branch: refs/heads/tp33
Commit: d4faa6605495e072d65578682d2ed5fd12bdb5ad
Parents: 055f1d5
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:56:04 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:56:04 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml | 21 +++++++++++++++++++++
 gremlin-server/pom.xml  | 21 +++++++++++++++++++++
 2 files changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d4faa660/gremlin-console/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index b933bf8..d9fc35f 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -383,6 +383,16 @@ limitations under the License.
                                 </configuration>
                             </execution>
                             <execution>
+                                <id>docker-image-tag-latest</id>
+                                <goals>
+                                    <goal>tag</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
                                 <id>docker-image-push</id>
                                 <phase>deploy</phase>
                                 <goals>
@@ -404,6 +414,17 @@ limitations under the License.
                                     <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
+                            <execution>
+                                <id>docker-image-push-latest</id>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>push</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
                         </executions>
                         <configuration>
                             <repository>tinkerpop/gremlin-console</repository>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d4faa660/gremlin-server/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-server/pom.xml b/gremlin-server/pom.xml
index 7b20c69..01d5f3e 100644
--- a/gremlin-server/pom.xml
+++ b/gremlin-server/pom.xml
@@ -293,6 +293,16 @@ limitations under the License.
                                 </configuration>
                             </execution>
                             <execution>
+                                <id>docker-image-tag-latest</id>
+                                <goals>
+                                    <goal>tag</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
                                 <id>docker-image-push</id>
                                 <phase>deploy</phase>
                                 <goals>
@@ -314,6 +324,17 @@ limitations under the License.
                                     <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
+                            <execution>
+                                <id>docker-image-push-latest</id>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>push</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
                         </executions>
                         <configuration>
                             <repository>tinkerpop/gremlin-server</repository>


[2/8] tinkerpop git commit: TINKERPOP-1897 Prevent tagging of rc docker images with 3.2 CTR

Posted by fl...@apache.org.
TINKERPOP-1897 Prevent tagging of rc docker images with 3.2 CTR

Tags like 3.2 should only point to stable releases.


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

Branch: refs/heads/tp32
Commit: aac534e11fa406bedc61dbc060d06740b898e170
Parents: 144c698
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:41:00 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:41:00 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml |  4 ++--
 gremlin-server/pom.xml  |  4 ++--
 pom.xml                 | 16 ++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/gremlin-console/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index 29df2a4..8a4a12c 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -379,7 +379,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                             <execution>
@@ -401,7 +401,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                         </executions>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/gremlin-server/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-server/pom.xml b/gremlin-server/pom.xml
index a75b6c5..517f029 100644
--- a/gremlin-server/pom.xml
+++ b/gremlin-server/pom.xml
@@ -287,7 +287,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                             <execution>
@@ -309,7 +309,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                         </executions>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f2484f8..a9be62d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -286,6 +286,22 @@ limitations under the License.
                         </configuration>
                     </execution>
                     <execution>
+                        <!-- sets the only.when.is.prerelease.version property to true if a prerelease version was used, 
+                            to the project version otherwise -->
+                        <id>build-helper-regex-is-prerelease-version</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>regex-property</goal>
+                        </goals>
+                        <configuration>
+                            <name>only.when.is.prerelease.version</name>
+                            <value>${project.version}</value>
+                            <regex>.*-.*</regex>
+                            <replacement>true</replacement>
+                            <failIfNoMatch>false</failIfNoMatch>
+                        </configuration>
+                    </execution>
+                    <execution>
                         <id>parse-version</id>
                         <goals>
                             <goal>parse-version</goal>


[8/8] tinkerpop git commit: Merge branch 'tp33'

Posted by fl...@apache.org.
Merge branch 'tp33'


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

Branch: refs/heads/master
Commit: d7843fea02a46423e06f8a2ff3e6a0f72cfb7c57
Parents: 7702b4b d4faa66
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:56:26 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:56:26 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml | 25 +++++++++++++++++++++++--
 gremlin-server/pom.xml  | 25 +++++++++++++++++++++++--
 pom.xml                 | 16 ++++++++++++++++
 3 files changed, 62 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d7843fea/gremlin-console/pom.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d7843fea/gremlin-server/pom.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d7843fea/pom.xml
----------------------------------------------------------------------


[7/8] tinkerpop git commit: TINKERPOP-1897 Add latest tag for docker images CTR

Posted by fl...@apache.org.
TINKERPOP-1897 Add latest tag for docker images CTR


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

Branch: refs/heads/master
Commit: d4faa6605495e072d65578682d2ed5fd12bdb5ad
Parents: 055f1d5
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:56:04 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:56:04 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml | 21 +++++++++++++++++++++
 gremlin-server/pom.xml  | 21 +++++++++++++++++++++
 2 files changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d4faa660/gremlin-console/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index b933bf8..d9fc35f 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -383,6 +383,16 @@ limitations under the License.
                                 </configuration>
                             </execution>
                             <execution>
+                                <id>docker-image-tag-latest</id>
+                                <goals>
+                                    <goal>tag</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
                                 <id>docker-image-push</id>
                                 <phase>deploy</phase>
                                 <goals>
@@ -404,6 +414,17 @@ limitations under the License.
                                     <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
+                            <execution>
+                                <id>docker-image-push-latest</id>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>push</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
                         </executions>
                         <configuration>
                             <repository>tinkerpop/gremlin-console</repository>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d4faa660/gremlin-server/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-server/pom.xml b/gremlin-server/pom.xml
index 7b20c69..01d5f3e 100644
--- a/gremlin-server/pom.xml
+++ b/gremlin-server/pom.xml
@@ -293,6 +293,16 @@ limitations under the License.
                                 </configuration>
                             </execution>
                             <execution>
+                                <id>docker-image-tag-latest</id>
+                                <goals>
+                                    <goal>tag</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
                                 <id>docker-image-push</id>
                                 <phase>deploy</phase>
                                 <goals>
@@ -314,6 +324,17 @@ limitations under the License.
                                     <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
+                            <execution>
+                                <id>docker-image-push-latest</id>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>push</goal>
+                                </goals>
+                                <configuration>
+                                    <tag>latest</tag>
+                                    <skip>${only.when.is.prerelease.version}</skip>
+                                </configuration>
+                            </execution>
                         </executions>
                         <configuration>
                             <repository>tinkerpop/gremlin-server</repository>


[3/8] tinkerpop git commit: TINKERPOP-1897 Prevent tagging of rc docker images with 3.2 CTR

Posted by fl...@apache.org.
TINKERPOP-1897 Prevent tagging of rc docker images with 3.2 CTR

Tags like 3.2 should only point to stable releases.


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

Branch: refs/heads/tp33
Commit: aac534e11fa406bedc61dbc060d06740b898e170
Parents: 144c698
Author: Florian Hockmann <fh...@florian-hockmann.de>
Authored: Mon Jun 4 20:41:00 2018 +0200
Committer: Florian Hockmann <fh...@florian-hockmann.de>
Committed: Mon Jun 4 20:41:00 2018 +0200

----------------------------------------------------------------------
 gremlin-console/pom.xml |  4 ++--
 gremlin-server/pom.xml  |  4 ++--
 pom.xml                 | 16 ++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/gremlin-console/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-console/pom.xml b/gremlin-console/pom.xml
index 29df2a4..8a4a12c 100644
--- a/gremlin-console/pom.xml
+++ b/gremlin-console/pom.xml
@@ -379,7 +379,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                             <execution>
@@ -401,7 +401,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                         </executions>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/gremlin-server/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-server/pom.xml b/gremlin-server/pom.xml
index a75b6c5..517f029 100644
--- a/gremlin-server/pom.xml
+++ b/gremlin-server/pom.xml
@@ -287,7 +287,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                             <execution>
@@ -309,7 +309,7 @@ limitations under the License.
                                 </goals>
                                 <configuration>
                                     <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</tag>
-                                    <skip>${only.when.is.snapshot.used}</skip>
+                                    <skip>${only.when.is.prerelease.version}</skip>
                                 </configuration>
                             </execution>
                         </executions>

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aac534e1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f2484f8..a9be62d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -286,6 +286,22 @@ limitations under the License.
                         </configuration>
                     </execution>
                     <execution>
+                        <!-- sets the only.when.is.prerelease.version property to true if a prerelease version was used, 
+                            to the project version otherwise -->
+                        <id>build-helper-regex-is-prerelease-version</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>regex-property</goal>
+                        </goals>
+                        <configuration>
+                            <name>only.when.is.prerelease.version</name>
+                            <value>${project.version}</value>
+                            <regex>.*-.*</regex>
+                            <replacement>true</replacement>
+                            <failIfNoMatch>false</failIfNoMatch>
+                        </configuration>
+                    </execution>
+                    <execution>
                         <id>parse-version</id>
                         <goals>
                             <goal>parse-version</goal>