From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | John Harvey <john(dot)harvey(at)crunchydata(dot)com> |
Cc: | List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Are pgrpm changes for JDBC discussed here before submission? |
Date: | 2016-01-05 22:00:45 |
Message-ID: | 1452031245.8584.57.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi John,
Thank you *very* much for this work. I built binaries for 9.5
repository, and I will be push them along with PostgreSQL 9.5.0.
I had to edit EL-6 spec file a bit, as it does not have some macros.
Also, I added apache-maven spec file to our repo, along with the RPMS
for EL-6. The reason is that apache-maven in the repo you mentioned
depends on JDK 1.7.0, but JDBC driver needs 1.8.0. So, I rebuilt our
own RPMS (that was really easy) and added to repo.
Thanks again, you saved great time!
Once the 9.5 dust settles down, I'll built 9.4 and others, too.
Regards, Devrim
On Tue, 2016-01-05 at 11:19 -0500, John Harvey wrote:
> Hey folks,
>
> Thanks for the suggestions!
> I was able to get around it with the following:
>
> yum -y install java-1.8.0-openjdk-devel
> wget
> http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-ma
> ven.repo
> -O /etc/yum.repos.d/epel-apache-maven.repo
> yum -y install apache-maven
> yum -y install jpackage-utils java-headless
>
> # For my RHEL7 build:
> export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk.x86_64/jre
>
> And then in the spec file, I use:
> mvn -DskipTests -P release-artifacts clean package
>
> It seems to work.
>
> I know that with the new 9.5.0 postgresql release in progress things
> are
> busy for the pgrpm's team, so I'm not sure if/when this patch would
> go in.
>
> Regards,
> -John
>
> On Tue, Jan 5, 2016 at 10:27 AM, Vladimir Sitnikov <
> sitnikov(dot)vladimir(at)gmail(dot)com> wrote:
>
> > I think Github tarballs are fine.
> > Tags with REL${version} are going to be the release tags.
> >
> > To trigger toolchain usage (and disable enforcer at the same time),
> > you need to use `mvn package -Prelease` command.
> > However, it might be better to create -Pactivate-toolchains to make
> > that explicit.
> >
> > Sample toolchains.xml file can be found in the source root of
> > pgjdbc
> > project.
> > You might want to add -DskipTests, otherwise you need to have a
> > running PostgreSQL instance to execute the tests.
> >
> > Vladimir
> >
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From | Date | Subject | |
---|---|---|---|
Next Message | Álvaro Hernández Tortosa | 2016-01-06 00:45:56 | Re: Backend protocol wanted features |
Previous Message | Devrim GÜNDÜZ | 2016-01-05 19:46:55 | Re: Are pgrpm changes for JDBC discussed here before submission? |