Can not access s3-us-west-2.amazonaws.com

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can not access s3-us-west-2.amazonaws.com

hax0r
hi, there:
I want to build the Nifi in my own computer. But I got an error:Could not transfer artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to dynamodb-local-oregon (https://s3-us-west-2.amazonaws.com/dynamodb-local/release): Access denied to: https://s3-us-west-2.amazonaws.com/dynamodb-local/release/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom , ReasonPhrase:Forbidden.
Is there any other alternative repo? Thx in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Can not access s3-us-west-2.amazonaws.com

Pierre Villard
Hi,

Yeah same here.

[ERROR] Failed to execute goal on project nifi-hadoop-utils: Could not
resolve dependencies for project
org.apache.nifi:nifi-hadoop-utils:jar:1.8.0-SNAPSHOT: Failed to collect
dependencies at 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 dynamodb-local-oregon (
https://s3-us-west-2.amazonaws.com/dynamodb-local/release): Access denied
to:
https://s3-us-west-2.amazonaws.com/dynamodb-local/release/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom
, ReasonPhrase:Forbidden. -> [Help 1]

It seems to be due to some errors in a pom we don't own and it's
referencing net.minidev:json-smart:jar:2.3-SNAPSHOT instead of
net.minidev:json-smart:jar:2.3

Trying to locate the issue.

Le ven. 14 sept. 2018 à 13:05, <[hidden email]> a écrit :

> hi, there:
> I want to build the Nifi in my own computer. But I got an error:Could not
> transfer artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to
> dynamodb-local-oregon (
> https://s3-us-west-2.amazonaws.com/dynamodb-local/release): Access denied
> to:
> https://s3-us-west-2.amazonaws.com/dynamodb-local/release/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom
> , ReasonPhrase:Forbidden.
> Is there any other alternative repo? Thx in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Can not access s3-us-west-2.amazonaws.com

Pierre Villard
You can add

        <repository>
            <id>dynamodb-local-oregon</id>
               <name>DynamoDB Local Release Repository</name>
               <url>
https://s3-us-west-2.amazonaws.com/dynamodb-local/release</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>

in the repotisories section of the main pom.xml or in your settings.xml to
exclude that repo.

It should help.

Pierre

Le ven. 14 sept. 2018 à 14:06, Pierre Villard <[hidden email]>
a écrit :

> Hi,
>
> Yeah same here.
>
> [ERROR] Failed to execute goal on project nifi-hadoop-utils: Could not
> resolve dependencies for project
> org.apache.nifi:nifi-hadoop-utils:jar:1.8.0-SNAPSHOT: Failed to collect
> dependencies at 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 dynamodb-local-oregon (
> https://s3-us-west-2.amazonaws.com/dynamodb-local/release): Access denied
> to:
> https://s3-us-west-2.amazonaws.com/dynamodb-local/release/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom
> , ReasonPhrase:Forbidden. -> [Help 1]
>
> It seems to be due to some errors in a pom we don't own and it's
> referencing net.minidev:json-smart:jar:2.3-SNAPSHOT instead of
> net.minidev:json-smart:jar:2.3
>
> Trying to locate the issue.
>
> Le ven. 14 sept. 2018 à 13:05, <[hidden email]> a écrit :
>
>> hi, there:
>> I want to build the Nifi in my own computer. But I got an error:Could not
>> transfer artifact net.minidev:json-smart:pom:2.3-SNAPSHOT from/to
>> dynamodb-local-oregon (
>> https://s3-us-west-2.amazonaws.com/dynamodb-local/release): Access
>> denied to:
>> https://s3-us-west-2.amazonaws.com/dynamodb-local/release/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom
>> , ReasonPhrase:Forbidden.
>> Is there any other alternative repo? Thx in advance.
>
>