agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Functional Maven Builds!
Date: Fri, 22 Feb 2013 10:32:23 +0100
Message-ID: <51273B27.1060407@tada.se> (raw)
In-Reply-To: <75EE9845-677B-4794-99F4-8FB90048A731@me.com>
References: <5126B4D5.1030507@tada.se>
<75EE9845-677B-4794-99F4-8FB90048A731@me.com>
I decided to take it one step further and host a Nexus Repository
Manager at http://nexus.tada.se. I also added repository definitions to
the parent pom which means that the only thing needed now is to set the
JAVA6_HOME environment variable. The rest should be fully automatic.
The repository that holds the maven-nar-plugin is this one:
http://nexus.tada.se/content/repositories/snapshots/
It's included in the parent pom. The repository now also contains the
latest snapshot of PL/Java compiled on my machine (Linux on x86_64 with
PostgreSQL 9.1.7)
- thomas
On 2013-02-22 01:43, Hal Hildebrand wrote:
> So, you can use the build as a repository, which Can make this
> transition painless. See:
> http://www.jonathanholloway.co.uk/java/maven-system-path-using-jars-without-installing-in-maven
>
> You get a stern warning from maven, but it's an excellent bridge until
> the dependency is available.
>
> Sent from my Tricorder
>
> On Feb 21, 2013, at 3:59 PM, Thomas Hallgren <thomas at tada.se
> <mailto:thomas at tada.se>> wrote:
>
>> Thanks to contributions from Hal Hildebrand and Christian Hammers, we
>> now have a fully functional Maven build. And it really builds everything!
>>
>> The build still has some quirks. One is that Christians pull-request
>> that provides a needed patch for the maven-nar-plugin hasn't been
>> accepted just yet. It's tracked here:
>>
>> https://github.com/maven-nar/maven-nar-plugin/pull/22
>>
>> In order to build, you must first clone the repository from
>> git://github.com/lathspell/maven-nar-plugin.git (this repo contains
>> the patch). Change the version into 2.1-pljava-SNAPSHOT (instead of
>> just 2.1-SNAPSHOT), and then do a mvn install to get it into your
>> local maven repo.
>>
>> The build also requires a Java 1.6 runtime library and you must set
>> the environment JAVA6_HOME to point to such a JDK before the build.
>> Once that's set, you can build using a Java 1.7 compiler.
>>
>> - thomas
>>
>> _______________________________________________
>> Pljava-dev mailing list
>> Pljava-dev at pgfoundry.org <mailto:Pljava-dev at pgfoundry.org>
>> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20130222/6e0a1e60/attachment.html;
view thread (4+ messages) latest in thread
Message-ID: <51273B27.1060407@tada.se>
Permalink: ../51273B27.1060407@tada.se/
Also on: postgresql.org/message-id/51273B27.1060407@tada.se
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] Functional Maven Builds!
In-Reply-To: <51273B27.1060407@tada.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox