[ 
https://issues.apache.org/jira/browse/NUTCH-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775818#comment-16775818
 ] 

Malcolm Taylor commented on NUTCH-2695:
---------------------------------------

[~wastl-nagel] thanks for merging this, and I'm glad to hear you're finding 
LGTM useful. Unfortunately it seems that recent builds of apache/nutch are 
failing, so LGTM is unable to run its analysis. If you are able to fix the 
build, it should then analyse all the historic commits. Looking at the LGTM 
logs, it looks like a Maven dependency issue:

[2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
[FAILED ] javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}: 
(0ms) [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] 
[ivy:resolve] ==== local: tried [2019-02-22 23:13:00] [build] [2019-02-22 
23:13:00] [autobuild] [ivy:resolve] 
/opt/work/.ivy2/local/javax.ws.rs/javax.ws.rs-api/2.1.1/${packaging.type}s/javax.ws.rs-api.${packaging.type}
 [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
==== maven2: tried [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] 
[autobuild] [ivy:resolve] 
http://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
 [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
==== apache-snapshot: tried [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] 
[autobuild] [ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
 [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
==== sonatype: tried [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] 
[autobuild] [ivy:resolve] 
http://oss.sonatype.org/content/repositories/releases/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
 [2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
:::::::::::::::::::::::::::::::::::::::::::::: [2019-02-22 23:13:00] [build] 
[2019-02-22 23:13:00] [autobuild] [ivy:resolve] :: FAILED DOWNLOADS :: 
[2019-02-22 23:13:00] [build] [2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
:: ^ see resolution messages for details ^ :: [2019-02-22 23:13:00] [build] 
[2019-02-22 23:13:00] [autobuild] [ivy:resolve] 
:::::::::::::::::::::::::::::::::::::::::::::: [2019-02-22 23:13:00] [build] 
[2019-02-22 23:13:00] [autobuild] [ivy:resolve] :: 
javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}

> Fix some alerts raised by LGTM
> ------------------------------
>
>                 Key: NUTCH-2695
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2695
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Malcolm Taylor
>            Assignee: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.16
>
>
> I work for Semmle, the company behind LGTM. Our analysis of Nutch raised some 
> alerts, and this issue is to fix a few of the more straightforward ones. 
> ([https://lgtm.com/projects/g/apache/nutch/alerts/?mode=tree).]
>  * `Wrong NaN comparison` in Generator
>  * `Type mismatch on container modification` in NutchServerPoolExecutor
>  * `Missing format argument` in CrawlDbReader



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to