[
https://issues.apache.org/jira/browse/NUTCH-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230807#comment-17230807
]
Sebastian Nagel commented on NUTCH-2764:
----------------------------------------
Can you confirm that you're using ivy 2.5.0 (the version is logged). It might
be that another ivy-x.x.x.jar is on the class path (eg. in ~/.ant/lib/).
The reason why the build fails are unresolved dependencies. Yes, maybe ivy
should entitle this as an ERROR but I think the message is already verbose
enough. And the reason is obvious: the revision in the retrieve pattern is not
"1.0" but "[email protected]".
> 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/[email protected]
> [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/[email protected]
> [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)