Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Signing the bundle.

  • Loading branch information...
commit 73c823b2aafe09d0df82b33a380080f9ca5a2395 1 parent 268e3e0
cbeust authored
Showing with 26 additions and 8 deletions.
  1. +2 −6 NOTES
  2. +24 −2 build.xml
View
8 NOTES
@@ -8,17 +8,13 @@ If you ran the full dist build, it should have generated a file on your hard dri
Testing:
-> Update <version>5.12</version> in bundle-pom.xml to the correct version
- mvn install:install-file -DpomFile=bundle-pom.xml -Dfile=testng-5.12.jar
+ mvn install:install-file -DpomFile=bundle-pom.xml -Dfile=testng-5.12.1.jar
cd /tmp
svn co http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources/testng-simple/
cd testng-simple
-> Update <testNgVersion> in pom.xml to the correct version
-> Remove <classifier> in pom.xml if it's still there
- mvn -DtestNgVersion=5.12 -Dsurefire.version=2.5 clean test
- gpg testng-5.12.jar
- gpg build/maven-bundle/testng-5.12-sources.jar
- jar uf testng-5.12-bundle.jar testng-5.12.jar.asc
- (cd build/maven-bundle; jar uf ../../testng-5.12-bundle.jar testng-5.12-sources.jar.asc)
+ mvn -DtestNgVersion=5.12.1 -Dsurefire.version=2.5 clean test
-> Send bundle to Brett Porter <brett.porter@gmail.com>
=======
View
26 build.xml
@@ -222,13 +222,35 @@
<jar destfile="${build.maven-bundle.dir}/${sources.testng.jar}">
<fileset dir="src" />
</jar>
+
+ <exec executable="gpg">
+ <arg value="--yes" />
+ <arg value="-ab" />
+ <arg value="${testng.jar}" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--yes" />
+ <arg value="-ab" />
+ <arg value="${build.maven-bundle.dir}/pom.xml" />
+ </exec>
+
+ <exec executable="gpg">
+ <arg value="--yes" />
+ <arg value="-ab" />
+ <arg value="${build.maven-bundle.dir}/${sources.testng.jar}" />
+ </exec>
+
<jar destfile="${testng.maven-bundle}">
<fileset file="${build.maven-bundle.dir}/pom.xml" />
- <fileset file="${testng.jar}" />
<fileset file="${build.maven-bundle.dir}/${sources.testng.jar}" />
+ <fileset file="${build.maven-bundle.dir}/*asc" />
+ <fileset file="${testng.jar}" />
+ <fileset file="${testng.jar}.asc" />
</jar>
</target>
-
+
+
<target name="dist-prepare" depends="update-readme">
<delete file="{other.jars.dir}/${testng.nobsh.jar}" />
<mkdir dir="${other.jars.dir}" />
Please sign in to comment.
Something went wrong with that request. Please try again.