Opened 4 years ago
Closed 4 years ago
#19562 closed defect (fixed)
[PATCH] Move `apache-http` to the `ivy` dependency system
Reported by: | taylor.smock | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin apache-commons | Version: | |
Keywords: | ivy dependency | Cc: | simon04 |
Description
The first attached patch adds apache-logging
as well. I feel that this should be in apache-commons
, and that will be in two (separately labeled) patches.
apache-logging
is required since apache-http
makes calls to apache-logging
. This issue has been encountered during Mapillary
and MapWithAI
development.
IMO, it makes more sense to put apache-logging
in apache-commons
instead of apache-http
. Alternatively, another plugin could be made (probably not the best idea).
Attachments (3)
Change History (16)
by , 4 years ago
Attachment: | 19562.apache_http_with_logging.patch added |
---|
by , 4 years ago
Attachment: | 19562.apache_http_without_logging.patch added |
---|
Apache HTTP without logging (but still with IVY)
by , 4 years ago
Attachment: | 19562.apache_commons_logging.patch added |
---|
Add Apache Commons Logging to apache-commons
comment:1 by , 4 years ago
Ah sorry, Vincent isn't active ATM. If I understand right the second and third patch should be applied?
comment:2 by , 4 years ago
I kind of figured that Vincent was not active (I haven't seen anything from him in the general changelog for quite some time). I was kind of figuring that I would probably have to go back through patches on components that he is responsible for when he becomes active again, and just pinging it or something.
As far as the patches go, attachment:19562.apache_http_without_logging.patch and attachment:19562.apache_commons_logging.patch are the ones that I felt would make the most sense, yes.
comment:4 by , 4 years ago
Cc: | added |
---|
Hmm, that ivy stuff is still broken for me in plugins:
download-ivy: [get] Getting: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.4.0-local-19691228075642/ivy-2.4.0-local-19691228075642.jar [get] To: /home/stoecker/.ant/lib/ivy.jar [get] Error opening connection java.io.FileNotFoundException: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.4.0-local-19691228075642/ivy-2.4.0-local-19691228075642.jar [get] Error opening connection java.io.FileNotFoundException: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.4.0-local-19691228075642/ivy-2.4.0-local-19691228075642.jar [get] Error opening connection java.io.FileNotFoundException: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.4.0-local-19691228075642/ivy-2.4.0-local-19691228075642.jar [get] Can't get https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.4.0-local-19691228075642/ivy-2.4.0-local-19691228075642.jar to /home/stoecker/.ant/lib/ivy.jar BUILD FAILED /home/stoecker/sources/josm/plugins/build-common.xml:709: Can't get https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.4.0-local-19691228075642/ivy-2.4.0-local-19691228075642.jar to /home/stoecker/.ant/lib/ivy.jar
I was kind of figuring that I would probably have to go back through patches on components that he is responsible for when he becomes active again, and just pinging it or something.
No, if somebody isn't available we'll go on and hope he/she comes back :-)
follow-up: 6 comment:5 by , 4 years ago
@stoecker: As far as broken ivy stuff goes, have you made any modifications to any build.xml
files (including the build-common.xml
) where the ivy version is specified? I don't know why else it would be trying to get 2.4.0-local-19691228075642
(we only have 2.4.0 and 2.5.0 on the JOSM nexus).
No, if somebody isn't available we'll go on and hope he/she comes back :-)
It is a little more difficult if you don't know who else to ping. :)
comment:6 by , 4 years ago
Replying to taylor.smock:
@stoecker: As far as broken ivy stuff goes, have you made any modifications to any
build.xml
files (including thebuild-common.xml
) where the ivy version is specified? I don't know why else it would be trying to get2.4.0-local-19691228075642
(we only have 2.4.0 and 2.5.0 on the JOSM nexus).
Probably this comes from the system installation?:
apache-ivy-2.4.0-6.3.noarch
ivy-local-5.3.0-3.1.noarch
I don't have any modifications. That's a plain fresh checkout.
follow-up: 8 comment:7 by , 4 years ago
Did you override the ivy.version
property? What about running…
$ ant -Divy.version=2.5.0 clean dist
comment:8 by , 4 years ago
Replying to simon04:
Did you override the
ivy.version
property? What about running…
No.
$ ant -Divy.version=2.5.0 clean dist
That works. Can we adapt the SVN so that it works from scratch?
comment:10 by , 4 years ago
@stoecker: In plugins/build-common.xml we have the task fetch_dependencies
. Can we make use of that
one instead of resolve
task from plugins/apache-http?
comment:13 by , 4 years ago
Keywords: | ivy dependency added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Apache HTTP with logging (and IVY)