Skip to content
Permalink
Browse files
Update maven versioning (#11)
  • Loading branch information
oleewere committed Oct 24, 2018
1 parent 521b17b commit f694bddf1a8d7ccc747a7b5706309fddd895c23f
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 20 deletions.
@@ -47,7 +47,7 @@ deb:
$(MAVEN_BINARY) clean package -Dbuild-deb -DskipTests -Djdk.version=$(LOGSEARCH_JAVA_VERSION)

update-version:
$(MAVEN_BINARY) versions:set -DnewVersion=$(new-version) -DgenerateBackupPoms=false
$(MAVEN_BINARY) versions:set-property -Dproperty=revision -DnewVersion=$(new-version) -DgenerateBackupPoms=false

docker-build:
$(MAVEN_BINARY) clean package docker:build -DskipTests -Dlogsearch.docker.tag=$(LOGSEARCH_BUILD_DOCKER_TAG) -Djdk.version=$(LOGSEARCH_JAVA_VERSION)
@@ -8,7 +8,7 @@ Log Search is a sub-project of [Apache Ambari](https://github.com/apache/ambari)

## Development

Requires JDK 8 (JDK 11 is recommended)
Requires JDK 8 (JDK 11 is recommended) and Maven 3.5.x

### Prerequisites

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>ambari-logsearch-appender</artifactId>
@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<name>Ambari Logsearch Assembly</name>
<url>http://maven.apache.org</url>
@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -21,7 +21,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>

@@ -19,7 +19,7 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-logsearch-server</artifactId>
@@ -18,13 +18,11 @@
<parent>
<artifactId>ambari-logsearch</artifactId>
<groupId>org.apache.ambari</groupId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-logsearch-web</artifactId>
<name>Ambari Logsearch Web</name>
<version>2.0.0.0-SNAPSHOT</version>
<groupId>org.apache.ambari</groupId>
<description>Ambari Logsearch Web</description>

<properties>
@@ -19,9 +19,9 @@
<groupId>org.apache.ambari</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>ambari-logsearch</artifactId>
<version>2.0.0.0-SNAPSHOT</version>
<version>${revision}</version>
<packaging>pom</packaging>

<name>Ambari Logsearch Parent</name>
<url>http://maven.apache.org</url>
<profiles>
<profile>
@@ -76,6 +76,7 @@
</profile>
</profiles>
<properties>
<revision>3.0.0.0-SNAPSHOT</revision>
<jdk.version>1.8</jdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<python.ver>python &gt;= 2.6</python.ver>

0 comments on commit f694bdd

Please sign in to comment.