| <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.ambari</groupId> |
| <artifactId>ambari-infra</artifactId> |
| <version>2.7.4.0.0</version> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <jdk.version>1.8</jdk.version> |
| <solr.version>7.7.0</solr.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> |
| <hadoop.version>3.0.0</hadoop.version> |
| <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine> |
| <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version> |
| <skipSurefireTests>false</skipSurefireTests> |
| <log4j2.version>2.11.0</log4j2.version> |
| </properties> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>https://www.apache.org</url> |
| </organization> |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/AMBARI</url> |
| </issueManagement> |
| |
| <repositories> |
| <repository> |
| <id>apache-hadoop</id> |
| <name>hdp</name> |
| <url>https://repo.hortonworks.com/content/groups/public/</url> |
| </repository> |
| <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>https://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> |
| |
| <modules> |
| <module>ambari-infra-assembly</module> |
| <module>ambari-infra-solr-client</module> |
| <module>ambari-infra-solr-plugin</module> |
| <module>ambari-infra-manager</module> |
| <module>ambari-infra-manager-it</module> |
| </modules> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.vafer</groupId> |
| <artifactId>jdeb</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <!--Stub execution on direct plugin call - workaround for ambari deb build process--> |
| <id>stub-execution</id> |
| <phase>none</phase> |
| <goals> |
| <goal>jdeb</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <skip>true</skip> |
| <attach>false</attach> |
| <submodules>false</submodules> |
| <controlDir>${project.basedir}/../src/main/package/deb/control</controlDir> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rpm-maven-plugin</artifactId> |
| <version>2.1.4</version> |
| <executions> |
| <execution> |
| <!-- unbinds rpm creation from maven lifecycle --> |
| <phase>none</phase> |
| <goals> |
| <goal>attached-rpm</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <copyright>2012, Apache Software Foundation</copyright> |
| <group>Development</group> |
| <description>Maven Recipe: RPM Package.</description> |
| <release>${package-release}</release> |
| <version>${package-version}</version> |
| <mappings/> |
| </configuration> |
| </plugin> |
| <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>**/docker/Profile</exclude> |
| <exclude>**/docker/.env</exclude> |
| <exclude>**/*.story</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-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.8</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.6</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.5</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.9.9.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>2.9.9</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-xml</artifactId> |
| <version>2.9.9</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.woodstox</groupId> |
| <artifactId>woodstox-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.8.5</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| </project> |