From: ch at lathspell.de (Christian Hammers) Date: Fri, 8 Feb 2013 01:59:20 +0100 Subject: [Pljava-dev] Building pljava.so with maven-nar-plugin? In-Reply-To: <20130207170645.080294f4@james.intern> References: <20130111204013.00e19939@james.intern> <20130112234738.03b606b1@james.intern> <50F29266.5070408@tada.se> <50F29372.7080808@tada.se> <20130206023102.1b94cc01@james.intern> <51120BE7.6020109@tada.se> <20130207170645.080294f4@james.intern> Message-ID: <20130208015920.58709bae@james.intern> Hello My github fork https://github.com/lathspell/pljava now contains a directory pljava-so with a pom.xml file that is able to produce a pljava.so library which works with Postgres 9.2. Things that are yet to do: * the linker options slightly differ, e.g. there is a -shared-libgcc option that maven adds. Don't know if it hurts. * the Postgres version is read from a build.properties file. Maybe we need an ant task that just calls pg_config and writes it? Maybe that properties file would be useful on top-level so that e.g. the PGSQL_MAJOR_VERSION accessible by all maven modules? * The pljava.so is not yet automatically installed into /usr/lib/postgres/9.2/lib/ like "make install" would do. Probably another ant task needed here? bye, -christian-