Обсуждение: Remove obsolete maven-ant-tasks
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=b3fea86ab90954a44fc363fb0ab349594d9342a8 [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.
Why do you need to recompile it ?
I think we have a lot more dependencies on maven ant tasks than just that one.
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=b3fea86ab90954a44fc363fb0ab349594d9342a8
[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
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