I got this resolved, there was an incorrect repository settings under my
${maven.home}/conf/settings.xml
After removing the incorrect entry, mvn dependency update worked fine.

-Binita


On 19 March 2018 at 22:13, Binita Bharati <[email protected]> wrote:

> Hi,
>
> I have the following dependency added to my pom:
>
> <dependency>
>     <groupId>org.apache.hadoop</groupId>
>     <artifactId>hadoop-client</artifactId>
>     <version>3.0.0</version>
> </dependency>
>
> mvn dependency update is failing with the following error:
> [ERROR] Failed to execute goal on project hadooppoc: Could not resolve
> dependencies for project com.github.binitabharati:hadooppoc:jar:0.0.1:
> Failed to collect dependencies at org.apache.hadoop:hadoop-client:jar:3.0.0
> -> org.apache.hadoop:hadoop-common:jar:3.0.0 ->
> org.apache.hadoop:hadoop-auth:jar:3.0.0 -> 
> com.nimbusds:nimbus-jose-jwt:jar:4.41.1
> -> net.minidev:json-smart:jar:2.3-SNAPSHOT: Failed to read artifact
> descriptor for net.minidev:json-smart:jar:2.3-SNAPSHOT: *Could not
> transfer artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to
> vmwahcbld01-dev (http://vmwahcbld01-dev:8081/artifactory/libs-release-local
> <http://vmwahcbld01-dev:8081/artifactory/libs-release-local>):
> vmwahcbld01-dev: Unknown host vmwahcbld01-dev* -> [Help 1]
>
> My pom does not refer to the unreachable host - vmwahcbld01-dev directly,
> but aparently some dependency within hadoop-client is referring to this
> host.How can this be fixed ?
>
> -Binita
>

Reply via email to