archiva-users mailing list archives

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


Wendy Smoak-3 wrote:
> 
> On Wed, Sep 2, 2009 at 1:57 PM, Robert
> Munteanu<robert.munteanu@gmail.com> wrote:
> 
>> 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
> 
> Credentials are configured per repository, so it sounds like you have
> permission to deploy to the snapshots repo, but not to internal.
> 
> 

These are my roles:

    * Global Repository Manager
    * Repository Observer - snapshots
    * Repository Observer - internal
    * Global Repository Observer
    * Registered User
    * Repository Manager - snapshots
    * Repository Manager - internal


Wendy Smoak-3 wrote:
> 
> What do you have in settings.xml?  
> 

<settings>
        <servers>
            <server>
            <id>internal</id>
                <username>robert</username>
                <password>x</password>
        </server>
           <server>
            <id>snapshots</id>
                <username>robert</username>
                <password>x</password>
        </server>

        </servers>
</settings>


Wendy Smoak-3 wrote:
> 
> What does distributionManagement look like for this project?
> 

  <distributionManagement>
    <repository>
      <id>internal</id>
      <name>Archiva Managed Internal Repository</name>
      <url>https://archiva/repository/internal/</url>
    </repository>
    <snapshotRepository>
      <id>snapshots</id>
      <name>Archiva Managed Snapshot Repository</name>
      <url>https://archiva/repository/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>


Wendy Smoak-3 wrote:
> 
> Double check that the user in question has the repository manager role
> for the internal repo.
> 

That was my initial thought, but being able to deploy another (pom) project
made me reconsider. The project I was able to deploy is actually the war
project's parent and the war project inherits the distributionManagement
section.

Thanks,

Robert

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


Mime
View raw message