archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Retter <adam.ret...@googlemail.com>
Subject Strange deploy problem
Date Mon, 30 Nov 2009 17:12:46 GMT
Hi there I have just installed 1.2.2 on Linux and am trying to deploy
to the snapshot repository but I get the Exception below on the server
side. I have been fiddling with this all day, but as yet with no
success, could someone take a look please?

I am calling "mvn deploy" with the following in settings.xml -

<server>
<id>internal</id>
<username>admin</username>
<password>myPassword</password>
</server>
<server>
<id>snapshots</id>
<username>admin</username>
<password>myPassword</password>
</server>

<profile>
                        <id>archiva.new</id>
                        <activation>
                                    <activeByDefault>true</activeByDefault>
                        </activation>
                        <repositories>
                                    <repository>

<id>uk.co.landmark.solutions.maven.internal</id>
                                                <name>Landmark
Solutions Internal Repository</name>

<url>http://exsubv02:8080/archiva/repository/internal</url>
                                                <releases>

<enabled>true</enabled>
                                                </releases>
                                                <snapshots>

<enabled>false</enabled>
                                                </snapshots>
                                    </repository>
                                    <repository>

<id>uk.co.landmark.solutions.maven.snapshots</id>
                                                <name>Landmark
Solutions Snapshots Repository</name>

<url>http://exsubv02:8080/archiva/repository/snapshots</url>
                                                <releases>

<enabled>false</enabled>
                                                </releases>
                                                <snapshots>

<enabled>true</enabled>
                                                </snapshots>
                                    </repository>
                        </repositories>
                        <pluginRepositories>
                                    <pluginRepository>

<id>uk.co.landmark.solutions.maven.internal.plugin</id>
                                                <name>Landmark
Solutions Internal Plugin Repository</name>

<url>http://exsubv02:8080/archiva/repository/internal</url>
                                                <releases>

<enabled>true</enabled>
                                                </releases>
                                                <snapshots>

<enabled>false</enabled>
                                                </snapshots>
                                    </pluginRepository>
                                    <pluginRepository>

<id>uk.co.landmark.solutions.maven.snapshots.plugin</id>
                                                <name>Landmark
Solutions Snapshots Plugin Repository</name>

<url>http://exsubv02:8080/archiva/repository/snapshots</url>
                                                <releases>

<enabled>false</enabled>
                                                </releases>
                                                <snapshots>

<enabled>true</enabled>
                                                </snapshots>
                                    </pluginRepository>
                        </pluginRepositories>
            </profile>


And this in my pom.xml -

<distributionManagement>
   <repository>
      <id>internal</id>
      <url>http://exsubv02:8080/archiva/repository/internal</url>
    </repository>
    <snapshotRepository>
        <id>snapshots</id>
        <url>http://exsubv02:8080/archiva/repository/snapshots</url>
    </snapshotRepository>
  </distributionManagement>


2009-11-30 13:47:24,328 [btpool0-3] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
Authorization Denied
[ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
: no matching permissions
2009-11-30 13:47:27,923 [btpool0-8] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
Authorization Denied
[ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
: no matching permissions
2009-11-30 13:47:30,855 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
 - Error occurred while executing indexing task
'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
2009-11-30 13:47:30,929 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing  - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
	at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
	at java.lang.Thread.run(Thread.java:675)
2009-11-30 13:47:31,084 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
 - Error occurred while executing indexing task
'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
2009-11-30 13:47:31,085 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing  - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
	at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
	at java.lang.Thread.run(Thread.java:675)
2009-11-30 13:47:31,196 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
 - Error occurred while executing indexing task
'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
2009-11-30 13:47:31,197 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing  - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
	at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
	at java.lang.Thread.run(Thread.java:675)



-- 
Adam Retter

skype :adam.retter
http://www.adamretter.org.uk

Mime
View raw message