Archiva is giving these error when I run the deploy goal from Maven:
2011-03-09 16:49:49,737 [http-8080-2] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator -
Authorization Denied
[ip=192.168.1.51,permission=archiva-upload-repository,repo=snapshots] : no
matching permissions
2011-03-09 16:49:50,397 [http-8080-1] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator -
Authorization Denied
[ip=192.168.1.51,permission=archiva-upload-repository,repo=snapshots] : no
matching permissions
2011-03-09 16:49:50,743 [http-8080-1] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator -
Authorization Denied
[ip=192.168.1.51,permission=archiva-upload-repository,repo=snapshots] : no
matching permissions
1) the username and password are set correctly in the servers section of the
settings.xml file
2) If I change the password in the settings.xml file to an incorrect one,
maven fails with an error
3) the user in question has the following rights in Archiva:
Effective Roles
* Global Repository Manager
* User Administrator
* System Administrator
* Repository Observer - snapshots
* Repository Observer - internal
* Global Repository Observer
* Registered User
* Repository Manager - snapshots
* Repository Manager - internal
4) The files that get created when running a maven deploy are:
maven-metadata.xml
maven-metadata.xml.md5
maven-metadata.xml.sha1
and the POM actually gets created, but it is a ZERO length file
5) When logged into the web-interface as this user, I can successfully
upload the POM file
Does anyone have any ideas?