mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
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:
parent
9723092065
commit
e78c75b71a
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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) $@
|
||||
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue