| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <groupId>org.apache.ambari</groupId> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>ambari-logsearch</artifactId> |
| <version>2.0.0.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <url>http://maven.apache.org</url> |
| <modules> |
| <module>ambari-logsearch-assembly</module> |
| <module>ambari-logsearch-appender</module> |
| <module>ambari-logsearch-server</module> |
| <module>ambari-logsearch-web</module> |
| <module>ambari-logsearch-logfeeder</module> |
| <module>ambari-logsearch-config-api</module> |
| <module>ambari-logsearch-config-zookeeper</module> |
| <module>ambari-logsearch-it</module> |
| <module>ambari-logsearch-logfeeder-plugin-api</module> |
| </modules> |
| <properties> |
| <jdk.version>1.8</jdk.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <python.ver>python >= 2.6</python.ver> |
| <deb.python.ver>python (>= 2.6)</deb.python.ver> |
| <deb.architecture>amd64</deb.architecture> |
| <deb.dependency.list>${deb.python.ver}</deb.dependency.list> |
| <solr.version>7.2.1</solr.version> |
| <hadoop.version>3.0.0</hadoop.version> |
| <common.io.version>2.5</common.io.version> |
| <forkCount>4</forkCount> |
| <reuseForks>false</reuseForks> |
| <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine> |
| <skipSurefireTests>false</skipSurefireTests> |
| </properties> |
| <repositories> |
| <repository> |
| <id>oss.sonatype.org</id> |
| <name>OSS Sonatype Staging</name> |
| <url>https://oss.sonatype.org/content/groups/staging</url> |
| </repository> |
| <repository> |
| <id>spring-milestones</id> |
| <name>Spring Milestones</name> |
| <url>http://repo.spring.io/milestone</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| <repository> |
| <id>ASF Staging</id> |
| <url>https://repository.apache.org/content/groups/staging/</url> |
| </repository> |
| <repository> |
| <id>ASF Snapshots</id> |
| <url>https://repository.apache.org/content/repositories/snapshots/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.4.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>properties-maven-plugin</artifactId> |
| <version>1.0.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.20</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <inherited>false</inherited> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>../ambari-project/src/main/assemblies/empty.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>build-tarball</id> |
| <phase>none</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.20</version> |
| <configuration> |
| <skip>${skipSurefireTests}</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.2</version> |
| <configuration> |
| <source>${jdk.version}</source> |
| <target>${jdk.version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}</directory> |
| <followSymlinks>false</followSymlinks> |
| <includes> |
| <include>**/*.pyc</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.8</version> |
| <executions> |
| <execution> |
| <id>parse-version</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>parse-version</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>regex-property</id> |
| <goals> |
| <goal>regex-property</goal> |
| </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> |
| <failIfNoMatch>false</failIfNoMatch> |
| </configuration> |
| </execution> |
| <execution> |
| <id>parse-package-version</id> |
| <goals> |
| <goal>regex-property</goal> |
| </goals> |
| <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> |
| <failIfNoMatch>true</failIfNoMatch> |
| </configuration> |
| </execution> |
| <execution> |
| <id>parse-package-release</id> |
| <goals> |
| <goal>regex-property</goal> |
| </goals> |
| <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>$6</replacement> |
| <failIfNoMatch>true</failIfNoMatch> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.12</version> |
| <configuration> |
| <excludes> |
| <exclude>**/README.md</exclude> |
| <exclude>**/*.json</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.txt</exclude> |
| <exclude>**/*.story</exclude> |
| <exclude>**/*.editorconfig</exclude> |
| <exclude>**/src/vendor/**</exclude> |
| <exclude>**/yarn.lock</exclude> |
| <exclude>**/docker/Profile</exclude> |
| <exclude>**/docker/.env</exclude> |
| <exclude>**/docker/knox/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/dist/**</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.10</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.9.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>2.9.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-xml</artifactId> |
| <version>2.9.4</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.woodstox</groupId> |
| <artifactId>woodstox-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty</artifactId> |
| <version>3.10.5.Final</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| </project> |