dhirajforyou created NUTCH-2513:
-----------------------------------
Summary: ant eclipse protocol unsafe
Key: NUTCH-2513
URL: https://issues.apache.org/jira/browse/NUTCH-2513
Project: Nutch
Issue Type: Improvement
Components: build
Affects Versions: 1.14
Environment:
ant -version
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was
removed in 8.0
Apache Ant(TM) version 1.10.2 compiled on February 3 2018
java -version
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-3~14.04-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)
Reporter: dhirajforyou
Fix For: 1.15
ant eclipse failed as the url to sourceforge was getting redirected to https
from http.
ant-eclipse-download:
[get] Getting:
http://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2
[get] To: /home/govind/apache/nutch/build/ant-eclipse-1.0.bin.tar.bz2
[get]
http://downloads.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2
moved to
https://excellmedia.dl.sourceforge.net/project/ant-eclipse/ant-eclipse/1.0/ant-eclipse-1.0.bin.tar.bz2
Target 'ant-eclipse-download' failed with message 'Redirection detected from
http to https. Protocol switch unsafe, not allowed.'.
Cannot execute 'eclipse' - 'ant-eclipse-download' failed or was not executed.
BUILD FAILED
/home/govind/apache/nutch/build.xml:1006: Redirection detected from http to
https. Protocol switch unsafe, not allowed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)