[jira] [Comment Edited] (NUTCH-2764) Weird build error javax.javax.measure#unit-api

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (NUTCH-2764) Weird build error javax.javax.measure#unit-api

Steve Loughran (Jira)

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

Mauro Asprea edited comment on NUTCH-2764 at 11/11/20, 4:24 PM:
----------------------------------------------------------------

It still does not work. I'm now trying to make the "ant eclipse" command move forward but I had to disable parse-tika and parse-swf, otherwise the "javax.measure" error still appears.

Only after I disabled those 2 plugins from the build.xml and src/plugin/build.xml then I was able to get a clean "ant eclipse" run with {{BUILD SUCCESSFUL}}

BTW I am trying this on the master branch.


was (Author: brutuscat):
It still does not work. I'm now trying to make the "ant eclipse" command move forward but I had to disable parse-tika and parse-swf, otherwise the "javax.measure" error still appears.

Only after I disabled those 2 plugins from the build.xml and src/plugin/build.xml then I was able to get a clean "ant eclipse" run with {{BUILD SUCCESSFUL}}

> Weird build error javax.javax.measure#unit-api
> ----------------------------------------------
>
>                 Key: NUTCH-2764
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2764
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.15, 1.16
>            Reporter: Markus Jelsma
>            Priority: Minor
>
> In weird cases Nutch is unable to build due to a dependency problem in the TikaParser. The error report:
> {code}
> [ivy:resolve]   ==== sonatype: tried
> [ivy:resolve]     https://oss.sonatype.org/content/repositories/releases/javax/measure/unit-api/working@localhost/unit-api-working@...
> [ivy:resolve]     -- artifact javax.measure#unit-api;working@localhost!unit-api.jar:
> [ivy:resolve]     https://oss.sonatype.org/content/repositories/releases/javax/measure/unit-api/working@localhost/unit-api-working@...
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: javax.measure#unit-api;working@localhost: not found
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> {code}
> Cleaning the local ~/.ivy cache solves the problem. Cleaning ~/.ivy2/cache/javax.measure/unit-api/ can also work but i have not tested it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)