Hi Laurent,
as it renders from the log, you are trying to override a release version of
artifact - libs-release-local/foo/PomParent/1.113.0/PomParent-1.113.0.pom
User must have a DELETE permission to override releases.
Hope that helps,
Baruch
Baruch.
--
Developer Advocate
JFrog Ltd
www.jfrog.com
+972544954353
@jbaruch
On Fri, Feb 8, 2013 at 11:36 AM, Laurent Tardif <
[email protected]> wrote:
> My setup is the following :
> a user A, as write/anotate/read permission on the releases repositories
> When user A push artefacts (jar, dll, ...) everything works correctly.
>
> When pushing a pom.xml (a pom Parent) file (with maven), i got the
> following error :
>
> [INFO] Error installing artifact's metadata: Error while deploying
> metadata:
> Authorization failed: Access denied to ....
>
> On the server side i have :
> local:foo/PomParent/1.113.0/PomParent-1.113.0.pom' Content-Length: 150738
> 2013-02-08 08:46:41,625 [pool-1-thread-20] [INFO ]
> (o.a.e.UploadServiceImpl:197) - Deploy to 'libs-release-local: foo
> /PomParent/1.113.0/PomParent-1.113.0.pom.md5' Content-Length: 32
> 2013-02-08 08:46:41,719 [pool-1-thread-9] [INFO ]
> (o.a.e.UploadServiceImpl:197) - Deploy to 'libs-release-local: foo
> /PomParent/1.113.0/PomParent-1.113.0.pom.sha1' Content-Length: 40
> 2013-02-08 08:46:41,906 [pool-1-thread-3] [INFO ]
> (o.a.e.UploadServiceImpl:197) - Deploy to 'libs-release-local: foo
> /PomParent/maven-metadata.xml' Content-Length: 642
> 2013-02-08 08:46:41,938 [pool-1-thread-12] [INFO ]
> (o.a.e.UploadServiceImpl:197) - Deploy to 'libs-release-local: foo
> /PomParent/maven-metadata.xml.md5' Content-Length: 32
> 2013-02-08 08:46:41,938 [pool-1-thread-14] [INFO ]
> (o.a.e.UploadServiceImpl:197) - Deploy to 'libs-release-local: foo
> /PomParent/maven-metadata.xml.sha1' Content-Length: 40
> 2013-02-08 08:46:42,016 [pool-1-thread-7] [WARN ]
> (o.a.e.UploadServiceImpl:168) - Sending HTTP error code 403: Not enough
> permissions to overwrite artifact 'libs-release-local: foo
> /PomParent/1.113.0/PomParent-1.113.0.pom' (user 'buildwriter' needs DELETE
> permission)..
>
> The artifact is pushed, but the metadata are in invalid state (bad last
> version,...)
>
> I got the issue with 2.6.6 with mysql, and also with 2.5.1 version with
> default installation.
>
>
>
>
> --
> View this message in context:
> http://forums.jfrog.org/Issue-when-deploying-pomParent-in-a-release-repository-with-no-delete-permission-tp7578570.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users