From: thomas at tada.se (Thomas Hallgren) Date: Fri, 22 Feb 2013 10:32:23 +0100 Subject: [Pljava-dev] Functional Maven Builds! In-Reply-To: <75EE9845-677B-4794-99F4-8FB90048A731@me.com> References: <5126B4D5.1030507@tada.se> <75EE9845-677B-4794-99F4-8FB90048A731@me.com> Message-ID: <51273B27.1060407@tada.se> 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 > 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: