You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jm...@apache.org on 2016/08/17 00:33:52 UTC
[58/58] ambari git commit: Add IBM regex and logic
Add IBM regex and logic
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d032f63b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d032f63b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d032f63b
Branch: refs/heads/branch-2.4
Commit: d032f63bfea2058b5d593c0f826e88132c8cd526
Parents: 5dc6eb8
Author: Juanjo Marron <jm...@us.ibm.com>
Authored: Thu Jul 21 17:59:00 2016 -0700
Committer: Juanjo Marron <ju...@yahoo.com>
Committed: Tue Aug 16 15:56:13 2016 -0700
----------------------------------------------------------------------
ambari-admin/pom.xml | 8 ++++----
ambari-agent/pom.xml | 8 ++++----
ambari-client/groovy-client/pom.xml | 4 ++--
ambari-client/pom.xml | 4 ++--
ambari-client/python-client/pom.xml | 4 ++--
ambari-metrics/ambari-metrics-assembly/pom.xml | 8 ++++----
ambari-metrics/ambari-metrics-common/pom.xml | 3 ++-
ambari-metrics/ambari-metrics-flume-sink/pom.xml | 8 ++++----
ambari-metrics/ambari-metrics-hadoop-sink/pom.xml | 8 ++++----
.../ambari-metrics-host-monitoring/pom.xml | 8 ++++----
ambari-metrics/ambari-metrics-kafka-sink/pom.xml | 8 ++++----
.../ambari-metrics-storm-sink-legacy/pom.xml | 4 ++--
ambari-metrics/ambari-metrics-storm-sink/pom.xml | 8 ++++----
.../ambari-metrics-timelineservice/pom.xml | 8 ++++----
ambari-metrics/pom.xml | 16 +++++++---------
ambari-project/pom.xml | 4 ++--
ambari-server/pom.xml | 8 ++++----
.../apache/ambari/server/utils/VersionUtils.java | 11 +++++------
ambari-shell/ambari-groovy-shell/pom.xml | 4 ++--
ambari-shell/ambari-python-shell/pom.xml | 4 ++--
ambari-shell/pom.xml | 4 ++--
ambari-views/pom.xml | 8 ++++----
ambari-web/pom.xml | 10 +++++-----
contrib/views/capacity-scheduler/pom.xml | 4 ++--
contrib/views/files/pom.xml | 4 ++--
contrib/views/hive/pom.xml | 4 ++--
contrib/views/jobs/pom.xml | 4 ++--
contrib/views/pig/pom.xml | 4 ++--
contrib/views/pom.xml | 4 ++--
contrib/views/slider/pom.xml | 4 ++--
contrib/views/storm/pom.xml | 4 ++--
contrib/views/utils/pom.xml | 4 ++--
pom.xml | 14 +++++---------
33 files changed, 102 insertions(+), 108 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-admin/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-admin/pom.xml b/ambari-admin/pom.xml
index c84a470..90332d6 100644
--- a/ambari-admin/pom.xml
+++ b/ambari-admin/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -27,7 +27,7 @@
<artifactId>ambari-admin</artifactId>
<packaging>jar</packaging>
<name>Ambari Admin View</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Admin control panel</description>
<build>
<plugins>
@@ -51,8 +51,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index c46a7d5..bb1feb5 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -19,14 +19,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-agent</artifactId>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Agent</name>
<description>Ambari Agent</description>
<properties>
@@ -74,8 +74,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-client/groovy-client/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-client/groovy-client/pom.xml b/ambari-client/groovy-client/pom.xml
index 7b88519..510eb5b 100644
--- a/ambari-client/groovy-client/pom.xml
+++ b/ambari-client/groovy-client/pom.xml
@@ -12,14 +12,14 @@
<parent>
<artifactId>ambari-client</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../../ambari-client/</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>groovy-client</artifactId>
<packaging>jar</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Groovy Client</name>
<description>Ambari Groovy client</description>
<properties>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-client/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-client/pom.xml b/ambari-client/pom.xml
index 95ed646..09ee241 100755
--- a/ambari-client/pom.xml
+++ b/ambari-client/pom.xml
@@ -20,14 +20,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-client</artifactId>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Client</name>
<description>Ambari client</description>
<modules>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-client/python-client/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-client/python-client/pom.xml b/ambari-client/python-client/pom.xml
index 933304b..4578dd6 100644
--- a/ambari-client/python-client/pom.xml
+++ b/ambari-client/python-client/pom.xml
@@ -19,14 +19,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-client</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../../ambari-client</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>python-client</artifactId>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Python Client</name>
<description>Ambari Python client</description>
<properties>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
index 7390191..01d68ca 100644
--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
+++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
@@ -23,13 +23,13 @@
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-assembly</artifactId>
<name>Ambari Metrics Assembly</name>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Ambari Metrics Assembly</description>
<properties>
@@ -79,8 +79,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-common/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-common/pom.xml b/ambari-metrics/ambari-metrics-common/pom.xml
index a931001..b5bf58d 100644
--- a/ambari-metrics/ambari-metrics-common/pom.xml
+++ b/ambari-metrics/ambari-metrics-common/pom.xml
@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-common</artifactId>
@@ -105,4 +105,5 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</project>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-flume-sink/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-flume-sink/pom.xml b/ambari-metrics/ambari-metrics-flume-sink/pom.xml
index dd27664..51270ea 100644
--- a/ambari-metrics/ambari-metrics-flume-sink/pom.xml
+++ b/ambari-metrics/ambari-metrics-flume-sink/pom.xml
@@ -22,11 +22,11 @@ limitations under the License.
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-flume-sink</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Metrics Flume Sink</name>
<packaging>jar</packaging>
<build>
@@ -76,8 +76,8 @@ limitations under the License.
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-hadoop-sink/pom.xml b/ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
index 6bf0db2..15911d9 100644
--- a/ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
+++ b/ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
@@ -22,11 +22,11 @@ limitations under the License.
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-hadoop-sink</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Metrics Hadoop Sink</name>
<packaging>jar</packaging>
<properties>
@@ -82,8 +82,8 @@ limitations under the License.
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-host-monitoring/pom.xml b/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
index f2c970f..1d8ab4b 100644
--- a/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
+++ b/ambari-metrics/ambari-metrics-host-monitoring/pom.xml
@@ -22,11 +22,11 @@
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<artifactId>ambari-metrics-host-monitoring</artifactId>
<name>Ambari Metrics Monitor</name>
<properties>
@@ -72,8 +72,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-kafka-sink/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-kafka-sink/pom.xml b/ambari-metrics/ambari-metrics-kafka-sink/pom.xml
index b4d8b44..8a63368 100644
--- a/ambari-metrics/ambari-metrics-kafka-sink/pom.xml
+++ b/ambari-metrics/ambari-metrics-kafka-sink/pom.xml
@@ -22,11 +22,11 @@ limitations under the License.
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-kafka-sink</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Metrics Kafka Sink</name>
<packaging>jar</packaging>
<build>
@@ -94,8 +94,8 @@ limitations under the License.
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml b/ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml
index 4e2986e..d7d1a48 100644
--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml
+++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml
@@ -22,11 +22,11 @@ limitations under the License.
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-storm-sink-legacy</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Metrics Storm Sink (Legacy)</name>
<packaging>jar</packaging>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-storm-sink/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-storm-sink/pom.xml b/ambari-metrics/ambari-metrics-storm-sink/pom.xml
index 267184a..edb6478 100644
--- a/ambari-metrics/ambari-metrics-storm-sink/pom.xml
+++ b/ambari-metrics/ambari-metrics-storm-sink/pom.xml
@@ -22,11 +22,11 @@ limitations under the License.
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-storm-sink</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Metrics Storm Sink</name>
<packaging>jar</packaging>
@@ -60,8 +60,8 @@ limitations under the License.
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
index 4444cce..c302990 100644
--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
@@ -22,11 +22,11 @@
<parent>
<artifactId>ambari-metrics</artifactId>
<groupId>org.apache.ambari</groupId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics-timelineservice</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Metrics Collector</name>
<packaging>jar</packaging>
@@ -61,8 +61,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-metrics/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
index 0c360f9..7a2dab7 100644
--- a/ambari-metrics/pom.xml
+++ b/ambari-metrics/pom.xml
@@ -18,7 +18,7 @@
<groupId>org.apache.ambari</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-metrics</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>ambari-metrics-common</module>
@@ -139,8 +139,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
@@ -206,8 +206,8 @@
<configuration>
<name>package-version</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>
</execution>
@@ -219,10 +219,8 @@
<configuration>
<name>package-release</name>
<value>${project.version}</value>
- <regex>
- ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-)((([a-zA-Z]+)?([0-9]+))|(SNAPSHOT)).*
- </regex>
- <replacement>$7</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_(([0-9]+)|(([0-9]+)(-SNAPSHOT))).*</regex>
+ <replacement>$5</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-project/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 64e0ff5..4c300ee 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -18,11 +18,11 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Apache Ambari Project POM</description>
<name>Apache Ambari Project POM</name>
<packaging>pom</packaging>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 84f66ac..649e57f 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -12,7 +12,7 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -20,7 +20,7 @@
<artifactId>ambari-server</artifactId>
<packaging>${packagingFormat}</packaging>
<name>Ambari Server</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Ambari Server</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -69,8 +69,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-server/src/main/java/org/apache/ambari/server/utils/VersionUtils.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/utils/VersionUtils.java b/ambari-server/src/main/java/org/apache/ambari/server/utils/VersionUtils.java
index d3d8592..d0067db 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/utils/VersionUtils.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/utils/VersionUtils.java
@@ -76,12 +76,11 @@ public class VersionUtils {
throw new IllegalArgumentException("maxLengthToCompare cannot be less than 0");
}
- if(BootStrapImpl.DEV_VERSION.equals(version1.trim())) {
- return 0;
- }
-
- String[] version1Parts = version1.split("\\.");
- String[] version2Parts = version2.split("\\.");
+ if(BootStrapImpl.DEV_VERSION.equals(version1.trim())) return 0;
+
+ String pattern = "^([0-9]+)\\.([0-9]+)\\.([0-9]+).*";
+ String[] version1Parts = version1.replaceAll(pattern, "$1.$2.$3").split("\\.");
+ String[] version2Parts = version2.replaceAll(pattern, "$1.$2.$3").split("\\.");
int length = Math.max(version1Parts.length, version2Parts.length);
length = maxLengthToCompare == 0 || maxLengthToCompare > length ? length : maxLengthToCompare;
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-shell/ambari-groovy-shell/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-shell/ambari-groovy-shell/pom.xml b/ambari-shell/ambari-groovy-shell/pom.xml
index 276ff42..f4f8902 100644
--- a/ambari-shell/ambari-groovy-shell/pom.xml
+++ b/ambari-shell/ambari-groovy-shell/pom.xml
@@ -12,7 +12,7 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-shell</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../../ambari-shell</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -20,7 +20,7 @@
<artifactId>ambari-groovy-shell</artifactId>
<packaging>jar</packaging>
<name>Ambari Groovy Shell</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Ambari Groovy Shell</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-shell/ambari-python-shell/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-shell/ambari-python-shell/pom.xml b/ambari-shell/ambari-python-shell/pom.xml
index 192bc4d..3b9d4da 100644
--- a/ambari-shell/ambari-python-shell/pom.xml
+++ b/ambari-shell/ambari-python-shell/pom.xml
@@ -19,14 +19,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-shell</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../../ambari-shell</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-python-shell</artifactId>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Python Shell</name>
<description>Ambari Python Shell</description>
<properties>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-shell/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-shell/pom.xml b/ambari-shell/pom.xml
index 387033c..99b82bd 100644
--- a/ambari-shell/pom.xml
+++ b/ambari-shell/pom.xml
@@ -21,14 +21,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-shell</artifactId>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Shell</name>
<description>Ambari Shell</description>
<modules>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-views/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-views/pom.xml b/ambari-views/pom.xml
index ef73073..4d2a89a 100644
--- a/ambari-views/pom.xml
+++ b/ambari-views/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -28,7 +28,7 @@
<artifactId>ambari-views</artifactId>
<packaging>jar</packaging>
<name>Ambari Views</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Ambari View interfaces.</description>
<dependencies>
<dependency>
@@ -75,8 +75,8 @@
<configuration>
<name>ambariVersion</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/ambari-web/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml
index ca75fe3..99a3a92 100644
--- a/ambari-web/pom.xml
+++ b/ambari-web/pom.xml
@@ -20,14 +20,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-web</artifactId>
<packaging>pom</packaging>
<name>Ambari Web</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Ambari Web</description>
<properties>
<ambari.dir>${project.parent.parent.basedir}</ambari.dir>
@@ -55,9 +55,9 @@
</goals>
<configuration>
<name>ambariVersion</name>
- <value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <value>${project.version}</value>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/capacity-scheduler/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/capacity-scheduler/pom.xml b/contrib/views/capacity-scheduler/pom.xml
index 5559600..9e6767e 100644
--- a/contrib/views/capacity-scheduler/pom.xml
+++ b/contrib/views/capacity-scheduler/pom.xml
@@ -19,13 +19,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>capacity-scheduler</artifactId>
- <version>1.0.0.0-SNAPSHOT</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Capacity Scheduler</name>
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<dependencies>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/files/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/files/pom.xml b/contrib/views/files/pom.xml
index 67851a5..b1a6993 100644
--- a/contrib/views/files/pom.xml
+++ b/contrib/views/files/pom.xml
@@ -19,13 +19,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>files</artifactId>
- <version>1.0.0.0-SNAPSHOT</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Files</name>
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<dependencies>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/hive/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hive/pom.xml b/contrib/views/hive/pom.xml
index a429d48..6d804fe 100644
--- a/contrib/views/hive/pom.xml
+++ b/contrib/views/hive/pom.xml
@@ -19,13 +19,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>hive</artifactId>
- <version>1.0.0.0-SNAPSHOT</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Hive</name>
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<dependencies>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/jobs/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/jobs/pom.xml b/contrib/views/jobs/pom.xml
index 6322375..2a4ed41 100644
--- a/contrib/views/jobs/pom.xml
+++ b/contrib/views/jobs/pom.xml
@@ -19,14 +19,14 @@
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>jobs</artifactId>
<packaging>jar</packaging>
<name>Jobs</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Jobs View</description>
<properties>
<ambari.dir>${project.parent.parent.parent.basedir}</ambari.dir>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/pig/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/pig/pom.xml b/contrib/views/pig/pom.xml
index 4082cc0..fd9fb15 100644
--- a/contrib/views/pig/pom.xml
+++ b/contrib/views/pig/pom.xml
@@ -19,13 +19,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>pig</artifactId>
- <version>1.0.0.0-SNAPSHOT</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Pig</name>
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<dependencies>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/pom.xml b/contrib/views/pom.xml
index f89af2c..572eec0 100644
--- a/contrib/views/pom.xml
+++ b/contrib/views/pom.xml
@@ -19,14 +19,14 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<relativePath>../../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
<packaging>pom</packaging>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari Contrib Views</name>
<properties>
<ambari.version>2.4.0.0.0</ambari.version>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/slider/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/slider/pom.xml b/contrib/views/slider/pom.xml
index ec47fdc..b7e7c92 100644
--- a/contrib/views/slider/pom.xml
+++ b/contrib/views/slider/pom.xml
@@ -13,13 +13,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>slider</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Slider</name>
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<dependencies>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/storm/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/storm/pom.xml b/contrib/views/storm/pom.xml
index d3c369b..c4374f1 100644
--- a/contrib/views/storm/pom.xml
+++ b/contrib/views/storm/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<properties>
<ambari.dir>${project.parent.parent.parent.basedir}</ambari.dir>
@@ -28,7 +28,7 @@
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>storm-view</artifactId>
<name>Storm_Monitoring</name>
- <version>0.1.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Storm Monitoring View</description>
<build>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/contrib/views/utils/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/utils/pom.xml b/contrib/views/utils/pom.xml
index b3ae02b..228e450 100644
--- a/contrib/views/utils/pom.xml
+++ b/contrib/views/utils/pom.xml
@@ -19,13 +19,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-views-utils</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<name>Ambari View Utils</name>
<parent>
<groupId>org.apache.ambari.contrib.views</groupId>
<artifactId>ambari-contrib-views</artifactId>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
</parent>
<dependencies>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d032f63b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1d729d3..b78396b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,13 +21,9 @@
<artifactId>ambari</artifactId>
<packaging>pom</packaging>
<name>Ambari Main</name>
- <version>2.4.0.0.0</version>
+ <version>2.4.0_IBM_000000-SNAPSHOT</version>
<description>Ambari</description>
<url>http://ambari.apache.org/</url>
- <scm>
- <url>https://github.com/apache/ambari</url>
- <connection>https://git-wip-us.apache.org/repos/asf/ambari.git</connection>
- </scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
@@ -174,8 +170,8 @@
<configuration>
<name>package-version</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)((\.|-).*)?</regex>
- <replacement>$1.$2.$3.$4</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_([0-9]+).*</regex>
+ <replacement>$1.$2.$3_$4</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>
</execution>
@@ -187,8 +183,8 @@
<configuration>
<name>package-release</name>
<value>${project.version}</value>
- <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)((\.|-)(([0-9]+)|(SNAPSHOT)|(techwin)).*)?</regex>
- <replacement>$7</replacement>
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)_(IBM)_(([0-9]+)|(([0-9]+)(-SNAPSHOT))).*</regex>
+ <replacement>$5</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>
</execution>