pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Remove obsolete maven-ant-tasks
3+ messages / 3 participants
[nested] [flat]

* Remove obsolete maven-ant-tasks
@ 2015-03-23 16:11 Jozef Mlich <jmlich@redhat.com>
  2015-03-23 16:59 ` Re: Remove obsolete maven-ant-tasks Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jozef Mlich @ 2015-03-23 16:11 UTC (permalink / raw)
  To: pgsql-jdbc

Dear pgsql-jdbc hackers,

recently, I was trying to recompile postgresql jdbc driver (ver. 1201)
in Fedora Linux from source codes. 

I had troubles with maven-ant-tasks package. Fedora forbids installation
from binary files ( ./lib/*.jar ) so we aren't using them. The package
maven-ant-tasks is not available in current release of Fedora. According
to the commit message [1] is the package retired because its
incompatibility with Maven 3. The Maven 2 is still present, but it is
already after its End of Life [2]. 

It would be nice, if you can remove dependency on maven-ant-tasks. 

I was trying to create an patch, but my java skills are limited )-; I
suppose this commit [3] is best place to start.

[1]
http://pkgs.fedoraproject.org/cgit/maven-ant-tasks.git/commit/?id=b3fea86ab90954a44fc363fb0ab349594d...
[2] http://maven.apache.org/
[3]
https://github.com/pgjdbc/pgjdbc/commit/94bc87e3dde97f08df7d2f31164a1f2348185713

best regards,
-- 
Jozef Mlich <jmlich@redhat.com>
Associate Software Engineer - EMEA ENG Developer Experience
Mobile: +420 604 217 719
http://cz.redhat.com/
Red Hat, Inc.



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Remove obsolete maven-ant-tasks
  2015-03-23 16:11 Remove obsolete maven-ant-tasks Jozef Mlich <jmlich@redhat.com>
@ 2015-03-23 16:59 ` Dave Cramer <pg@fastcrypt.com>
  2015-03-24 08:06   ` Re: Remove obsolete maven-ant-tasks Pavel Raiskup <praiskup@redhat.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Dave Cramer @ 2015-03-23 16:59 UTC (permalink / raw)
  To: Jozef Mlich <jmlich@redhat.com>; +Cc: pgsql-jdbc

Why do you need to recompile it ?

I think we have a lot more dependencies on maven ant tasks than just that
one.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 23 March 2015 at 12:11, Jozef Mlich <jmlich@redhat.com> wrote:

> Dear pgsql-jdbc hackers,
>
> recently, I was trying to recompile postgresql jdbc driver (ver. 1201)
> in Fedora Linux from source codes.
>
> I had troubles with maven-ant-tasks package. Fedora forbids installation
> from binary files ( ./lib/*.jar ) so we aren't using them. The package
> maven-ant-tasks is not available in current release of Fedora. According
> to the commit message [1] is the package retired because its
> incompatibility with Maven 3. The Maven 2 is still present, but it is
> already after its End of Life [2].
>
> It would be nice, if you can remove dependency on maven-ant-tasks.
>
> I was trying to create an patch, but my java skills are limited )-; I
> suppose this commit [3] is best place to start.
>
> [1]
>
> http://pkgs.fedoraproject.org/cgit/maven-ant-tasks.git/commit/?id=b3fea86ab90954a44fc363fb0ab349594d...
> [2] http://maven.apache.org/
> [3]
>
> https://github.com/pgjdbc/pgjdbc/commit/94bc87e3dde97f08df7d2f31164a1f2348185713
>
> best regards,
> --
> Jozef Mlich <jmlich@redhat.com>
> Associate Software Engineer - EMEA ENG Developer Experience
> Mobile: +420 604 217 719
> http://cz.redhat.com/
> Red Hat, Inc.
>
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Remove obsolete maven-ant-tasks
  2015-03-23 16:11 Remove obsolete maven-ant-tasks Jozef Mlich <jmlich@redhat.com>
  2015-03-23 16:59 ` Re: Remove obsolete maven-ant-tasks Dave Cramer <pg@fastcrypt.com>
@ 2015-03-24 08:06   ` Pavel Raiskup <praiskup@redhat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Pavel Raiskup @ 2015-03-24 08:06 UTC (permalink / raw)
  To: pgsql-jdbc; +Cc: Dave Cramer <pg@fastcrypt.com>; Jozef Mlich <jmlich@redhat.com>

ello Dave,

On Monday 23 of March 2015 12:59:49 Dave Cramer wrote:
> Why do you need to recompile it ?

Thats Fedora/RHEL policy, to provide complete sources (to read the source
or to re-compile).  Maven-ant-tasks is probably just a build-time
dependency, but its similar.

> I think we have a lot more dependencies on maven ant tasks than just
> that one.

We successfully built pgjdbc without maven-ant-task, up to the 9.4-1200
and, as a one of the first actions, our build scripts remove binaries from
pgjdbc tarball since 2006.  But this may not be the same situation for
non-linux platforms..  I'm not java hacker, neither I analyzed the problem
carefully yet..  so thats everything I am able to say atm, sorry.

Thanks, Pavel



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-03-24 08:06 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 16:11 Remove obsolete maven-ant-tasks Jozef Mlich <jmlich@redhat.com>
2015-03-23 16:59 ` Dave Cramer <pg@fastcrypt.com>
2015-03-24 08:06   ` Pavel Raiskup <praiskup@redhat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox