This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ambari-logsearch.git


The following commit(s) were added to refs/heads/master by this push:
     new fb9db4b  AMBARI-24692. Update docs and fix metrics dependency.
fb9db4b is described below

commit fb9db4bd047159df0f545a0726392c5adcd13670
Author: Oliver Szabo <oleew...@gmail.com>
AuthorDate: Thu Sep 27 13:55:31 2018 +0200

    AMBARI-24692. Update docs and fix metrics dependency.
---
 README.md                          | 7 +++++--
 ambari-logsearch-logfeeder/pom.xml | 2 +-
 pom.xml                            | 1 +
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 992f49f..a0d2dc7 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,12 @@
 # Log Search
+[![Build 
Status](https://builds.apache.org/buildStatus/icon?job=Ambari-LogSearch-master-Commit)](https://builds.apache.org/view/A/view/Ambari/job/Ambari-LogSearch-master-Commit/)
+![license](http://img.shields.io/badge/license-Apache%20v2-blue.svg)
 
 Log aggregation, analysis, and visualization for Ambari managed (and any 
other) services.
 
 ## Development
 
-Requires JDK 11
+Requires JDK 8 (JDK 11 is recommended)
 
 ### Prerequisites
 
@@ -42,15 +44,16 @@ In case if you started the containers separately and if you 
would like to access
 
 ## Package build process
 
-
 1. Check out the code from GIT repository
 
 2. On the logsearch root folder (ambari/ambari-logsearch), please execute the 
following Maven command to build RPM/DPKG:
 ```bash
+# for building with jdk 8, use -Djdk.version=1.8
 mvn -Dbuild-rpm clean package
 ```
   or
 ```bash
+# for building with jdk 8, use -Djdk.version=1.8
 mvn -Dbuild-deb clean package
 ```
 3. Generated RPM/DPKG files will be found in ambari-logsearch-assembly/target 
folder
diff --git a/ambari-logsearch-logfeeder/pom.xml 
b/ambari-logsearch-logfeeder/pom.xml
index 0e6fff4..2582bb8 100644
--- a/ambari-logsearch-logfeeder/pom.xml
+++ b/ambari-logsearch-logfeeder/pom.xml
@@ -142,7 +142,7 @@
     <dependency>
       <groupId>org.apache.ambari</groupId>
       <artifactId>ambari-metrics-common</artifactId>
-      <version>${project.version}</version>
+      <version>${ambari-metrics.version}</version>
     </dependency>
     <dependency>
       <groupId>io.minio</groupId>
diff --git a/pom.xml b/pom.xml
index 502b16c..0fa9252 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,7 @@
     <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
     <skipSurefireTests>false</skipSurefireTests>
     <compiler.version>3.8.0</compiler.version>
+    <ambari-metrics.version>2.7.0.0.0</ambari-metrics.version>
   </properties>
 
   <licenses>

Reply via email to