You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2018/11/19 16:14:03 UTC

[ambari-logsearch] 19/28: AMBARI-24875. Log Search: cannot build sub-modules separately. (#20)

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

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

commit f26a9f81b30486bcec30a56d7edb6ac3af8f0d6f
Author: Olivér Szabó <ol...@gmail.com>
AuthorDate: Sun Nov 11 18:54:32 2018 +0100

    AMBARI-24875. Log Search: cannot build sub-modules separately. (#20)
---
 .gitignore |  1 +
 pom.xml    | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/.gitignore b/.gitignore
index e9491db..5062a44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ node/
 .hg
 .hgignore
 .hgtags
+.flattened-pom.xml
diff --git a/pom.xml b/pom.xml
index 21d236c..a5e4ef2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -178,6 +178,30 @@
       </plugins>
     </pluginManagement>
     <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>flatten-maven-plugin</artifactId>
+        <version>1.0.0</version>
+        <configuration>
+          <updatePomFile>true</updatePomFile>
+        </configuration>
+        <executions>
+          <execution>
+            <id>flatten</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>flatten</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>flatten.clean</id>
+            <phase>clean</phase>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
        <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>rpm-maven-plugin</artifactId>