aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2014-09-18 01:37:27 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2014-09-18 01:37:27 +0000
commit666fac4457aaad4610856b94346142554577bab4 (patch)
tree3ea733fbf34fb61e000f280556f5a0ffd4f59c0d /pom.xml
parent5aaf048fe7b5ed1f418262deef16aa7557aa874e (diff)
downloadjackcess-666fac4457aaad4610856b94346142554577bab4.tar.gz
jackcess-666fac4457aaad4610856b94346142554577bab4.zip
[maven-release-plugin] prepare release jackcess-2.0.5
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@878 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 089cda9..7fcca19 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
<artifactId>jackcess</artifactId>
<name>Jackcess</name>
<description>A pure Java library for reading from and writing to MS Access databases.</description>
- <version>2.0.5-SNAPSHOT</version>
+ <version>2.0.5</version>
<url>http://jackcess.sf.net</url>
<inceptionYear>2005</inceptionYear>
<developers>
@@ -100,10 +100,10 @@
<url>http://sourceforge.net/p/jackcess/bugs/</url>
</issueManagement>
<scm>
- <connection>scm:svn:svn://svn.code.sf.net/p/jackcess/code/jackcess/trunk/</connection>
+ <connection>scm:svn:svn://svn.code.sf.net/p/jackcess/code/jackcess/tags/jackcess-2.0.5</connection>
<!-- read/write svn connection -->
- <developerConnection>scm:svn:svn+ssh://svn.code.sf.net/p/jackcess/code/jackcess/trunk/</developerConnection>
- <url>http://svn.code.sf.net/p/jackcess/code/jackcess/trunk/</url>
+ <developerConnection>scm:svn:svn+ssh://svn.code.sf.net/p/jackcess/code/jackcess/tags/jackcess-2.0.5</developerConnection>
+ <url>http://svn.code.sf.net/p/jackcess/code/jackcess/tags/jackcess-2.0.5</url>
</scm>
<build>
<defaultGoal>install</defaultGoal>
000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash

set -u
set -e
trap onexit INT
trap onexit TERM
trap onexit EXIT

TMPDIR=

onexit()
{
	if [ ! "$TMPDIR" = "" ]; then
		rm -rf $TMPDIR
	fi
}

PACKAGE_NAME=@CMAKE_PROJECT_NAME@
VERSION=@VERSION@
BUILD=@BUILD@
SRCDIR=@CMAKE_SOURCE_DIR@
OS=@CMAKE_SYSTEM_NAME@
CPU=@CMAKE_SYSTEM_PROCESSOR@
PREFIX=@CMAKE_INSTALL_PREFIX@
CFLAGS="@CMAKE_C_FLAGS@"
if [[ $CFLAGS = *-m32* ]]; then
	CPU=i686
fi
PACKAGE_FILE=$PACKAGE_NAME-$OS-$CPU-$VERSION.tar.gz
SERVER=0

if [ $# -gt 0 ]; then
	if [ "$1" = "server" ]; then
		SERVER=1
	fi
fi

umask 022
TMPDIR=`mktemp -d /tmp/$PACKAGE_NAME-build.XXXXXX`
rm -f $PACKAGE_FILE
OUTDIR=$TMPDIR/inst/$PREFIX

mkdir -p $OUTDIR/bin
mkdir -p $OUTDIR/man/man1

make DESTDIR=$TMPDIR/inst install
if [ $SERVER = 1 ]; then
	install -m 755 ./xorg.build/bin/Xvnc $OUTDIR/bin/
	install -m 644 ./xorg.build/man/man1/Xvnc.1 $OUTDIR/man/man1/Xvnc.1
	install -m 644 ./xorg.build/man/man1/Xserver.1 $OUTDIR/man/man1/Xserver.1
	mkdir -p $OUTDIR/lib/dri/
	install -m 755 ./xorg.build/lib/dri/swrast_dri.so $OUTDIR/lib/dri/
fi

pushd $TMPDIR/inst
tar cfz ../$PACKAGE_FILE .
popd
cp $TMPDIR/$PACKAGE_FILE .

exit