You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2015/03/28 22:22:48 UTC

ambari git commit: AMBARI-10264. Allow "ambari" project to be published to Maven. (yusaku)

Repository: ambari
Updated Branches:
  refs/heads/trunk de6ff03f0 -> 120af108a


AMBARI-10264. Allow "ambari" project to be published 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/120af108
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/120af108
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/120af108

Branch: refs/heads/trunk
Commit: 120af108ac2c77edaba19abe71972c37283393b9
Parents: de6ff03
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Sat Mar 28 14:17:01 2015 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Sat Mar 28 14:20:31 2015 -0700

----------------------------------------------------------------------
 ambari-project/pom.xml | 70 ---------------------------------------------
 pom.xml                | 70 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+), 70 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/120af108/ambari-project/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 48c7214..12ae96c 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -66,76 +66,6 @@
         </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>deploy</phase>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
   <dependencyManagement>
     <dependencies>

http://git-wip-us.apache.org/repos/asf/ambari/blob/120af108/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0a5cb76..c703bcf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -527,5 +527,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>