[jira] [Commented] (MLINKCHECK-30) https link does not exists and redirected by website to another url
[ https://issues.apache.org/jira/browse/MLINKCHECK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995171#comment-15995171 ] Michael Osipov commented on MLINKCHECK-30: -- Unless someone rewrites the entire mojo with Wagon (if possible) or HttpClient directly, this won't be any better unfortunately. > https link does not exists and redirected by website to another url > > > Key: MLINKCHECK-30 > URL: https://issues.apache.org/jira/browse/MLINKCHECK-30 > Project: Maven Linkcheck Plugin > Issue Type: Bug >Reporter: Roman Ivanov > > there is > during site creation of checkstyle project > (https://github.com/checkstyle/checkstyle) - "mvn site" > there is url - > http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar > it does not exists on sourceforge, as we publish only released jars, > http://wheregoes.com/retracer.php for > "http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar; > show a problem(404) but in browser this link is redirected to > https://sourceforge.net/projects/checkstyle/files/ > Redirections are not allowed in config. Previously validation worked fine so > that we have this link in excludes. Now it does not generate a error. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (MLINKCHECK-30) https link does not exists and redirected by website to another url
[ https://issues.apache.org/jira/browse/MLINKCHECK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15962433#comment-15962433 ] Roman Ivanov commented on MLINKCHECK-30: [~michael-o] , > Why do you actually publish files with Sourceforge at all? I have recently > stopped that for my projects because they all are on Maven Cenral anyway. yes, this is just historical, but there is a nuance ... we publish special checkstyle-7.6.1-all.jar (attention to "-all") that is composite of all our dependencies to that resource. As far as I know maven central does not allow hosting of non standard jars. Link to jar is not a only problem, we host whole website on sourceforge so there are a lot of other links that fail with handshake error. There is long discussion of SSL problems with link-check-plugin https://github.com/checkstyle/checkstyle/pull/4114 . > https link does not exists and redirected by website to another url > > > Key: MLINKCHECK-30 > URL: https://issues.apache.org/jira/browse/MLINKCHECK-30 > Project: Maven Linkcheck Plugin > Issue Type: Bug >Reporter: Roman Ivanov > > there is > during site creation of checkstyle project > (https://github.com/checkstyle/checkstyle) - "mvn site" > there is url - > http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar > it does not exists on sourceforge, as we publish only released jars, > http://wheregoes.com/retracer.php for > "http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar; > show a problem(404) but in browser this link is redirected to > https://sourceforge.net/projects/checkstyle/files/ > Redirections are not allowed in config. Previously validation worked fine so > that we have this link in excludes. Now it does not generate a error. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (MLINKCHECK-30) https link does not exists and redirected by website to another url
[ https://issues.apache.org/jira/browse/MLINKCHECK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15962244#comment-15962244 ] Michael Osipov commented on MLINKCHECK-30: -- I am somewhat confused what the real issue is? The rediect happens by Sourceforce nginx config because of the user agent transmitted by your browser. >From Firefox: {noformat} curl "https://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar; -H "Host: downloads.sourceforge.net" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3" --compressed -H "DNT: 1" -H "Upgrade-Insecure-Requests: 1" -H "Connection: keep-alive" -H "Pragma: no-cache" -H "Cache-Control: no-cache" {noformat} I have found the crappy issue: Doxia Linkcheck, see [here|http://maven.apache.org/doxia/doxia-tools/doxia-linkcheck/xref/org/apache/maven/doxia/linkcheck/validation/OnlineHTTPLinkValidator.html#155]: {code:java} System.setProperty( HttpMethodParams.USER_AGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" ); this.cl.getParams().setParameter( HttpMethodParams.USER_AGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" ); {code} This code is horribly old, Commons HttpClient 3.x... > https link does not exists and redirected by website to another url > > > Key: MLINKCHECK-30 > URL: https://issues.apache.org/jira/browse/MLINKCHECK-30 > Project: Maven Linkcheck Plugin > Issue Type: Bug >Reporter: Roman Ivanov > > there is > during site creation of checkstyle project > (https://github.com/checkstyle/checkstyle) - "mvn site" > there is url - > http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar > it does not exists on sourceforge, as we publish only released jars, > http://wheregoes.com/retracer.php for > "http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar; > show a problem(404) but in browser this link is redirected to > https://sourceforge.net/projects/checkstyle/files/ > Redirections are not allowed in config. Previously validation worked fine so > that we have this link in excludes. Now it does not generate a error. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (MLINKCHECK-30) https link does not exists and redirected by website to another url
[ https://issues.apache.org/jira/browse/MLINKCHECK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15962240#comment-15962240 ] Michael Osipov commented on MLINKCHECK-30: -- Off topic: Why do you actually publish files with Sourceforge at all? I have recently stopped that for my projects because they all are on Maven Cenral anyway. This is just duplicate data. > https link does not exists and redirected by website to another url > > > Key: MLINKCHECK-30 > URL: https://issues.apache.org/jira/browse/MLINKCHECK-30 > Project: Maven Linkcheck Plugin > Issue Type: Bug >Reporter: Roman Ivanov > > there is > during site creation of checkstyle project > (https://github.com/checkstyle/checkstyle) - "mvn site" > there is url - > http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar > it does not exists on sourceforge, as we publish only released jars, > http://wheregoes.com/retracer.php for > "http://downloads.sourceforge.net/project/checkstyle/checkstyle/7.7-SNAPSHOT/checkstyle-7.7-SNAPSHOT-all.jar; > show a problem(404) but in browser this link is redirected to > https://sourceforge.net/projects/checkstyle/files/ > Redirections are not allowed in config. Previously validation worked fine so > that we have this link in excludes. Now it does not generate a error. -- This message was sent by Atlassian JIRA (v6.3.15#6346)