Generate pom.xml at configure time (#2626)

git-svn-id: http://svn.osgeo.org/postgis/trunk@13337 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2015-03-16 09:57:04 +00:00
parent 9723092065
commit e78c75b71a
3 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View file

@ -59,6 +59,7 @@ extensions/postgis_topology/sql_bits/*.sql
GNUmakefile
java/jdbc/Makefile
java/jdbc/lib/
java/jdbc/pom.xml
java/jdbc/target/
liblwgeom/cunit/cu_tester
liblwgeom/cunit/Makefile

View file

@ -11,9 +11,18 @@
# **********************************************************************
ANT=@ANT@
POSTGIS_LIB_VERSION=@POSTGIS_LIB_VERSION@
all: build
pom.xml: pom.xml.in
sed 's,%VERSION%,$(POSTGIS_LIB_VERSION),g' $< >$@
distclean:
rm -f pom.xml
build: pom.xml
build clean distclean check:
$(ANT) $@

View file

@ -11,7 +11,7 @@
<groupId>org.postgis</groupId>
<artifactId>postgis-jdbc</artifactId>
<version>2.2.0dev</version>
<version>%VERSION%</version>
<packaging>jar</packaging>
<name>Postgis JDBC Driver</name>
<url>http://postgis.net</url>