You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2018/05/08 11:28:00 UTC

[jira] [Updated] (NUTCH-2513) ant eclipse target fails with "protocol switch unsafe"

     [ https://issues.apache.org/jira/browse/NUTCH-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Nagel updated NUTCH-2513:
-----------------------------------
    Fix Version/s: 2.4

> ant eclipse target fails with "protocol switch unsafe"
> ------------------------------------------------------
>
>                 Key: NUTCH-2513
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2513
>             Project: Nutch
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.3.1, 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
>            Assignee: Sebastian Nagel
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 2.4, 1.15
>
>         Attachments: sf.patch
>
>
>  
> 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)