[jira] [Commented] (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] [Commented] (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=17230687#comment-17230687 ]

Mauro Asprea commented on NUTCH-2764:
-------------------------------------

- Nutch version: master branch 680df6ba1dc68ad5ede5fca743304593d4d5b0a3
- Java version:
{{openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+14)
OpenJDK 64-Bit Server VM (build 14.0.1+14, mixed mode, sharing)}}
- ant version:
{{Apache Ant(TM) version 1.10.8 compiled on May 10 2020}}

Something that bothers is that this is labeled as a warning...
{{[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: javax.measure#unit-api;[hidden email]
[ivy:resolve] ==== local: tried
[..]}}
Is it ok for a warning to interrupt a build?

> 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)