Skip to content

Commit

Permalink
Signing the bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeust committed Apr 27, 2010
1 parent 268e3e0 commit 73c823b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
8 changes: 2 additions & 6 deletions NOTES
Expand Up @@ -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>

=======
Expand Down
26 changes: 24 additions & 2 deletions build.xml
Expand Up @@ -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}" />
Expand Down

0 comments on commit 73c823b

Please sign in to comment.