knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-61: Create MD5 and SHA1 digest of RPMs.
Date Mon, 06 May 2013 21:35:30 GMT
Updated Branches:
  refs/heads/master 7db097623 -> a328c86ac


KNOX-61: Create MD5 and SHA1 digest of RPMs.


Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/a328c86a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/a328c86a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/a328c86a

Branch: refs/heads/master
Commit: a328c86acd3d311093e91f0e285c80675114ab09
Parents: 7db0976
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Mon May 6 17:35:24 2013 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Mon May 6 17:35:24 2013 -0400

----------------------------------------------------------------------
 build.xml |    6 +++++-
 pom.xml   |   16 ++++++++--------
 2 files changed, 13 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/a328c86a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 7df5725..36ca544 100644
--- a/build.xml
+++ b/build.xml
@@ -95,6 +95,8 @@
             <arg value="${gateway-version}"/>
             <arg value="${release-manager}"/>
         </exec>
+        <checksum file="target/${gateway-version}/${gateway-artifact}-${gateway-version}.rpm"
algorithm="MD5" fileext=".md5" forceOverwrite="yes"/>
+        <checksum file="target/${gateway-version}/${gateway-artifact}-${gateway-version}.rpm"
algorithm="SHA1" fileext=".sha" forceOverwrite="yes"/>
     </target>
 
     <target name="sign" depends="init" description="Sign a previously created release.">
@@ -108,6 +110,7 @@
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}.zip"/>
         </exec>
+        <checksum file="target/${gateway-version}/${gateway-artifact}-${gateway-version}-src.zip"
algorithm="SHA1" property="checksum"/>
         <exec executable="gpg" dir="target/${gateway-version}">
             <arg value="--armor"/>
             <arg value="--detach-sig"/>
@@ -119,7 +122,6 @@
             <arg value="--output"/>
             <arg value="KEYS"/>
         </exec>
-        <checksum file="target/${gateway-version}/${gateway-artifact}-${gateway-version}-src.zip"
algorithm="SHA1" property="checksum" />
         <copy file="src/vote.txt" tofile="target/vote.txt">
             <filterchain>
                 <expandproperties/>
@@ -133,4 +135,6 @@
         <echo message="${stage-message}"/>
     </target>
 
+    <target name="release" depends="package,rpm,sign"/>
+
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/a328c86a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0d8cac9..d83814a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -145,9 +145,9 @@
                         <exclude>.svn/**</exclude>
                         <exclude>.idea/**</exclude>
                         <exclude>**/.gitignore/**</exclude>
-												<exclude>**/.project/**</exclude>
-												<exclude>**/.settings/**</exclude>
-												<exclude>**/.classpath/**</exclude>
+                        <exclude>**/.project/**</exclude>
+                        <exclude>**/.settings/**</exclude>
+                        <exclude>**/.classpath/**</exclude>
                         <exclude>src/stage.txt</exclude>
                         <exclude>src/vote.txt</exclude>
                         <exclude>**/*.iml</exclude>
@@ -540,11 +540,11 @@
                 </exclusions>
             </dependency>
 
-						<dependency>
-							<groupId>com.fasterxml.jackson.core</groupId>
-							<artifactId>jackson-databind</artifactId>
-							<version>2.1.4</version>
-						</dependency>
+            <dependency>
+                <groupId>com.fasterxml.jackson.core</groupId>
+                <artifactId>jackson-databind</artifactId>
+                <version>2.1.4</version>
+            </dependency>
 
             <dependency>
                 <groupId>org.apache.httpcomponents</groupId>


Mime
View raw message