maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Not authorized issue when transfering metadata...
Date Mon, 08 Jul 2013 16:09:00 GMT
On 8 July 2013 16:37, Alan Buck <Alan.Buck@pharmacyonesource.com> wrote:

> I'm beginning to get the hang of Maven but I just ran into an issue that
> I'm not sure how to rectify it.
>
> com.p1s:mps] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
> on project mps: Failed to retrieve remote metadata
> com.p1s:mps:1.9-SNAPSHOT/
>

Could be auth issue on retrieval, or could be that this is the first
1.9-SNAPSHOT to be deployed


> maven-metadata.xml: Could not transfer metadata
> com.p1s:mps:1.9-SNAPSHOT/maven-metadata.xml from/to snaps (dav:
> http://madarchiva:8080/archiva/repository/snapshots): Not authorized
>

Certainly an auth issue trying to deploy

>
> I'm building a project, mps, that is throwing the above error. I'm not
> sure how to interpret this but I think it is saying that in the
> maven-deploy-plugin (version 2.7) there is an authorization problem.
>

Have you got the correct user auth details in ~/.m2/setttings.xml in the
<servers> section under a <server> with the <id> matching the <id>
in your
<distributionManagement><snapshotRepository> in your pom?


>
> Is this authorization to get something from madarchiva or is it trying to
> get something from com.p1s:mps:1.9-SNAPSHOT?
>
> Any help in understanding this error message would be appreciated.
>
> Alan
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message