| <?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/maven-v4_0_0.xsd"> |
| <name>ambari</name> |
| <description> |
| Ambari is a monitoring, administration and lifecycle management project |
| for Apache Hadoop clusters. Hadoop clusters require many inter-related |
| components that must be installed, configured, and managed across the |
| entire cluster. The stack of components that are currently supported by |
| Ambari includes HBase, HCatalog, HDFS, Hive, MapReduce, Pig, and |
| Zookeeper. |
| </description> |
| <url>http://incubator.apache.org/ambari</url> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.apache.ambari</groupId> |
| <version>0.1.0-SNAPSHOT</version> |
| <artifactId>ambari</artifactId> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <buildtype>test</buildtype> |
| <BUILD_NUMBER>${env.BUILD_NUMBER}</BUILD_NUMBER> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <package.prefix>/usr</package.prefix> |
| <package.conf.dir>/etc/ambari</package.conf.dir> |
| <package.log.dir>/var/log/ambari</package.log.dir> |
| <package.pid.dir>/var/run/ambari</package.pid.dir> |
| <package.release>1</package.release> |
| <package.type>tar.gz</package.type> |
| <ambari.version>0.1.0-SNAPSHOT</ambari.version> |
| <final.name>${project.artifactId}-${ambari.version}</final.name> |
| </properties> |
| |
| <licenses> |
| <license> |
| <name>Apache 2</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/ambari</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/ambari</developerConnection> |
| <tag>HEAD</tag> |
| <url>http://svn.apache.org/repos/asf/incubator/ambari</url> |
| </scm> |
| |
| <issueManagement> |
| <system>Jira</system> |
| <url>http://issues.apache.org/jira/browse/AMBARI</url> |
| </issueManagement> |
| |
| <mailingLists> |
| <mailingList> |
| <name>User list</name> |
| <subscribe>mailto:ambari-user-subscribe@incubator.apache.org |
| </subscribe> |
| <unsubscribe>mailto:ambari-user-unsubscribe@incubator.apache.org |
| </unsubscribe> |
| <post>mailto:ambari-user@incubator.apache.org</post> |
| <archive></archive> |
| </mailingList> |
| <mailingList> |
| <name>Development list</name> |
| <subscribe>mailto:ambari-dev-subscribe@incubator.apache.org |
| </subscribe> |
| <unsubscribe>mailto:ambari-dev-unsubscribe@incubator.apache.org |
| </unsubscribe> |
| <post>mailto:ambari-dev@incubator.apache.org</post> |
| <archive></archive> |
| </mailingList> |
| <mailingList> |
| <name>Commit list</name> |
| <subscribe>mailto:ambari-commits-subscribe@incubator.apache.org |
| </subscribe> |
| <unsubscribe>mailto:ambari-commits-unsubscribe@incubator.apache.org |
| </unsubscribe> |
| <post>mailto:ambari-commits@incubator.apache.org</post> |
| <archive></archive> |
| </mailingList> |
| </mailingLists> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>5.8</version> |
| <scope>test</scope> |
| <classifier>jdk15</classifier> |
| <exclusions> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <developers> |
| <developer> |
| <id>ddas</id> |
| <name>Devaraj Das</name> |
| <email>ddas@hortonworks.com</email> |
| <timezone>-8</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| <developer> |
| <id>berndf</id> |
| <name>Bernd Fondermann</name> |
| <email>berndf@apache.org</email> |
| <timezone>+1</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| <developer> |
| <id>vgogate</id> |
| <name>Vitthal Suhas Gogate</name> |
| <email>vgogate@apache.org</email> |
| <timezone>-8</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| <developer> |
| <id>omalley</id> |
| <name>Owen O'Malley</name> |
| <email>omalley@apache.org</email> |
| <timezone>-8</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| <developer> |
| <id>jagane</id> |
| <name>Jagane Sundar</name> |
| <email>jagane@apache.org</email> |
| <timezone>-8</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| <developer> |
| <id>eyang</id> |
| <name>Eric Yang</name> |
| <email>eyang@apache.org</email> |
| <timezone>-8</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| <developer> |
| <id>kzhang</id> |
| <name>Kan Zhang</name> |
| <email>kanzhangmail@yahoo.com</email> |
| <timezone>-8</timezone> |
| <roles> |
| <role></role> |
| </roles> |
| </developer> |
| </developers> |
| |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org/</url> |
| </organization> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <doctitle>Ambari API for ${project.name} ${project.version}</doctitle> |
| </configuration> |
| <executions> |
| <execution> |
| <id>aggregate</id> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| <phase>site</phase> |
| <configuration> |
| <doctitle>Ambari API for ${project.name} ${project.version}</doctitle> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <configuration> |
| <tasks name="setup"> |
| <mkdir dir="${basedir}/target"/> |
| <echo message="${project.version}" file="${basedir}/target/VERSION"/> |
| <mkdir dir="${basedir}/target/clover"/> |
| <chmod dir="${basedir}/target/clover" perm="a+w" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.8</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.4.3</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3.2</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <compilerVersion>1.5</compilerVersion> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.1</version> |
| <executions> |
| <execution> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <phase>test</phase> |
| <argLine>-Xmx1024m</argLine> |
| <includes> |
| <include>**/Test*.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/IntegrationTest*.java</exclude> |
| <exclude>**/PerformanceTest*.java</exclude> |
| </excludes> |
| <skipTests>${skipTests}</skipTests> |
| <reportsDirectory>${project.build.directory}/test-reports</reportsDirectory> |
| <systemProperties> |
| <property> |
| <name>AMBARI_LOG_DIR</name> |
| <value>${project.build.directory}/logs</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.7</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <numUnapprovedLicenses>0</numUnapprovedLicenses> |
| <excludes> |
| <!-- notice files --> |
| <exclude>CHANGES.txt</exclude> |
| <!-- generated files --> |
| <exclude>**/target/**</exclude> |
| <exclude>**/.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**</exclude> |
| <!-- bsd/gpl dual licensed files --> |
| <exclude>src/main/webapps/css/smoothness/jquery-ui-1.8.13.custom.css</exclude> |
| <exclude>src/main/webapps/js/jquery.dataTables.min.js</exclude> |
| <exclude>**/application-grammars.xml</exclude> |
| <exclude>**/wadl.xsl</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh-external</artifactId> |
| <version>1.0</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <extensions> |
| <extension> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh-external</artifactId> |
| </extension> |
| </extensions> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>hudson</id> |
| <activation> |
| <property> |
| <name>!env.BUILD_NUMBER</name> |
| </property> |
| </activation> |
| <properties> |
| <BUILD_NUMBER>0</BUILD_NUMBER> |
| </properties> |
| </profile> |
| <profile> |
| <id>nightly</id> |
| <activation /> |
| <properties> |
| <skipTests>true</skipTests> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>com.cenqua.clover</groupId> |
| <artifactId>clover</artifactId> |
| <version>2.6.1</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <!-- <plugin> |
| <groupId>com.atlassian.maven.plugins</groupId> |
| <artifactId>maven-clover2-plugin</artifactId> |
| <version>2.6.2</version> |
| <configuration> |
| <licenseLocation>conf/clover/clover.license</licenseLocation> |
| <snapshot>/tmp/ambari_clover</snapshot> |
| <cloverDatabase>/tmp/ambari</cloverDatabase> |
| <cloverMergeDatabase>/tmp/ambari</cloverMergeDatabase> |
| </configuration> |
| <executions> |
| <execution> |
| <id>setup-clover-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>instrument-test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>setup-clover-package</id> |
| <goals> |
| <goal>setup</goal> |
| </goals> |
| <configuration> |
| <includesAllSourceRoots>true</includesAllSourceRoots> |
| <includesTestSourceRoots>true</includesTestSourceRoots> |
| </configuration> |
| </execution> |
| <execution> |
| <id>setup-clover-integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>instrument-test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>snapshot</goal> |
| <goal>log</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.5</version> |
| <executions> |
| <execution> |
| <phase>test</phase> |
| <configuration> |
| <argLine>-Xmx1024m -Djava.library.path=. |
| </argLine> |
| <includes> |
| <include>**/Test*.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/IntegrationTest.java</exclude> |
| <exclude>**/PerformanceTest*.java</exclude> |
| </excludes> |
| <skipTests>false</skipTests> |
| <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
| <systemProperties> |
| <property> |
| <name>clover.server</name> |
| <value>true</value> |
| </property> |
| <property> |
| <name>clover.distributed.coverage</name> |
| <value>ON</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <id>unit-test</id> |
| </execution> |
| <execution> |
| <id>it</id> |
| <phase>integration-test</phase> |
| <configuration> |
| <argLine>-Xmx1024m -Djava.library.path=. |
| </argLine> |
| <includes> |
| <include>**/IntegrationTest*.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/Test*.java</exclude> |
| <exclude>**/PerformanceTest*.java</exclude> |
| </excludes> |
| <skipTests>false</skipTests> |
| <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
| <systemProperties> |
| <property> |
| <name>clover.server</name> |
| <value>true</value> |
| </property> |
| <property> |
| <name>clover.distributed.coverage</name> |
| <value>ON</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2</version> |
| <executions> |
| <execution> |
| <id>setup-it</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>${basedir}/scripts/pre-integration-test.sh</executable> |
| </configuration> |
| </execution> |
| <execution> |
| <id>clean-it</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>${basedir}/scripts/post-integration-test.sh</executable> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>submodules</id> |
| <activation> |
| <property> |
| <name>!perf.host</name> |
| </property> |
| </activation> |
| <modules> |
| <module>agent</module> |
| <module>client</module> |
| <module>controller</module> |
| </modules> |
| </profile> |
| |
| <profile> |
| <id>performance</id> |
| <modules> |
| <module>performance</module> |
| </modules> |
| </profile> |
| |
| <profile> |
| <id>regression</id> |
| <modules> |
| <module>regression-test</module> |
| </modules> |
| </profile> |
| |
| <profile> |
| <id>src</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| <descriptors> |
| <descriptor>src/packages/tarball/source.xml</descriptor> |
| </descriptors> |
| <finalName>${project.artifactId}-${project.version}-source</finalName> |
| </configuration> |
| <executions> |
| <execution> |
| <id>build-source-tarball</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>binary</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| <descriptors> |
| <descriptor>src/packages/tarball/binary.xml</descriptor> |
| </descriptors> |
| <finalName>${project.artifactId}-${project.version}</finalName> |
| </configuration> |
| <executions> |
| <execution> |
| <id>build-tarball</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>rpm</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>build-rpm</id> |
| <phase>package</phase> |
| <configuration> |
| <target> |
| <ant antfile="${basedir}/src/packages/build.xml"> |
| <target name="package-rpm"/> |
| </ant> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>deb</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>build-deb</id> |
| <phase>package</phase> |
| <configuration> |
| <target> |
| <property name="artifactId" value="${project.artifactId}" /> |
| <ant antfile="${basedir}/src/packages/build.xml"> |
| <target name="package-deb"/> |
| </ant> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.vafer</groupId> |
| <artifactId>jdeb</artifactId> |
| <version>0.8</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <reportSets> |
| <reportSet> |
| <id>javadoc</id> |
| <configuration> |
| <aggregate>true</aggregate> |
| <doctitle>Ambari API for ${project.name} ${project.version}</doctitle> |
| </configuration> |
| <reports> |
| <report>javadoc</report> |
| </reports> |
| </reportSet> |
| <reportSet> |
| <id>aggregate</id> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jxr-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>pmd</report> |
| <report>cpd</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <targetJdk>1.5</targetJdk> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <threshold>Normal</threshold> |
| <effort>Max</effort> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javancss-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jdepend-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>taglist-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <repositories> |
| <repository> |
| <id>maven2-repository.dev.java.net</id> |
| <name>Java.net Repository for Maven</name> |
| <url>http://download.java.net/maven/2/</url> |
| <layout>default</layout> |
| </repository> |
| <repository> |
| <id>codehaus</id> |
| <url>http://repository.codehaus.org/</url> |
| </repository> |
| <repository> |
| <id>Sonatype-public</id> |
| <name>SnakeYAML repository</name> |
| <url>http://oss.sonatype.org/content/groups/public/</url> |
| </repository> |
| <repository> |
| <id>clojars</id> |
| <url>http://clojars.org/repo/</url> |
| </repository> |
| </repositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| </dependencies> |
| </dependencyManagement> |
| |
| <distributionManagement> |
| <site> |
| <id>apache-website</id> |
| <name>Apache website</name> |
| <url>scpexe://people.apache.org/www/incubator.apache.org/ambari</url> |
| </site> |
| </distributionManagement> |
| |
| </project> |