root/middleware-online/trunk/non_maven_deps/mvn_install.sh @ 72

Revision 72, 1.7 KB (checked in by vsilva, 9 years ago)

Developments on Online Application

  • Property svn:executable set to *
Line 
1WINDOWS_JAR_MD5=$1
2LINUX_JAR_MD5=$2
3MAC_JAR_MD5=$3
4
5echo "###### Installing maven files quietly"
6
7mvn --quiet install:install-file -Dfile=jai_imageio-fixed.jar -DgroupId=com.sun.media -DartifactId=jai_imageio -Dversion=1.1 -Dpackaging=jar -Dclassifier=fixed
8mvn --quiet install:install-file -Dfile=pteid-lib-java-windows.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-windows -Dversion=1.0-SNAPSHOT -Dpackaging=jar
9mvn --quiet install:install-file -Dfile=pteid-lib-java-linux.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-linux -Dversion=1.0-SNAPSHOT -Dpackaging=jar
10mvn --quiet install:install-file -Dfile=pteid-lib-java-mac.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-mac -Dversion=1.0-SNAPSHOT -Dpackaging=jar
11mvn --quiet install:install-file -Dfile=jnlp-servlet.jar -DgroupId=javax.jnlp -DartifactId=jnlp-servlet -Dversion=6.29 -Dpackaging=jar
12
13
14echo " MD5s for the files being installed"
15WINDOWS_INSTALLED_JAR_MD5=`md5sum pteid-lib-java-windows.jar | awk '{ print $1 }'`
16LINUX_INSTALLED_JAR_MD5=`md5sum pteid-lib-java-linux.jar | awk '{ print $1 }'`
17MAC_INSTALLED_JAR_MD5=`md5sum pteid-lib-java-mac.jar | awk '{ print $1 }'`
18echo " Windows MD5[$WINDOWS_INSTALLED_JAR_MD5]"
19echo " Linux MD5[$LINUX_INSTALLED_JAR_MD5]"
20echo " Mac MD5[$MAC_INSTALLED_JAR_MD5]"
21
22echo " Received MD5s:"
23echo " Windows MD5[$WINDOWS_JAR_MD5]"
24echo " Linux MD5[$LINUX_JAR_MD5]"
25echo " Mac MD5[$MAC_JAR_MD5]"
26
27if [ "$WINDOWS_INSTALLED_JAR_MD5" != "$WINDOWS_JAR_MD5" ] ; then
28  echo "Windows jars NOT OK"
29fi
30if [ "$LINUX_INSTALLED_JAR_MD5" != "$LINUX_JAR_MD5" ] ; then
31  echo "Linux jars NOT OK"
32fi
33if [ "$MAC_INSTALLED_JAR_MD5" != "$MAC_JAR_MD5" ] ; then
34  echo "Mac jars NOT OK"
35fi
Note: See TracBrowser for help on using the browser.