You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by da...@apache.org on 2008/10/15 23:09:40 UTC

svn commit: r705043 - /wicket/branches/wicket-1.3.x/release.sh

Author: dashorst
Date: Wed Oct 15 14:09:39 2008
New Revision: 705043

URL: http://svn.apache.org/viewvc?rev=705043&view=rev
Log:
mvn5 command added, since default java on my box is JDK-1.6 (soylatte), and mvn then fails the tests.

Modified:
    wicket/branches/wicket-1.3.x/release.sh

Modified: wicket/branches/wicket-1.3.x/release.sh
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/release.sh?rev=705043&r1=705042&r2=705043&view=diff
==============================================================================
--- wicket/branches/wicket-1.3.x/release.sh (original)
+++ wicket/branches/wicket-1.3.x/release.sh Wed Oct 15 14:09:39 2008
@@ -19,6 +19,8 @@
 echo "GPG to sign the release."
 echo "This program assumes you have a 'mvn4' script that starts Maven 2 using"
 echo "a Java 1.4 development kit to compile the projects that are JDK-1.4 based."
+echo "It also assumes you have a 'mvn5' script that starts Maven 2 using a Java"
+echo "1.5 development kit to compile the projects that are JDK-1.5 based."
 echo ""
 
 echo "Enter your GPG passphrase (input will be hidden)"
@@ -55,13 +57,13 @@
 done
 
 # clean all projects
-mvn clean -Pall
+mvn5 clean -Pall
 
 # compile the JDK-1.4 projects
 mvn4 -ff -Pjdk-1.4 test $1
 
 # package and assemble the release
-mvn -ff -Dgpg.passphrase=$passphrase -Prelease deploy assembly:attached $1
+mvn5 -ff -Dgpg.passphrase=$passphrase -Prelease deploy assembly:attached $1
 
 filename=`ls target/dist/apache-wicket*gz`
 gpg --print-md MD5 $filename > $filename.md5