[postgis-users] postgis-jdbc-2.1.5.jar

Sandro Santilli strk at keybit.net
Wed Mar 11 08:22:00 PDT 2015


On Wed, Mar 11, 2015 at 03:11:13PM +0000, Mason, Matthew wrote:

> When compiling the postgis jdbc jar (i.e. postgis-jdbc-2.1.3.jar)
> from source the maven pom file has the version as 2.1.4dev by default
> in the postgis2.1.5 source.

Sounds like a bug.
Version of pom.xml is parametrized in 2.0 branch:

    <artifactId>postgis-jdbc</artifactId>
    <version>${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}</version>

But is hard-coded in 2.1 branch:

    <artifactId>postgis-jdbc</artifactId>
    <version>2.1.4dev</version>

And in master:

    <artifactId>postgis-jdbc</artifactId>
    <version>2.2.0dev</version>

The build.xml file still uses parameters:

  <property file="${versioninfo}"/>
  <property name="postgis_version" value="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}"/>

It looks like switching to hard-coded was intentional, here:
http://trac.osgeo.org/postgis/ticket/2626
You may want to add yourself in Cc there, and ping the java guys
(I'm enough of an hater)

--strk;


More information about the postgis-users mailing list