agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] Functional Maven Builds!
4+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] Functional Maven Builds!
@ 2013-02-21 23:59
0 siblings, 1 reply; 4+ messages in thread
From: @ 2013-02-21 23:59 UTC (permalink / raw)
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20130222/56abbed9/attachment.html;
^ permalink raw reply [nested|flat] 4+ messages in thread
* [Pljava-dev] Functional Maven Builds!
@ 2013-02-22 00:43
parent:
0 siblings, 1 reply; 4+ messages in thread
From: @ 2013-02-22 00:43 UTC (permalink / raw)
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> 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
> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20130221/f0d15bb2/attachment.html;
^ permalink raw reply [nested|flat] 4+ messages in thread
* [Pljava-dev] Functional Maven Builds!
@ 2013-02-22 09:32
parent:
0 siblings, 1 reply; 4+ messages in thread
From: @ 2013-02-22 09:32 UTC (permalink / raw)
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;
^ permalink raw reply [nested|flat] 4+ messages in thread
* [Pljava-dev] Functional Maven Builds!
@ 2013-02-22 12:48
parent:
0 siblings, 0 replies; 4+ messages in thread
From: @ 2013-02-22 12:48 UTC (permalink / raw)
Sweet!
Sent from my Tricorder
On Feb 22, 2013, at 1:32 AM, Thomas Hallgren <thomas at tada.se> wrote:
> 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> 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
>>> 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/214d8f3f/attachment.html;
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2013-02-22 12:48 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21 23:59 [Pljava-dev] Functional Maven Builds!
2013-02-22 00:43 `
2013-02-22 09:32 `
2013-02-22 12:48 `
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox