archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Munteanu <robert.munte...@gmail.com>
Subject Unable to deploy released war file to archiva
Date Wed, 02 Sep 2009 20:57:16 GMT

Hi,

I've observed some strange behaviour when deploying and waited to verify on
1.2.2 as well before posting.

I am not able to deploy a release version of a war project, while a snapshot
works fine. Deploying a pom project works for both snapshot and release.

The war file is 19MB large, so I adjusted the upload size ( but that
would've been contradicted by the snapshot upload working ) without any
success.

The error I get in archiva.log is

2009-09-02 23:36:02,985 [TP-Processor3] INFO 
org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
Authorization Denied
[ip=81.180.230.218,permission=archiva-upload-repository,repo=internal] : no
matching permissions
2009-09-02 23:36:33,057 [TP-Processor3] INFO 
org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
Authorization Denied
[ip=81.180.230.218,permission=archiva-upload-repository,repo=internal] : no
matching permissions

(yes, twice)

My workflow is

I simply run mvn deploy which leads to 

[INFO] [deploy:deploy {execution: default-deploy}]
Uploading:
https://archiva/repository/internal/com/example/project/0.4.0/project-0.4.0.war
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Error transferring file
Error writing to server

mvn -v says

Apache Maven 2.2.1 (r801777; 2009-08-06 22:16:01+0300)
Java version: 1.6.0_0
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.27.29-0.1-pae" arch: "i386" Family: "unix"

Any hints would be greatly appreciated.

Robert

-- 
View this message in context: http://www.nabble.com/Unable-to-deploy-released-war-file-to-archiva-tp25265603p25265603.html
Sent from the archiva-users mailing list archive at Nabble.com.


Mime
View raw message