|
|
@@ -17,11 +17,16 @@
|
|
|
-->
|
|
|
<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">
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
+ <parent>
|
|
|
+ <groupId>org.apache</groupId>
|
|
|
+ <artifactId>apache</artifactId>
|
|
|
+ <version>21</version>
|
|
|
+ </parent>
|
|
|
<groupId>org.apache.ambari</groupId>
|
|
|
<artifactId>ambari</artifactId>
|
|
|
<packaging>pom</packaging>
|
|
|
<name>Ambari Main</name>
|
|
|
- <version>2.0.0.0-SNAPSHOT</version>
|
|
|
+ <version>${revision}</version>
|
|
|
<description>Ambari</description>
|
|
|
<url>http://ambari.apache.org/</url>
|
|
|
<scm>
|
|
|
@@ -35,6 +40,36 @@
|
|
|
<distribution>repo</distribution>
|
|
|
</license>
|
|
|
</licenses>
|
|
|
+ <mailingLists>
|
|
|
+ <mailingList>
|
|
|
+ <name>Dev</name>
|
|
|
+ <subscribe>dev-subscribe@ambari.apache.org</subscribe>
|
|
|
+ <unsubscribe>dev-unsubscribe@ambari.apache.org</unsubscribe>
|
|
|
+ <post>dev@ambari.apache.org</post>
|
|
|
+ <archive>http://mail-archives.apache.org/mod_mbox/ambari-dev/</archive>
|
|
|
+ </mailingList>
|
|
|
+ <mailingList>
|
|
|
+ <name>Users</name>
|
|
|
+ <subscribe>users-subscribe@ambari.apache.org</subscribe>
|
|
|
+ <unsubscribe>users-unsubscribe@ambari.apache.org</unsubscribe>
|
|
|
+ <post>users@ambari.apache.org</post>
|
|
|
+ <archive>http://mail-archives.apache.org/mod_mbox/ambari-users</archive>
|
|
|
+ </mailingList>
|
|
|
+ <mailingList>
|
|
|
+ <name>Commits</name>
|
|
|
+ <subscribe>commits-subscribe@ambari.apache.org</subscribe>
|
|
|
+ <unsubscribe>commits-unsubscribe@ambari.apache.org</unsubscribe>
|
|
|
+ <post>commits@ambari.apache.org</post>
|
|
|
+ <archive>http://mail-archives.apache.org/mod_mbox/ambari-commits</archive>
|
|
|
+ </mailingList>
|
|
|
+ <mailingList>
|
|
|
+ <name>Issues</name>
|
|
|
+ <subscribe>issues-subscribe@ambari.apache.org</subscribe>
|
|
|
+ <unsubscribe>issues-unsubscribe@ambari.apache.org</unsubscribe>
|
|
|
+ <post>issues@ambari.apache.org</post>
|
|
|
+ <archive>http://mail-archives.apache.org/mod_mbox/ambari-issues</archive>
|
|
|
+ </mailingList>
|
|
|
+ </mailingLists>
|
|
|
<organization>
|
|
|
<name>Apache Software Foundation</name>
|
|
|
<url>http://www.apache.org</url>
|
|
|
@@ -44,6 +79,7 @@
|
|
|
<url>https://issues.apache.org/jira/browse/AMBARI</url>
|
|
|
</issueManagement>
|
|
|
<properties>
|
|
|
+ <revision>3.0.0.0-SNAPSHOT</revision>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<clover.license>${user.home}/clover.license</clover.license>
|
|
|
<buildnumber-maven-plugin-version>1.2</buildnumber-maven-plugin-version>
|
|
|
@@ -57,9 +93,6 @@
|
|
|
<distMgmtSnapshotsId>apache.snapshots.https</distMgmtSnapshotsId>
|
|
|
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
|
|
|
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
|
|
|
- <distMgmtStagingId>apache.staging.https</distMgmtStagingId>
|
|
|
- <distMgmtStagingName>Apache Release Distribution Repository</distMgmtStagingName>
|
|
|
- <distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
|
|
|
<assemblyPhase>package</assemblyPhase> <!-- use -DassemblyPhase=none to skip building tarball, useful when you want purely compile jar -->
|
|
|
<eclipselink.version>2.6.2</eclipselink.version>
|
|
|
</properties>
|
|
|
@@ -89,19 +122,6 @@
|
|
|
</pluginRepository>
|
|
|
</pluginRepositories>
|
|
|
|
|
|
- <distributionManagement>
|
|
|
- <repository>
|
|
|
- <id>${distMgmtStagingId}</id>
|
|
|
- <name>${distMgmtStagingName}</name>
|
|
|
- <url>${distMgmtStagingUrl}</url>
|
|
|
- </repository>
|
|
|
- <snapshotRepository>
|
|
|
- <id>${distMgmtSnapshotsId}</id>
|
|
|
- <name>${distMgmtSnapshotsName}</name>
|
|
|
- <url>${distMgmtSnapshotsUrl}</url>
|
|
|
- </snapshotRepository>
|
|
|
- </distributionManagement>
|
|
|
-
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
<id>oss.sonatype.org</id>
|
|
|
@@ -312,6 +332,8 @@
|
|
|
<exclude>ambari-web/node_modules/**</exclude>
|
|
|
|
|
|
<!--Contributions-->
|
|
|
+ <exclude>contrib/**/bower_components/**</exclude>
|
|
|
+ <exclude>contrib/**/dist/**</exclude>
|
|
|
<exclude>contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/hooks/before-START/files/fast-hdfs-resource.jar</exclude>
|
|
|
<exclude>contrib/ambari-scom/management-pack/Hadoop_MP/**</exclude>
|
|
|
<exclude>contrib/addons/test/dataServices/jmx/data/cluster_configuration.json.nohbase</exclude>
|
|
|
@@ -408,6 +430,60 @@
|
|
|
</filesets>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+
|
|
|
+ <!--
|
|
|
+ Required when using the ${revision} placeholder to generate target/.flattened-pom.xml
|
|
|
+ See: https://maven.apache.org/maven-ci-friendly.html
|
|
|
+ -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>flatten-maven-plugin</artifactId>
|
|
|
+ <version>1.0.1</version>
|
|
|
+ <configuration>
|
|
|
+ <flattenMode>oss</flattenMode>
|
|
|
+ <updatePomFile>true</updatePomFile>
|
|
|
+ <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
+ </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.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-enforcer-plugin</artifactId>
|
|
|
+ <version>3.0.0-M2</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>enforce-versions</id>
|
|
|
+ <goals>
|
|
|
+ <goal>enforce</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <rules>
|
|
|
+ <requireMavenVersion>
|
|
|
+ <version>3.5.0</version>
|
|
|
+ </requireMavenVersion>
|
|
|
+ <requireJavaVersion>
|
|
|
+ <version>1.8</version>
|
|
|
+ </requireJavaVersion>
|
|
|
+ </rules>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
<profiles>
|