Repository: ambari Updated Branches: refs/heads/branch-1.7.0-maven-publish [created] 6f3e46015
Prepare for publishing artifacts to Maven. (yusaku) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6f3e4601 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6f3e4601 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6f3e4601 Branch: refs/heads/branch-1.7.0-maven-publish Commit: 6f3e46015375c8ea567105cc4f923352d5585466 Parents: 00ee76d Author: Yusaku Sako <[email protected]> Authored: Thu Feb 19 22:47:39 2015 -0800 Committer: Yusaku Sako <[email protected]> Committed: Thu Feb 19 22:47:39 2015 -0800 ---------------------------------------------------------------------- ambari-admin/pom.xml | 4 +- ambari-agent/pom.xml | 4 +- ambari-client/groovy-client/pom.xml | 4 +- ambari-client/pom.xml | 4 +- ambari-client/python-client/pom.xml | 4 +- ambari-project/pom.xml | 49 +------ ambari-server/pom.xml | 4 +- ambari-shell/ambari-groovy-shell/pom.xml | 6 +- ambari-shell/ambari-python-shell/pom.xml | 4 +- ambari-shell/pom.xml | 4 +- ambari-views/pom.xml | 83 +----------- ambari-web/pom.xml | 4 +- contrib/views/pom.xml | 2 +- pom.xml | 178 ++++++++++++++++++++++++-- 14 files changed, 196 insertions(+), 158 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-admin/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-admin/pom.xml b/ambari-admin/pom.xml index 3228c25..c481fb6 100644 --- a/ambari-admin/pom.xml +++ b/ambari-admin/pom.xml @@ -19,7 +19,7 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> @@ -27,7 +27,7 @@ <artifactId>ambari-admin</artifactId> <packaging>jar</packaging> <name>Ambari Admin View</name> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Admin control panel</description> <build> <plugins> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-agent/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml index 0fd7e25..65a9f51 100644 --- a/ambari-agent/pom.xml +++ b/ambari-agent/pom.xml @@ -19,14 +19,14 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ambari</groupId> <artifactId>ambari-agent</artifactId> <packaging>pom</packaging> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <name>Ambari Agent</name> <description>Ambari Agent</description> <properties> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-client/groovy-client/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-client/groovy-client/pom.xml b/ambari-client/groovy-client/pom.xml index fbedbd1..5da1420 100644 --- a/ambari-client/groovy-client/pom.xml +++ b/ambari-client/groovy-client/pom.xml @@ -12,14 +12,14 @@ <parent> <artifactId>ambari-client</artifactId> <groupId>org.apache.ambari</groupId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../../ambari-client/</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ambari</groupId> <artifactId>groovy-client</artifactId> <packaging>jar</packaging> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <name>Ambari Groovy Client</name> <description>Ambari Groovy client</description> <properties> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-client/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-client/pom.xml b/ambari-client/pom.xml index e489d92..8b707e7 100755 --- a/ambari-client/pom.xml +++ b/ambari-client/pom.xml @@ -20,14 +20,14 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ambari</groupId> <artifactId>ambari-client</artifactId> <packaging>pom</packaging> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <name>Ambari Client</name> <description>Ambari client</description> <modules> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-client/python-client/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-client/python-client/pom.xml b/ambari-client/python-client/pom.xml index 74fc0f5..6437655 100644 --- a/ambari-client/python-client/pom.xml +++ b/ambari-client/python-client/pom.xml @@ -19,14 +19,14 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-client</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../../ambari-client</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ambari</groupId> <artifactId>python-client</artifactId> <packaging>pom</packaging> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <name>Ambari Python Client</name> <description>Ambari Python client</description> <properties> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-project/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index 58e2e8f..f073041 100644 --- a/ambari-project/pom.xml +++ b/ambari-project/pom.xml @@ -18,55 +18,17 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> </parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Apache Ambari Project POM</description> <name>Apache Ambari Project POM</name> - <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> - <issueManagement> - <system>jira</system> - <url>https://issues.apache.org/jira/browse/AMBARI</url> - </issueManagement> <packaging>pom</packaging> <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <ambari.dir>${project.parent.basedir}</ambari.dir> </properties> - <pluginRepositories> - <pluginRepository> - <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> - </pluginRepository> - <pluginRepository> - <id>maven2-glassfish-repository.dev.java.net</id> - <name>Java.net Repository for Maven</name> - <url>http://download.java.net/maven/glassfish/</url> - </pluginRepository> - </pluginRepositories> - <repositories> - <repository> - <id>EclipseLink</id> - <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url> - </repository> - <repository> - <id>spring-milestones</id> - <name>Spring Milestones</name> - <url>http://repo.spring.io/milestone</url> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> <profiles> <profile> <id>dist</id> @@ -108,11 +70,6 @@ <dependencyManagement> <dependencies> <dependency> - <groupId>org.apache.ambari</groupId> - <artifactId>ambari-api</artifactId> - <version>1.0.3-SNAPSHOT</version> - </dependency> - <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.1</version> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-server/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index a5d9bbc..de0729b 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -12,7 +12,7 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> @@ -20,7 +20,7 @@ <artifactId>ambari-server</artifactId> <packaging>jar</packaging> <name>Ambari Server</name> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Ambari Server</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-shell/ambari-groovy-shell/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-shell/ambari-groovy-shell/pom.xml b/ambari-shell/ambari-groovy-shell/pom.xml index ed4d0b6..0464737 100644 --- a/ambari-shell/ambari-groovy-shell/pom.xml +++ b/ambari-shell/ambari-groovy-shell/pom.xml @@ -12,7 +12,7 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-shell</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../../ambari-shell</relativePath> </parent> <modelVersion>4.0.0</modelVersion> @@ -20,7 +20,7 @@ <artifactId>ambari-groovy-shell</artifactId> <packaging>jar</packaging> <name>Ambari Groovy Shell</name> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Ambari Groovy Shell</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> @@ -55,7 +55,7 @@ <dependency> <groupId>org.apache.ambari</groupId> <artifactId>groovy-client</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> </dependency> <dependency> <groupId>org.mockito</groupId> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-shell/ambari-python-shell/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-shell/ambari-python-shell/pom.xml b/ambari-shell/ambari-python-shell/pom.xml index 08d74c0..fbbd7ce 100644 --- a/ambari-shell/ambari-python-shell/pom.xml +++ b/ambari-shell/ambari-python-shell/pom.xml @@ -19,14 +19,14 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-shell</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../../ambari-shell</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ambari</groupId> <artifactId>ambari-python-shell</artifactId> <packaging>pom</packaging> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <name>Ambari Python Shell</name> <description>Ambari Python Shell</description> <properties> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-shell/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-shell/pom.xml b/ambari-shell/pom.xml index 947c9b9..10d2449 100644 --- a/ambari-shell/pom.xml +++ b/ambari-shell/pom.xml @@ -21,14 +21,14 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ambari</groupId> <artifactId>ambari-shell</artifactId> <packaging>pom</packaging> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <name>Ambari Shell</name> <description>Ambari Shell</description> <modules> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-views/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-views/pom.xml b/ambari-views/pom.xml index fad949a..d9bcbad 100644 --- a/ambari-views/pom.xml +++ b/ambari-views/pom.xml @@ -20,7 +20,7 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> @@ -28,13 +28,8 @@ <artifactId>ambari-views</artifactId> <packaging>jar</packaging> <name>Ambari Views</name> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Ambari View interfaces.</description> - <url>http://ambari.apache.org/</url> - <scm> - <url>https://github.com/apache/ambari</url> - <connection>https://git-wip-us.apache.org/repos/asf/ambari.git</connection> - </scm> <dependencies> <dependency> <groupId>junit</groupId> @@ -156,80 +151,6 @@ </execution> </executions> </plugin> - <!-- Generate the -sources.jar file that is required by Apache Maven in order to host this project - on a remote repo. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- Generate the -javadoc.jar file that is required by Apache Maven in order to host this project - on a remote repo. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <executions> - <execution> - <id>attach-javadocs</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- Sign the build artifacts with the PGP key. Note that PGP must be installed and in the search path. - See https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>deploy</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> </plugins> </build> - <profiles> - <!-- This profile exists to only sign the build artifacts when making a release candidate - instead of a SNAPSHOT. --> - <profile> - <id>release-sign-artifacts</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.5</version> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>deploy</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> </project> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/ambari-web/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml index 65e568d..96b4c4a 100644 --- a/ambari-web/pom.xml +++ b/ambari-web/pom.xml @@ -19,14 +19,14 @@ <parent> <groupId>org.apache.ambari</groupId> <artifactId>ambari-project</artifactId> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <relativePath>../ambari-project</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>ambari-web</artifactId> <packaging>pom</packaging> <name>Ambari Web</name> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Ambari Web</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/contrib/views/pom.xml ---------------------------------------------------------------------- diff --git a/contrib/views/pom.xml b/contrib/views/pom.xml index adc6482..2dcab7b 100644 --- a/contrib/views/pom.xml +++ b/contrib/views/pom.xml @@ -141,7 +141,7 @@ <dependency> <groupId>org.apache.ambari</groupId> <artifactId>ambari-views</artifactId> - <version>[${ambari.version},)</version> + <version>1.7.0-SNAPSHOT</version> </dependency> </dependencies> </dependencyManagement> http://git-wip-us.apache.org/repos/asf/ambari/blob/6f3e4601/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index d31876f..d810b70 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,28 @@ <artifactId>ambari</artifactId> <packaging>pom</packaging> <name>Ambari Main</name> - <version>1.3.0-SNAPSHOT</version> + <version>1.7.0-SNAPSHOT</version> <description>Ambari</description> + <url>http://ambari.apache.org/</url> + <scm> + <url>https://github.com/apache/ambari</url> + <connection>https://git-wip-us.apache.org/repos/asf/ambari.git</connection> + </scm> + <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>http://www.apache.org</url> + </organization> + <issueManagement> + <system>jira</system> + <url>https://issues.apache.org/jira/browse/AMBARI</url> + </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <clover.license>${user.home}/clover.license</clover.license> @@ -32,6 +52,14 @@ <deb.architecture>i386 amd64</deb.architecture> <deb.priority>extra</deb.priority> <stack.distribution>HDP</stack.distribution> + <ambari.dir>${project.basedir}</ambari.dir> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <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> </properties> <pluginRepositories> <pluginRepository> @@ -41,17 +69,67 @@ <layout>default</layout> </pluginRepository> <pluginRepository> + <id>maven2-glassfish-repository.dev.java.net</id> + <name>Java.net Repository for Maven</name> + <url>http://download.java.net/maven/glassfish/</url> + </pluginRepository> + <pluginRepository> <id>maven2-repository.atlassian</id> <name>Atlassian Maven Repository</name> <url>https://maven.atlassian.com/repository/public</url> <layout>default</layout> </pluginRepository> <pluginRepository> - <id>maven2-glassfish-repository.dev.java.net</id> - <name>Java.net Repository for Maven</name> - <url>http://download.java.net/maven/glassfish/</url> + <id>${distMgmtSnapshotsId}</id> + <name>${distMgmtSnapshotsName}</name> + <url>${distMgmtSnapshotsUrl}</url> + <layout>default</layout> </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> + <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> @@ -128,7 +206,7 @@ <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> - <descriptor>ambari-project/src/main/assemblies/empty.xml</descriptor> + <descriptor>${ambari.dir}/ambari-project/src/main/assemblies/empty.xml</descriptor> </descriptors> </configuration> <executions> @@ -183,7 +261,7 @@ <exclude>contrib/ambari-scom/msi/src/GUI_Ambari.sln</exclude> <exclude>version</exclude> <!--IDE and GIT files--> - <exclude>.idea/</exclude> + <exclude>**/.idea/</exclude> <exclude>.git/</exclude> <exclude>.pydevproject</exclude> <exclude>**/.gitignore</exclude> @@ -193,7 +271,7 @@ <exclude>**/.editorconfig</exclude> <!--gitignore content--> <exclude>.DS_Store</exclude> - <exclude>.iml/</exclude> + <exclude>**/*.iml</exclude> <exclude>.classpath</exclude> <exclude>.project</exclude> <exclude>.settings</exclude> @@ -223,6 +301,10 @@ <exclude>contrib/views/files/src/main/resources/ui/node/**</exclude> <exclude>contrib/views/files/src/main/resources/ui/node_modules/**</exclude> <exclude>contrib/views/files/src/main/resources/ui/public/**</exclude> + <exclude>contrib/views/files/src/main/resources/ui/vendor/**</exclude> + <exclude>contrib/views/files/src/main/resources/ui/runner.js</exclude> + <exclude>contrib/views/files/src/main/resources/ui/app/assets/stylesheets/**</exclude> + <exclude>contrib/views/files/src/main/resources/ui/app/assets/javascripts/**</exclude> <exclude>contrib/views/jobs/src/main/resources/ui/.tmp/**</exclude> <exclude>contrib/views/jobs/src/main/resources/ui/**/bower_components/**</exclude> <exclude>contrib/views/jobs/src/main/resources/ui/dist/**</exclude> @@ -234,6 +316,9 @@ <exclude>contrib/views/pig/src/main/resources/ui/pig-web/node/**</exclude> <exclude>contrib/views/pig/src/main/resources/ui/pig-web/bower_components/**</exclude> <exclude>contrib/views/pig/src/main/resources/ui/pig-web/vendor/**</exclude> + <exclude>contrib/views/pig/src/main/resources/ui/pig-web/app/assets/static/stylesheets/**</exclude> + <exclude>contrib/views/pig/src/main/resources/ui/pig-web/app/assets/static/javascripts/**</exclude> + <exclude>contrib/views/pig/src/main/resources/ui/pig-web/runner.js</exclude> <exclude>contrib/views/slider/src/main/resources/ui/public/**</exclude> <exclude>contrib/views/slider/src/main/resources/ui/node_modules/**</exclude> <exclude>contrib/views/slider/src/main/resources/ui/vendor/**</exclude> @@ -247,18 +332,23 @@ <exclude>contrib/views/*/.project</exclude> <exclude>contrib/views/*/.settings/**</exclude> + <exclude>contrib/ambari-scom/ambari-scom-server/pass.txt</exclude> + <exclude>contrib/ambari-scom/ambari-scom-server/target/**</exclude> + <exclude>contrib/ambari-scom/*/rat.txt</exclude> + <exclude>contrib/ambari-scom/metrics-sink/target/**</exclude> + <!--Velocity log --> <exclude>**/velocity.log*</exclude> </excludes> </configuration> - <executions> + <!--<executions> <execution> <phase>test</phase> <goals> <goal>check</goal> </goals> </execution> - </executions> + </executions>--> </plugin> <plugin> <groupId>org.vafer</groupId> @@ -392,5 +482,75 @@ </plugins> </build> </profile> + <profile> + <id>sources</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>javadoc</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <docfilessubdirs>true</docfilessubdirs> + </configuration> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <!-- This profile exists to only sign the build artifacts when making a release candidate +instead of a SNAPSHOT. --> + <profile> + <id>sign-artifacts</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.6</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project>
