<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>users@archiva.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/archiva-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/archiva-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/archiva-users/</id>
<updated>2009-12-07T05:26:05Z</updated>
<entry>
<title>Re: Strange deploy problem</title>
<author><name>Adam Retter &lt;adam.retter@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200912.mbox/%3cab70ed440912010156j966a543m4247ce959f82a0af@mail.gmail.com%3e"/>
<id>urn:uuid:%3cab70ed440912010156j966a543m4247ce959f82a0af@mail-gmail-com%3e</id>
<updated>2009-12-01T09:56:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Also, I cleared the logs and started up archiva and tried to build and
deploy an artifact to snapshots. I attach the Archiva log and the
archiva configuration.



2009/12/1 Adam Retter &lt;adam.retter@googlemail.com&gt;:
&gt; 2009/11/30 Brett Porter &lt;brett@porterclan.net&gt;:
&gt;&gt; Something is causing the indexing to fail, which would make the deployment return
an error (though the artifact is probably already there).
&gt;
&gt; Yes, sometimes archives make it into the repository/snapshots folder
&gt; and sometimes they dont.
&gt;
&gt;
&gt;&gt; Is there any other exceptions in the logs that might help diagnose it? You might
want to remove the indexes (this is described on the web site) to get a clean slate.
&gt;
&gt; From what I can tell I dont have any indexes at all, I have two empty folders -
&gt;
&gt; /HCR_SubVersion/archiva.new/data/repositories/internal/.indexer/
&gt; /HCR_SubVersion/archiva.new/data/repositories/snapshots/.indexer/
&gt;
&gt; I should also mention that /HCR_SubVersion is a network mount, but the
&gt; account that Archiva runs under has full access to that mount, as also
&gt; proven by the fact that Archiva has been able to add some artifacts to
&gt; the snapshots repository.
&gt;
&gt;&gt; The upcoming 1.2.3 release has improvements to the indexing error reporting, and
the ability to rebuild the indexes from the UI that might be helpful. If you'd like to help
us test it, ping us on dev@archiva.apache.org.
&gt;
&gt; I would be happier running 1.2.2 if we can get it running until there
&gt; is a stable release of 1.2.3. Lets see if we can get this working,
&gt; otherwise I may have to look at 1.2.3-beta.
&gt;
&gt; Thanks Adam.
&gt;
&gt;&gt; Thanks,
&gt;&gt; Brett
&gt;&gt;
&gt;&gt; On 01/12/2009, at 4:12 AM, Adam Retter wrote:
&gt;&gt;
&gt;&gt;&gt; Hi there I have just installed 1.2.2 on Linux and am trying to deploy
&gt;&gt;&gt; to the snapshot repository but I get the Exception below on the server
&gt;&gt;&gt; side. I have been fiddling with this all day, but as yet with no
&gt;&gt;&gt; success, could someone take a look please?
&gt;&gt;&gt;
&gt;&gt;&gt; I am calling "mvn deploy" with the following in settings.xml -
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;server&gt;
&gt;&gt;&gt; &lt;id&gt;internal&lt;/id&gt;
&gt;&gt;&gt; &lt;username&gt;admin&lt;/username&gt;
&gt;&gt;&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt;&gt;&gt; &lt;/server&gt;
&gt;&gt;&gt; &lt;server&gt;
&gt;&gt;&gt; &lt;id&gt;snapshots&lt;/id&gt;
&gt;&gt;&gt; &lt;username&gt;admin&lt;/username&gt;
&gt;&gt;&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt;&gt;&gt; &lt;/server&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;profile&gt;
&gt;&gt;&gt;                        &lt;id&gt;archiva.new&lt;/id&gt;
&gt;&gt;&gt;                        &lt;activation&gt;
&gt;&gt;&gt;                                    &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
&gt;&gt;&gt;                        &lt;/activation&gt;
&gt;&gt;&gt;                        &lt;repositories&gt;
&gt;&gt;&gt;                                    &lt;repository&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal&lt;/id&gt;
&gt;&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt;&gt; Solutions Internal Repository&lt;/name&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;&gt;                                    &lt;/repository&gt;
&gt;&gt;&gt;                                    &lt;repository&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots&lt;/id&gt;
&gt;&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt;&gt; Solutions Snapshots Repository&lt;/name&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;&gt;                                    &lt;/repository&gt;
&gt;&gt;&gt;                        &lt;/repositories&gt;
&gt;&gt;&gt;                        &lt;pluginRepositories&gt;
&gt;&gt;&gt;                                    &lt;pluginRepository&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal.plugin&lt;/id&gt;
&gt;&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt;&gt; Solutions Internal Plugin Repository&lt;/name&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;&gt;                                    &lt;/pluginRepository&gt;
&gt;&gt;&gt;                                    &lt;pluginRepository&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots.plugin&lt;/id&gt;
&gt;&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt;&gt; Solutions Snapshots Plugin Repository&lt;/name&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;&gt;                                    &lt;/pluginRepository&gt;
&gt;&gt;&gt;                        &lt;/pluginRepositories&gt;
&gt;&gt;&gt;            &lt;/profile&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; And this in my pom.xml -
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;distributionManagement&gt;
&gt;&gt;&gt;   &lt;repository&gt;
&gt;&gt;&gt;      &lt;id&gt;internal&lt;/id&gt;
&gt;&gt;&gt;      &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;&gt;    &lt;/repository&gt;
&gt;&gt;&gt;    &lt;snapshotRepository&gt;
&gt;&gt;&gt;        &lt;id&gt;snapshots&lt;/id&gt;
&gt;&gt;&gt;        &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;&gt;    &lt;/snapshotRepository&gt;
&gt;&gt;&gt;  &lt;/distributionManagement&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; 2009-11-30 13:47:24,328 [btpool0-3] INFO
&gt;&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt;&gt; Authorization Denied
&gt;&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt;&gt; : no matching permissions
&gt;&gt;&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt;&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt;&gt; Authorization Denied
&gt;&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt;&gt; : no matching permissions
&gt;&gt;&gt; 2009-11-30 13:47:30,855 [pool-3-thread-1] ERROR
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt;&gt; - Error occurred while executing indexing task
&gt;&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;&gt;&gt; 2009-11-30 13:47:30,929 [pool-3-thread-1] ERROR
&gt;&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt;&gt; occurred while executing indexing task
&gt;&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;&gt;&gt;       at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;&gt;       at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;&gt;       at java.lang.Thread.run(Thread.java:675)
&gt;&gt;&gt; 2009-11-30 13:47:31,084 [pool-3-thread-1] ERROR
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt;&gt; - Error occurred while executing indexing task
&gt;&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;&gt;&gt; 2009-11-30 13:47:31,085 [pool-3-thread-1] ERROR
&gt;&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt;&gt; occurred while executing indexing task
&gt;&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;&gt;&gt;       at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;&gt;       at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;&gt;       at java.lang.Thread.run(Thread.java:675)
&gt;&gt;&gt; 2009-11-30 13:47:31,196 [pool-3-thread-1] ERROR
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt;&gt; - Error occurred while executing indexing task
&gt;&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;&gt;&gt; 2009-11-30 13:47:31,197 [pool-3-thread-1] ERROR
&gt;&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt;&gt; occurred while executing indexing task
&gt;&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;&gt;&gt;       at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;&gt;       at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;&gt;       at java.lang.Thread.run(Thread.java:675)
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Adam Retter
&gt;&gt;&gt;
&gt;&gt;&gt; skype :adam.retter
&gt;&gt;&gt; http://www.adamretter.org.uk
&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Adam Retter
&gt;
&gt; skype :adam.retter
&gt; http://www.adamretter.org.uk
&gt;



-- 
Adam Retter

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


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Strange deploy problem</title>
<author><name>Adam Retter &lt;adam.retter@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200912.mbox/%3cab70ed440912010155r32685d9ajeb246ac6ebb6c2fa@mail.gmail.com%3e"/>
<id>urn:uuid:%3cab70ed440912010155r32685d9ajeb246ac6ebb6c2fa@mail-gmail-com%3e</id>
<updated>2009-12-01T09:55:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/11/30 Brett Porter &lt;brett@porterclan.net&gt;:
&gt; Something is causing the indexing to fail, which would make the deployment return an
error (though the artifact is probably already there).

Yes, sometimes archives make it into the repository/snapshots folder
and sometimes they dont.


&gt; Is there any other exceptions in the logs that might help diagnose it? You might want
to remove the indexes (this is described on the web site) to get a clean slate.

&gt;From what I can tell I dont have any indexes at all, I have two empty folders -

/HCR_SubVersion/archiva.new/data/repositories/internal/.indexer/
/HCR_SubVersion/archiva.new/data/repositories/snapshots/.indexer/

I should also mention that /HCR_SubVersion is a network mount, but the
account that Archiva runs under has full access to that mount, as also
proven by the fact that Archiva has been able to add some artifacts to
the snapshots repository.

&gt; The upcoming 1.2.3 release has improvements to the indexing error reporting, and the
ability to rebuild the indexes from the UI that might be helpful. If you'd like to help us
test it, ping us on dev@archiva.apache.org.

I would be happier running 1.2.2 if we can get it running until there
is a stable release of 1.2.3. Lets see if we can get this working,
otherwise I may have to look at 1.2.3-beta.

Thanks Adam.

&gt; Thanks,
&gt; Brett
&gt;
&gt; On 01/12/2009, at 4:12 AM, Adam Retter wrote:
&gt;
&gt;&gt; Hi there I have just installed 1.2.2 on Linux and am trying to deploy
&gt;&gt; to the snapshot repository but I get the Exception below on the server
&gt;&gt; side. I have been fiddling with this all day, but as yet with no
&gt;&gt; success, could someone take a look please?
&gt;&gt;
&gt;&gt; I am calling "mvn deploy" with the following in settings.xml -
&gt;&gt;
&gt;&gt; &lt;server&gt;
&gt;&gt; &lt;id&gt;internal&lt;/id&gt;
&gt;&gt; &lt;username&gt;admin&lt;/username&gt;
&gt;&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt;&gt; &lt;/server&gt;
&gt;&gt; &lt;server&gt;
&gt;&gt; &lt;id&gt;snapshots&lt;/id&gt;
&gt;&gt; &lt;username&gt;admin&lt;/username&gt;
&gt;&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt;&gt; &lt;/server&gt;
&gt;&gt;
&gt;&gt; &lt;profile&gt;
&gt;&gt;                        &lt;id&gt;archiva.new&lt;/id&gt;
&gt;&gt;                        &lt;activation&gt;
&gt;&gt;                                    &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
&gt;&gt;                        &lt;/activation&gt;
&gt;&gt;                        &lt;repositories&gt;
&gt;&gt;                                    &lt;repository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Internal Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/repository&gt;
&gt;&gt;                                    &lt;repository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Snapshots Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/repository&gt;
&gt;&gt;                        &lt;/repositories&gt;
&gt;&gt;                        &lt;pluginRepositories&gt;
&gt;&gt;                                    &lt;pluginRepository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal.plugin&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Internal Plugin Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/pluginRepository&gt;
&gt;&gt;                                    &lt;pluginRepository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots.plugin&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Snapshots Plugin Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/pluginRepository&gt;
&gt;&gt;                        &lt;/pluginRepositories&gt;
&gt;&gt;            &lt;/profile&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; And this in my pom.xml -
&gt;&gt;
&gt;&gt; &lt;distributionManagement&gt;
&gt;&gt;   &lt;repository&gt;
&gt;&gt;      &lt;id&gt;internal&lt;/id&gt;
&gt;&gt;      &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;    &lt;/repository&gt;
&gt;&gt;    &lt;snapshotRepository&gt;
&gt;&gt;        &lt;id&gt;snapshots&lt;/id&gt;
&gt;&gt;        &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;    &lt;/snapshotRepository&gt;
&gt;&gt;  &lt;/distributionManagement&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009-11-30 13:47:24,328 [btpool0-3] INFO
&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt; Authorization Denied
&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt; : no matching permissions
&gt;&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt; Authorization Denied
&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt; : no matching permissions
&gt;&gt; 2009-11-30 13:47:30,855 [pool-3-thread-1] ERROR
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt; - Error occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;&gt; 2009-11-30 13:47:30,929 [pool-3-thread-1] ERROR
&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt; occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;&gt;       at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;       at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;       at java.lang.Thread.run(Thread.java:675)
&gt;&gt; 2009-11-30 13:47:31,084 [pool-3-thread-1] ERROR
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt; - Error occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;&gt; 2009-11-30 13:47:31,085 [pool-3-thread-1] ERROR
&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt; occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;&gt;       at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;       at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;       at java.lang.Thread.run(Thread.java:675)
&gt;&gt; 2009-11-30 13:47:31,196 [pool-3-thread-1] ERROR
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt; - Error occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;&gt; 2009-11-30 13:47:31,197 [pool-3-thread-1] ERROR
&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt; occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;&gt;       at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;       at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;       at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;       at java.lang.Thread.run(Thread.java:675)
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Adam Retter
&gt;&gt;
&gt;&gt; skype :adam.retter
&gt;&gt; http://www.adamretter.org.uk
&gt;
&gt;



-- 
Adam Retter

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


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Strange deploy problem</title>
<author><name>Brett Porter &lt;brett@porterclan.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200912.mbox/%3cD5426D94-6E7C-4544-AD49-2E16175C6F4D@porterclan.net%3e"/>
<id>urn:uuid:%3cD5426D94-6E7C-4544-AD49-2E16175C6F4D@porterclan-net%3e</id>
<updated>2009-11-30T22:57:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Something is causing the indexing to fail, which would make the deployment return an error
(though the artifact is probably already there).

Is there any other exceptions in the logs that might help diagnose it? You might want to remove
the indexes (this is described on the web site) to get a clean slate.

The upcoming 1.2.3 release has improvements to the indexing error reporting, and the ability
to rebuild the indexes from the UI that might be helpful. If you'd like to help us test it,
ping us on dev@archiva.apache.org.

Thanks,
Brett

On 01/12/2009, at 4:12 AM, Adam Retter wrote:

&gt; Hi there I have just installed 1.2.2 on Linux and am trying to deploy
&gt; to the snapshot repository but I get the Exception below on the server
&gt; side. I have been fiddling with this all day, but as yet with no
&gt; success, could someone take a look please?
&gt; 
&gt; I am calling "mvn deploy" with the following in settings.xml -
&gt; 
&gt; &lt;server&gt;
&gt; &lt;id&gt;internal&lt;/id&gt;
&gt; &lt;username&gt;admin&lt;/username&gt;
&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt; &lt;/server&gt;
&gt; &lt;server&gt;
&gt; &lt;id&gt;snapshots&lt;/id&gt;
&gt; &lt;username&gt;admin&lt;/username&gt;
&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt; &lt;/server&gt;
&gt; 
&gt; &lt;profile&gt;
&gt;                        &lt;id&gt;archiva.new&lt;/id&gt;
&gt;                        &lt;activation&gt;
&gt;                                    &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
&gt;                        &lt;/activation&gt;
&gt;                        &lt;repositories&gt;
&gt;                                    &lt;repository&gt;
&gt; 
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Internal Repository&lt;/name&gt;
&gt; 
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt; 
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt; 
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/repository&gt;
&gt;                                    &lt;repository&gt;
&gt; 
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Snapshots Repository&lt;/name&gt;
&gt; 
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt; 
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt; 
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/repository&gt;
&gt;                        &lt;/repositories&gt;
&gt;                        &lt;pluginRepositories&gt;
&gt;                                    &lt;pluginRepository&gt;
&gt; 
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal.plugin&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Internal Plugin Repository&lt;/name&gt;
&gt; 
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt; 
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt; 
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/pluginRepository&gt;
&gt;                                    &lt;pluginRepository&gt;
&gt; 
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots.plugin&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Snapshots Plugin Repository&lt;/name&gt;
&gt; 
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt; 
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt; 
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/pluginRepository&gt;
&gt;                        &lt;/pluginRepositories&gt;
&gt;            &lt;/profile&gt;
&gt; 
&gt; 
&gt; And this in my pom.xml -
&gt; 
&gt; &lt;distributionManagement&gt;
&gt;   &lt;repository&gt;
&gt;      &lt;id&gt;internal&lt;/id&gt;
&gt;      &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;    &lt;/repository&gt;
&gt;    &lt;snapshotRepository&gt;
&gt;        &lt;id&gt;snapshots&lt;/id&gt;
&gt;        &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;    &lt;/snapshotRepository&gt;
&gt;  &lt;/distributionManagement&gt;
&gt; 
&gt; 
&gt; 2009-11-30 13:47:24,328 [btpool0-3] INFO
&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt; Authorization Denied
&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt; : no matching permissions
&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt; Authorization Denied
&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt; : no matching permissions
&gt; 2009-11-30 13:47:30,855 [pool-3-thread-1] ERROR
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt; - Error occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt; 2009-11-30 13:47:30,929 [pool-3-thread-1] ERROR
&gt; taskQueueExecutor#indexing  - Error executing task
&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt; occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt; 	at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt; 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt; 	at java.lang.Thread.run(Thread.java:675)
&gt; 2009-11-30 13:47:31,084 [pool-3-thread-1] ERROR
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt; - Error occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt; 2009-11-30 13:47:31,085 [pool-3-thread-1] ERROR
&gt; taskQueueExecutor#indexing  - Error executing task
&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt; occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt; 	at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt; 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt; 	at java.lang.Thread.run(Thread.java:675)
&gt; 2009-11-30 13:47:31,196 [pool-3-thread-1] ERROR
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt; - Error occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt; 2009-11-30 13:47:31,197 [pool-3-thread-1] ERROR
&gt; taskQueueExecutor#indexing  - Error executing task
&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt; occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt; 	at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt; 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt; 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt; 	at java.lang.Thread.run(Thread.java:675)
&gt; 
&gt; 
&gt; 
&gt; -- 
&gt; Adam Retter
&gt; 
&gt; skype :adam.retter
&gt; http://www.adamretter.org.uk



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Strange deploy problem</title>
<author><name>Adam Retter &lt;adam.retter@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3cab70ed440911301011i4126f571kbcf5912754751961@mail.gmail.com%3e"/>
<id>urn:uuid:%3cab70ed440911301011i4126f571kbcf5912754751961@mail-gmail-com%3e</id>
<updated>2009-11-30T18:11:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/11/30 Soumen Trivedi &lt;soumen.trivedi@gmail.com&gt;:
&gt; Hello,
&gt; I am using Archiva 1.2.2 standalone version and w.r.t to the error log:
&gt; org.apache.maven.archiva.
&gt;
&gt;&gt; security.ArchivaServletAuthenticator  -
&gt;&gt; Authorization Denied
&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt; : no matching permissions
&gt;&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt; Authorization Denied
&gt;
&gt;
&gt;
&gt; I have seen this KIND of problem before (and not the exact error log), it
&gt; had to do with the userId being used to upload the artifacts DID NOT HAVE
&gt; REPOSITORY MANAGER permission and only OBSERVER permission. After correcting
&gt; that, the problem was resolved. I hope it helps for you too.


I havent changed the permissions, but I checked and it would seem that
by default the admin user has these roles -

    * Global Repository Manager
    * User Administrator
    * System Administrator
    * Repository Observer - snapshots
    * Repository Observer - internal
    * Repository Manager - snapshots
    * Repository Manager - internal



Any other thoughts?


&gt;
&gt; --
&gt; Thanks &amp; Regards,
&gt; Soumen Trivedi
&gt; Email: Soumen.Trivedi@gmail.com
&gt;
&gt; On Mon, Nov 30, 2009 at 5:12 PM, Adam Retter &lt;adam.retter@googlemail.com&gt;wrote:
&gt;
&gt;&gt; Hi there I have just installed 1.2.2 on Linux and am trying to deploy
&gt;&gt; to the snapshot repository but I get the Exception below on the server
&gt;&gt; side. I have been fiddling with this all day, but as yet with no
&gt;&gt; success, could someone take a look please?
&gt;&gt;
&gt;&gt; I am calling "mvn deploy" with the following in settings.xml -
&gt;&gt;
&gt;&gt; &lt;server&gt;
&gt;&gt; &lt;id&gt;internal&lt;/id&gt;
&gt;&gt; &lt;username&gt;admin&lt;/username&gt;
&gt;&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt;&gt; &lt;/server&gt;
&gt;&gt; &lt;server&gt;
&gt;&gt; &lt;id&gt;snapshots&lt;/id&gt;
&gt;&gt; &lt;username&gt;admin&lt;/username&gt;
&gt;&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt;&gt; &lt;/server&gt;
&gt;&gt;
&gt;&gt; &lt;profile&gt;
&gt;&gt;                        &lt;id&gt;archiva.new&lt;/id&gt;
&gt;&gt;                        &lt;activation&gt;
&gt;&gt;                                    &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
&gt;&gt;                        &lt;/activation&gt;
&gt;&gt;                        &lt;repositories&gt;
&gt;&gt;                                    &lt;repository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Internal Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/repository&gt;
&gt;&gt;                                    &lt;repository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Snapshots Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/repository&gt;
&gt;&gt;                        &lt;/repositories&gt;
&gt;&gt;                        &lt;pluginRepositories&gt;
&gt;&gt;                                    &lt;pluginRepository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal.plugin&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Internal Plugin Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/pluginRepository&gt;
&gt;&gt;                                    &lt;pluginRepository&gt;
&gt;&gt;
&gt;&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots.plugin&lt;/id&gt;
&gt;&gt;                                                &lt;name&gt;Landmark
&gt;&gt; Solutions Snapshots Plugin Repository&lt;/name&gt;
&gt;&gt;
&gt;&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;                                                &lt;releases&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;&gt;                                                &lt;/releases&gt;
&gt;&gt;                                                &lt;snapshots&gt;
&gt;&gt;
&gt;&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;&gt;                                                &lt;/snapshots&gt;
&gt;&gt;                                    &lt;/pluginRepository&gt;
&gt;&gt;                        &lt;/pluginRepositories&gt;
&gt;&gt;            &lt;/profile&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; And this in my pom.xml -
&gt;&gt;
&gt;&gt; &lt;distributionManagement&gt;
&gt;&gt;   &lt;repository&gt;
&gt;&gt;      &lt;id&gt;internal&lt;/id&gt;
&gt;&gt;      &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;&gt;    &lt;/repository&gt;
&gt;&gt;    &lt;snapshotRepository&gt;
&gt;&gt;        &lt;id&gt;snapshots&lt;/id&gt;
&gt;&gt;        &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;&gt;    &lt;/snapshotRepository&gt;
&gt;&gt;  &lt;/distributionManagement&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009-11-30 13:47:24,328 [btpool0-3] INFO
&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt; Authorization Denied
&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt; : no matching permissions
&gt;&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt;&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt;&gt; Authorization Denied
&gt;&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt;&gt; : no matching permissions
&gt;&gt; 2009-11-30 13:47:30,855 [pool-3-thread-1] ERROR
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt;  - Error occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;&gt; 2009-11-30 13:47:30,929 [pool-3-thread-1] ERROR
&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt; occurred while executing indexing task
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;&gt;        at
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;        at
&gt;&gt; org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;        at java.lang.Thread.run(Thread.java:675)
&gt;&gt; 2009-11-30 13:47:31,084 [pool-3-thread-1] ERROR
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt;  - Error occurred while executing indexing task
&gt;&gt;
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;&gt; 2009-11-30 13:47:31,085 [pool-3-thread-1] ERROR
&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt; occurred while executing indexing task
&gt;&gt;
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;&gt;        at
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;        at
&gt;&gt; org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;        at java.lang.Thread.run(Thread.java:675)
&gt;&gt; 2009-11-30 13:47:31,196 [pool-3-thread-1] ERROR
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;&gt;  - Error occurred while executing indexing task
&gt;&gt;
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;&gt; 2009-11-30 13:47:31,197 [pool-3-thread-1] ERROR
&gt;&gt; taskQueueExecutor#indexing  - Error executing task
&gt;&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt;&gt; occurred while executing indexing task
&gt;&gt;
&gt;&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;&gt;        at
&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;&gt;        at
&gt;&gt; org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;&gt;        at
&gt;&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;&gt;        at java.lang.Thread.run(Thread.java:675)
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Adam Retter
&gt;&gt;
&gt;&gt; skype :adam.retter
&gt;&gt; http://www.adamretter.org.uk
&gt;&gt;
&gt;



-- 
Adam Retter

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


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Strange deploy problem</title>
<author><name>Soumen Trivedi &lt;soumen.trivedi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c29fabcbf0911300939m3571388ci5ced02ad84265ff9@mail.gmail.com%3e"/>
<id>urn:uuid:%3c29fabcbf0911300939m3571388ci5ced02ad84265ff9@mail-gmail-com%3e</id>
<updated>2009-11-30T17:39:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,
I am using Archiva 1.2.2 standalone version and w.r.t to the error log:
org.apache.maven.archiva.

&gt; security.ArchivaServletAuthenticator  -
&gt; Authorization Denied
&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt; : no matching permissions
&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt; Authorization Denied



I have seen this KIND of problem before (and not the exact error log), it
had to do with the userId being used to upload the artifacts DID NOT HAVE
REPOSITORY MANAGER permission and only OBSERVER permission. After correcting
that, the problem was resolved. I hope it helps for you too.


-- 
Thanks &amp; Regards,
Soumen Trivedi
Email: Soumen.Trivedi@gmail.com

On Mon, Nov 30, 2009 at 5:12 PM, Adam Retter &lt;adam.retter@googlemail.com&gt;wrote:

&gt; Hi there I have just installed 1.2.2 on Linux and am trying to deploy
&gt; to the snapshot repository but I get the Exception below on the server
&gt; side. I have been fiddling with this all day, but as yet with no
&gt; success, could someone take a look please?
&gt;
&gt; I am calling "mvn deploy" with the following in settings.xml -
&gt;
&gt; &lt;server&gt;
&gt; &lt;id&gt;internal&lt;/id&gt;
&gt; &lt;username&gt;admin&lt;/username&gt;
&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt; &lt;/server&gt;
&gt; &lt;server&gt;
&gt; &lt;id&gt;snapshots&lt;/id&gt;
&gt; &lt;username&gt;admin&lt;/username&gt;
&gt; &lt;password&gt;myPassword&lt;/password&gt;
&gt; &lt;/server&gt;
&gt;
&gt; &lt;profile&gt;
&gt;                        &lt;id&gt;archiva.new&lt;/id&gt;
&gt;                        &lt;activation&gt;
&gt;                                    &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
&gt;                        &lt;/activation&gt;
&gt;                        &lt;repositories&gt;
&gt;                                    &lt;repository&gt;
&gt;
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Internal Repository&lt;/name&gt;
&gt;
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt;
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt;
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/repository&gt;
&gt;                                    &lt;repository&gt;
&gt;
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Snapshots Repository&lt;/name&gt;
&gt;
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt;
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt;
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/repository&gt;
&gt;                        &lt;/repositories&gt;
&gt;                        &lt;pluginRepositories&gt;
&gt;                                    &lt;pluginRepository&gt;
&gt;
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.internal.plugin&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Internal Plugin Repository&lt;/name&gt;
&gt;
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt;
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt;
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/pluginRepository&gt;
&gt;                                    &lt;pluginRepository&gt;
&gt;
&gt; &lt;id&gt;uk.co.landmark.solutions.maven.snapshots.plugin&lt;/id&gt;
&gt;                                                &lt;name&gt;Landmark
&gt; Solutions Snapshots Plugin Repository&lt;/name&gt;
&gt;
&gt; &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;                                                &lt;releases&gt;
&gt;
&gt; &lt;enabled&gt;false&lt;/enabled&gt;
&gt;                                                &lt;/releases&gt;
&gt;                                                &lt;snapshots&gt;
&gt;
&gt; &lt;enabled&gt;true&lt;/enabled&gt;
&gt;                                                &lt;/snapshots&gt;
&gt;                                    &lt;/pluginRepository&gt;
&gt;                        &lt;/pluginRepositories&gt;
&gt;            &lt;/profile&gt;
&gt;
&gt;
&gt; And this in my pom.xml -
&gt;
&gt; &lt;distributionManagement&gt;
&gt;   &lt;repository&gt;
&gt;      &lt;id&gt;internal&lt;/id&gt;
&gt;      &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
&gt;    &lt;/repository&gt;
&gt;    &lt;snapshotRepository&gt;
&gt;        &lt;id&gt;snapshots&lt;/id&gt;
&gt;        &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
&gt;    &lt;/snapshotRepository&gt;
&gt;  &lt;/distributionManagement&gt;
&gt;
&gt;
&gt; 2009-11-30 13:47:24,328 [btpool0-3] INFO
&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt; Authorization Denied
&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt; : no matching permissions
&gt; 2009-11-30 13:47:27,923 [btpool0-8] INFO
&gt; org.apache.maven.archiva.security.ArchivaServletAuthenticator  -
&gt; Authorization Denied
&gt; [ip=192.168.2.24,permission=archiva-upload-repository,repo=snapshots]
&gt; : no matching permissions
&gt; 2009-11-30 13:47:30,855 [pool-3-thread-1] ERROR
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;  - Error occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt; 2009-11-30 13:47:30,929 [pool-3-thread-1] ERROR
&gt; taskQueueExecutor#indexing  - Error executing task
&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt; occurred while executing indexing task
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar:add'
&gt;        at
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;        at
&gt; org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;        at java.lang.Thread.run(Thread.java:675)
&gt; 2009-11-30 13:47:31,084 [pool-3-thread-1] ERROR
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;  - Error occurred while executing indexing task
&gt;
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt; 2009-11-30 13:47:31,085 [pool-3-thread-1] ERROR
&gt; taskQueueExecutor#indexing  - Error executing task
&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt; occurred while executing indexing task
&gt;
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.md5:add'
&gt;        at
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;        at
&gt; org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;        at java.lang.Thread.run(Thread.java:675)
&gt; 2009-11-30 13:47:31,196 [pool-3-thread-1] ERROR
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
&gt;  - Error occurred while executing indexing task
&gt;
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt; 2009-11-30 13:47:31,197 [pool-3-thread-1] ERROR
&gt; taskQueueExecutor#indexing  - Error executing task
&gt; org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
&gt; occurred while executing indexing task
&gt;
&gt; 'indexing-job:snapshots:Registers-Common-Current-20091130.155338-2.jar.sha1:add'
&gt;        at
&gt; org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
&gt;        at
&gt; org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
&gt;        at
&gt; edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
&gt;        at java.lang.Thread.run(Thread.java:675)
&gt;
&gt;
&gt;
&gt; --
&gt; Adam Retter
&gt;
&gt; skype :adam.retter
&gt; http://www.adamretter.org.uk
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Strange deploy problem</title>
<author><name>Adam Retter &lt;adam.retter@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3cab70ed440911300912q96e30d3v3f585067cc50144c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cab70ed440911300912q96e30d3v3f585067cc50144c@mail-gmail-com%3e</id>
<updated>2009-11-30T17:12:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
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 -

&lt;server&gt;
&lt;id&gt;internal&lt;/id&gt;
&lt;username&gt;admin&lt;/username&gt;
&lt;password&gt;myPassword&lt;/password&gt;
&lt;/server&gt;
&lt;server&gt;
&lt;id&gt;snapshots&lt;/id&gt;
&lt;username&gt;admin&lt;/username&gt;
&lt;password&gt;myPassword&lt;/password&gt;
&lt;/server&gt;

&lt;profile&gt;
                        &lt;id&gt;archiva.new&lt;/id&gt;
                        &lt;activation&gt;
                                    &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
                        &lt;/activation&gt;
                        &lt;repositories&gt;
                                    &lt;repository&gt;

&lt;id&gt;uk.co.landmark.solutions.maven.internal&lt;/id&gt;
                                                &lt;name&gt;Landmark
Solutions Internal Repository&lt;/name&gt;

&lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
                                                &lt;releases&gt;

&lt;enabled&gt;true&lt;/enabled&gt;
                                                &lt;/releases&gt;
                                                &lt;snapshots&gt;

&lt;enabled&gt;false&lt;/enabled&gt;
                                                &lt;/snapshots&gt;
                                    &lt;/repository&gt;
                                    &lt;repository&gt;

&lt;id&gt;uk.co.landmark.solutions.maven.snapshots&lt;/id&gt;
                                                &lt;name&gt;Landmark
Solutions Snapshots Repository&lt;/name&gt;

&lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
                                                &lt;releases&gt;

&lt;enabled&gt;false&lt;/enabled&gt;
                                                &lt;/releases&gt;
                                                &lt;snapshots&gt;

&lt;enabled&gt;true&lt;/enabled&gt;
                                                &lt;/snapshots&gt;
                                    &lt;/repository&gt;
                        &lt;/repositories&gt;
                        &lt;pluginRepositories&gt;
                                    &lt;pluginRepository&gt;

&lt;id&gt;uk.co.landmark.solutions.maven.internal.plugin&lt;/id&gt;
                                                &lt;name&gt;Landmark
Solutions Internal Plugin Repository&lt;/name&gt;

&lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
                                                &lt;releases&gt;

&lt;enabled&gt;true&lt;/enabled&gt;
                                                &lt;/releases&gt;
                                                &lt;snapshots&gt;

&lt;enabled&gt;false&lt;/enabled&gt;
                                                &lt;/snapshots&gt;
                                    &lt;/pluginRepository&gt;
                                    &lt;pluginRepository&gt;

&lt;id&gt;uk.co.landmark.solutions.maven.snapshots.plugin&lt;/id&gt;
                                                &lt;name&gt;Landmark
Solutions Snapshots Plugin Repository&lt;/name&gt;

&lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
                                                &lt;releases&gt;

&lt;enabled&gt;false&lt;/enabled&gt;
                                                &lt;/releases&gt;
                                                &lt;snapshots&gt;

&lt;enabled&gt;true&lt;/enabled&gt;
                                                &lt;/snapshots&gt;
                                    &lt;/pluginRepository&gt;
                        &lt;/pluginRepositories&gt;
            &lt;/profile&gt;


And this in my pom.xml -

&lt;distributionManagement&gt;
   &lt;repository&gt;
      &lt;id&gt;internal&lt;/id&gt;
      &lt;url&gt;http://exsubv02:8080/archiva/repository/internal&lt;/url&gt;
    &lt;/repository&gt;
    &lt;snapshotRepository&gt;
        &lt;id&gt;snapshots&lt;/id&gt;
        &lt;url&gt;http://exsubv02:8080/archiva/repository/snapshots&lt;/url&gt;
    &lt;/snapshotRepository&gt;
  &lt;/distributionManagement&gt;


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


</pre>
</div>
</content>
</entry>
<entry>
<title>Re : Re : snapshots purge doesn't work</title>
<author><name>Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c322678.13649.qm@web25214.mail.ukl.yahoo.com%3e"/>
<id>urn:uuid:%3c322678-13649-qm@web25214-mail-ukl-yahoo-com%3e</id>
<updated>2009-11-25T10:45:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Deng,

I don't see any errors about purging.

But I have some errors on model :

ERROR org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer  - Unable
to process model /home/share/archiva_data/repositories/internal/.....pom due to : javax.jdo.JDOUserException
: Field org.apache.maven.archiva.model.Exclusion.artifactId is null, but is mandatory as its
described in the jdo metadata

ERROR org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer  - Unable
to process model /home/share/archiva_data/repositories/external/nano
container/nanocontainer-testmodel/1.0-beta-1/nanocontainer-testmodel-1.0-beta-1.pom due to
: javax.jdo.JDODataStoreException : Insert request failed: INSERT INTO ARCHIVA_PROJECT (WHEN_INDEXED,SCM_ARCHIVA
_SCM_ID_OID,ORIGIN,PACKAGING,PARENT_PROJECT_ARCHIVA_VERSIONED_REFERENCE_ID_OID,ORGANIZATION_NAME_OID,"NAME",ISSUE_MANAGEMENT_URL_OID,RELOCATION_ARCHIVA_VERSIONED_REFERENCE_ID_OID,CI_MANAGEMENT_URL_OID,DE
SCRIPTION,URL,ARTIFACT_ID,GROUP_ID,VERSION) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


I'll try restarting archiva.

Elise.



----- Message d'origine ----
De : Deng Ching &lt;oching@apache.org&gt;
À : users@archiva.apache.org
Envoyé le : Mer 25 Novembre 2009, 10 h 55 min 39 s
Objet : Re: Re : snapshots purge doesn't work

Hi Elise,

Were there any errors in the logs related to the purging? Also, does
restarting the Archiva instance help?

Thanks,
Deng

On Wed, Nov 25, 2009 at 5:30 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;wrote:

&gt; Hi Deng,
&gt;
&gt; Yes, the repository-purge consumer is enabled.
&gt;
&gt; Elise.
&gt;
&gt;
&gt;
&gt; ----- Message d'origine ----
&gt; De : Deng Ching &lt;oching@apache.org&gt;
&gt; À : users@archiva.apache.org
&gt; Envoyé le : Mar 24 Novembre 2009, 11 h 29 min 37 s
&gt; Objet : Re: snapshots purge doesn't work
&gt;
&gt; Hi Elise,
&gt;
&gt; Was the repository-purge consumer enabled (in Repository Scanning page)?
&gt;
&gt; Thanks,
&gt; Deng
&gt;
&gt; On Tue, Nov 24, 2009 at 4:19 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr
&gt; &gt;wrote:
&gt;
&gt; &gt; Hello,
&gt; &gt;
&gt; &gt; We have upgraded archiva 3 months ago to archiva 1.2.2
&gt; &gt; We have configured the snapshot repository like this :
&gt; &gt;
&gt; &gt; Archiva Managed Snapshot Repository :
&gt; &gt; Identifier    : snapshots
&gt; &gt; Name    : Archiva Managed Snapshot Repository
&gt; &gt; Directory  : /home/share/archiva_data/repositories/snapshots
&gt; &gt; Type  : Maven 2.x Repository
&gt; &gt; Releases Included  : N
&gt; &gt; Snapshots Included  :Y
&gt; &gt; Delete Released Snapshots : Y
&gt; &gt; Repository Purge By Days Older Than  :10
&gt; &gt; Repository Purge By Retention Count : 3
&gt; &gt; Scanned  : Y
&gt; &gt; Scanning Cron : 0 1 * * * ?
&gt; &gt;
&gt; &gt;
&gt; &gt; But since the upgrade no snapshot has been purged.
&gt; &gt; Is the purge working ? Have we forget a configuration somewhere ?
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt;
&gt; &gt; Elise.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;
&gt;
&gt;
&gt;
&gt;



      


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Re : snapshots purge doesn't work</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c8667b1bd0911250155o6c4b164nfc998f32035b39c9@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0911250155o6c4b164nfc998f32035b39c9@mail-gmail-com%3e</id>
<updated>2009-11-25T09:55:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Elise,

Were there any errors in the logs related to the purging? Also, does
restarting the Archiva instance help?

Thanks,
Deng

On Wed, Nov 25, 2009 at 5:30 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;wrote:

&gt; Hi Deng,
&gt;
&gt; Yes, the repository-purge consumer is enabled.
&gt;
&gt; Elise.
&gt;
&gt;
&gt;
&gt; ----- Message d'origine ----
&gt; De : Deng Ching &lt;oching@apache.org&gt;
&gt; À : users@archiva.apache.org
&gt; Envoyé le : Mar 24 Novembre 2009, 11 h 29 min 37 s
&gt; Objet : Re: snapshots purge doesn't work
&gt;
&gt; Hi Elise,
&gt;
&gt; Was the repository-purge consumer enabled (in Repository Scanning page)?
&gt;
&gt; Thanks,
&gt; Deng
&gt;
&gt; On Tue, Nov 24, 2009 at 4:19 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr
&gt; &gt;wrote:
&gt;
&gt; &gt; Hello,
&gt; &gt;
&gt; &gt; We have upgraded archiva 3 months ago to archiva 1.2.2
&gt; &gt; We have configured the snapshot repository like this :
&gt; &gt;
&gt; &gt; Archiva Managed Snapshot Repository :
&gt; &gt; Identifier    : snapshots
&gt; &gt; Name    : Archiva Managed Snapshot Repository
&gt; &gt; Directory  : /home/share/archiva_data/repositories/snapshots
&gt; &gt; Type  : Maven 2.x Repository
&gt; &gt; Releases Included  : N
&gt; &gt; Snapshots Included  :Y
&gt; &gt; Delete Released Snapshots : Y
&gt; &gt; Repository Purge By Days Older Than  :10
&gt; &gt; Repository Purge By Retention Count : 3
&gt; &gt; Scanned  : Y
&gt; &gt; Scanning Cron : 0 1 * * * ?
&gt; &gt;
&gt; &gt;
&gt; &gt; But since the upgrade no snapshot has been purged.
&gt; &gt; Is the purge working ? Have we forget a configuration somewhere ?
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt;
&gt; &gt; Elise.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re : snapshots purge doesn't work</title>
<author><name>Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c571418.17567.qm@web25212.mail.ukl.yahoo.com%3e"/>
<id>urn:uuid:%3c571418-17567-qm@web25212-mail-ukl-yahoo-com%3e</id>
<updated>2009-11-25T09:30:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Deng,

Yes, the repository-purge consumer is enabled.

Elise.



----- Message d'origine ----
De : Deng Ching &lt;oching@apache.org&gt;
À : users@archiva.apache.org
Envoyé le : Mar 24 Novembre 2009, 11 h 29 min 37 s
Objet : Re: snapshots purge doesn't work

Hi Elise,

Was the repository-purge consumer enabled (in Repository Scanning page)?

Thanks,
Deng

On Tue, Nov 24, 2009 at 4:19 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;wrote:

&gt; Hello,
&gt;
&gt; We have upgraded archiva 3 months ago to archiva 1.2.2
&gt; We have configured the snapshot repository like this :
&gt;
&gt; Archiva Managed Snapshot Repository :
&gt; Identifier    : snapshots
&gt; Name    : Archiva Managed Snapshot Repository
&gt; Directory  : /home/share/archiva_data/repositories/snapshots
&gt; Type  : Maven 2.x Repository
&gt; Releases Included  : N
&gt; Snapshots Included  :Y
&gt; Delete Released Snapshots : Y
&gt; Repository Purge By Days Older Than  :10
&gt; Repository Purge By Retention Count : 3
&gt; Scanned  : Y
&gt; Scanning Cron : 0 1 * * * ?
&gt;
&gt;
&gt; But since the upgrade no snapshot has been purged.
&gt; Is the purge working ? Have we forget a configuration somewhere ?
&gt;
&gt; Regards,
&gt;
&gt; Elise.
&gt;
&gt;
&gt;
&gt;



      


</pre>
</div>
</content>
</entry>
<entry>
<title>Re : snapshots purge doesn't work</title>
<author><name>Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c670557.98524.qm@web25211.mail.ukl.yahoo.com%3e"/>
<id>urn:uuid:%3c670557-98524-qm@web25211-mail-ukl-yahoo-com%3e</id>
<updated>2009-11-24T10:49:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Deng,

Yes, the repository-purge consumer is enabled.

Elise.



----- Message d'origine ----
De : Deng Ching &lt;oching@apache.org&gt;
À : users@archiva.apache.org
Envoyé le : Mar 24 Novembre 2009, 11 h 29 min 37 s
Objet : Re: snapshots purge doesn't work

Hi Elise,

Was the repository-purge consumer enabled (in Repository Scanning page)?

Thanks,
Deng

On Tue, Nov 24, 2009 at 4:19 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;wrote:

&gt; Hello,
&gt;
&gt; We have upgraded archiva 3 months ago to archiva 1.2.2
&gt; We have configured the snapshot repository like this :
&gt;
&gt; Archiva Managed Snapshot Repository :
&gt; Identifier    : snapshots
&gt; Name    : Archiva Managed Snapshot Repository
&gt; Directory  : /home/share/archiva_data/repositories/snapshots
&gt; Type  : Maven 2.x Repository
&gt; Releases Included  : N
&gt; Snapshots Included  :Y
&gt; Delete Released Snapshots : Y
&gt; Repository Purge By Days Older Than  :10
&gt; Repository Purge By Retention Count : 3
&gt; Scanned  : Y
&gt; Scanning Cron : 0 1 * * * ?
&gt;
&gt;
&gt; But since the upgrade no snapshot has been purged.
&gt; Is the purge working ? Have we forget a configuration somewhere ?
&gt;
&gt; Regards,
&gt;
&gt; Elise.
&gt;
&gt;
&gt;
&gt;



      


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: snapshots purge doesn't work</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c8667b1bd0911240229h4f1feb72y340c370fb5327fb3@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0911240229h4f1feb72y340c370fb5327fb3@mail-gmail-com%3e</id>
<updated>2009-11-24T10:29:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Elise,

Was the repository-purge consumer enabled (in Repository Scanning page)?

Thanks,
Deng

On Tue, Nov 24, 2009 at 4:19 PM, Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;wrote:

&gt; Hello,
&gt;
&gt; We have upgraded archiva 3 months ago to archiva 1.2.2
&gt; We have configured the snapshot repository like this :
&gt;
&gt; Archiva Managed Snapshot Repository :
&gt; Identifier    : snapshots
&gt; Name    : Archiva Managed Snapshot Repository
&gt; Directory  : /home/share/archiva_data/repositories/snapshots
&gt; Type  : Maven 2.x Repository
&gt; Releases Included  : N
&gt; Snapshots Included  :Y
&gt; Delete Released Snapshots : Y
&gt; Repository Purge By Days Older Than  :10
&gt; Repository Purge By Retention Count : 3
&gt; Scanned  : Y
&gt; Scanning Cron : 0 1 * * * ?
&gt;
&gt;
&gt; But since the upgrade no snapshot has been purged.
&gt; Is the purge working ? Have we forget a configuration somewhere ?
&gt;
&gt; Regards,
&gt;
&gt; Elise.
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ETA for Archiva 1.2.3? (Was: Archiva repository scan issue)</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c8667b1bd0911240228j330aaf21o5e46db4b93f6b58@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0911240228j330aaf21o5e46db4b93f6b58@mail-gmail-com%3e</id>
<updated>2009-11-24T10:28:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hopefully, we'll be able to cut a release candidate in the next week. Only 5
more issues to go for 1.2.3 \o/

Thanks,
Deng

On Tue, Nov 24, 2009 at 6:15 PM, Fredrik Jonson &lt;fredrik@jonson.org&gt; wrote:

&gt; Deng Ching wrote:
&gt;
&gt; &gt;  In the next Archiva release, there will be an option from the web UI to
&gt; scan
&gt; &gt;  the entire repository so all artifacts get processed regardless of its
&gt; last
&gt; &gt;  modified date (http://jira.codehaus.org/browse/MRM-1056)
&gt;
&gt; I'm very happy to see this issue resolved in 1.2.3. It is one of the
&gt; reasons
&gt; that I've not yet upgraded from 1.1 to 1.2.x everywhere yet. Do you have a
&gt; rough target release date for 1.2.3 at this time?
&gt;
&gt; While I'm at it, thanks to all archiva hackers for your work on a great
&gt; repository manager.
&gt;
&gt; --
&gt; Fredrik Jonson
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>ETA for Archiva 1.2.3? (Was: Archiva repository scan issue)</title>
<author><name>Fredrik Jonson &lt;fredrik@jonson.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3cslrnhgncip.p3b.fredrik@scout.jonson.org%3e"/>
<id>urn:uuid:%3cslrnhgncip-p3b-fredrik@scout-jonson-org%3e</id>
<updated>2009-11-24T10:15:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Deng Ching wrote:
 
&gt;  In the next Archiva release, there will be an option from the web UI to scan
&gt;  the entire repository so all artifacts get processed regardless of its last
&gt;  modified date (http://jira.codehaus.org/browse/MRM-1056)

I'm very happy to see this issue resolved in 1.2.3. It is one of the reasons
that I've not yet upgraded from 1.1 to 1.2.x everywhere yet. Do you have a
rough target release date for 1.2.3 at this time?

While I'm at it, thanks to all archiva hackers for your work on a great
repository manager.

-- 
Fredrik Jonson



</pre>
</div>
</content>
</entry>
<entry>
<title>snapshots purge doesn't work</title>
<author><name>Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c391419.14854.qm@web25214.mail.ukl.yahoo.com%3e"/>
<id>urn:uuid:%3c391419-14854-qm@web25214-mail-ukl-yahoo-com%3e</id>
<updated>2009-11-24T09:54:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

We have upgraded archiva 3 months ago to archiva 1.2.2
We have configured the snapshot repository like this :

Archiva Managed Snapshot Repository :
Identifier    : snapshots  
Name    : Archiva Managed Snapshot Repository  
Directory  : /home/share/archiva_data/repositories/snapshots 
Type  : Maven 2.x Repository  
Releases Included  : N
Snapshots Included  :Y
Delete Released Snapshots : Y
Repository Purge By Days Older Than  :10
Repository Purge By Retention Count : 3
Scanned  : Y
Scanning Cron : 0 1 * * * ? 


But since the upgrade no snapshot has been purged.
Is the purge working ? Have we forget a configuration somewhere ?

Regards,

Elise.


      


</pre>
</div>
</content>
</entry>
<entry>
<title>snapshots purge doesn't work</title>
<author><name>Elise Vanholsbeeck &lt;elise_div@yahoo.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c352134.69137.qm@web25214.mail.ukl.yahoo.com%3e"/>
<id>urn:uuid:%3c352134-69137-qm@web25214-mail-ukl-yahoo-com%3e</id>
<updated>2009-11-24T08:19:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

We have upgraded archiva 3 months ago to archiva 1.2.2
We have configured the snapshot repository like this :

Archiva Managed Snapshot Repository :
Identifier    : snapshots  
Name    : Archiva Managed Snapshot Repository  
Directory  : /home/share/archiva_data/repositories/snapshots 
Type  : Maven 2.x Repository  
Releases Included  : N
Snapshots Included  :Y
Delete Released Snapshots : Y
Repository Purge By Days Older Than  :10
Repository Purge By Retention Count : 3
Scanned  : Y
Scanning Cron : 0 1 * * * ? 


But since the upgrade no snapshot has been purged.
Is the purge working ? Have we forget a configuration somewhere ?

Regards,

Elise.


      


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva repository scan issue</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c8667b1bd0911240011i7604fcddr9222e4834ee7b6fb@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0911240011i7604fcddr9222e4834ee7b6fb@mail-gmail-com%3e</id>
<updated>2009-11-24T08:11:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The repository scanner only processes artifacts whose last modified date
newer than the last run of the repo scan. I think in your case, since the
artifacts were added directly in the file system, they weren't processed
because of this. To work around this, you need to update the last
modification date of the artifacts that you added by executing the following
command for each artifact directory you added:

*find [DIRECTORY_NAME] | xargs touch*

In the next Archiva release, there will be an option from the web UI to scan
the entire repository so all artifacts get processed regardless of its last
modified date (http://jira.codehaus.org/browse/MRM-1056) :)

Thanks,
Deng

On Sat, Nov 21, 2009 at 3:06 AM, Menattamai, Rajasekaran &lt;
Rajasekaran.Menattamai@finra.org&gt; wrote:

&gt;
&gt; Iam not sure if the operation I am doing is incorrect or the repository
&gt; scanning feature in archiva 1.2.2 does not work as expected.
&gt;
&gt; I created a repository. Added some files directly to the repository's
&gt; directory location ( in exactly like the maven2 format ) . Ran the
&gt; "repository scan" for this repository. After the scan the result
&gt; reported that it found 6 new files.  These files appear in the "total
&gt; file count" ,but other columns were not updated at all. There are some
&gt; jars and poms in the set of the files I added.  When I search for the
&gt; file I added, "search" did not return any results, which means the
&gt; database was not updated. If the operation I am doing is correct, then I
&gt; will open a defect ticket for this.
&gt;
&gt;
&gt;
&gt; Statistics for Repository 'approved_3p'
&gt;
&gt;
&gt; Date of Scan     Total File Count        Total Size      Artifact Count
&gt; Group Count      Project Count   Plugins         Archetypes      Jars
&gt; Wars     Deployments     Downloads
&gt; Fri Nov 20 13:12:43 EST 2009     6       1035114         0       0
&gt; 0        0       0       0       0       0       0
&gt; Fri Nov 20 13:10:59 EST 2009     0       0       0       0       0
&gt; 0        0       0       0       0       0
&gt;
&gt;
&gt;
&gt;
&gt; -- Thanks
&gt;
&gt; Raj
&gt;
&gt; Raj Menattamai
&gt; Software Factory CM
&gt; 240 386 6238 ( O )
&gt; 804 852 4001 ( Cell )
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; Confidentiality Notice:  This email, including attachments, may include
&gt; non-public, proprietary, confidential or legally privileged information.  If
&gt; you are not an intended recipient or an authorized agent of an intended
&gt; recipient, you are hereby notified that any dissemination, distribution or
&gt; copying of the information contained in or transmitted with this e-mail is
&gt; unauthorized and strictly prohibited.  If you have received this email in
&gt; error, please notify the sender by replying to this message and permanently
&gt; delete this e-mail, its attachments, and any copies of it immediately.  You
&gt; should not retain, copy or use this e-mail or any attachment for any
&gt; purpose, nor disclose all or any part of the contents to any other person.
&gt; Thank you
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva Central repository Vs other remote repositories.</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3cAFD7AEB5-8BCF-47B3-BF8E-C703136EC8D7@apache.org%3e"/>
<id>urn:uuid:%3cAFD7AEB5-8BCF-47B3-BF8E-C703136EC8D7@apache-org%3e</id>
<updated>2009-11-20T23:02:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
No, there isn't a distinction.

Have you set up a proxy connector to connect the source repository to the new remote one?


On 21/11/2009, at 3:48 AM, Rob Bercik wrote:

&gt; Is there a distinction between the Central repository and other 'remote'
&gt; repositories that you define in Archiva? No matter how I specify other
&gt; repositories from within Archiva, no other repositories seemed to get
&gt; searched other than 'central'. Could someone shed some more light on how I
&gt; define more than one repository to be searched?
&gt; 
&gt; Thanks,
&gt; Rob



</pre>
</div>
</content>
</entry>
<entry>
<title>Archiva repository scan issue</title>
<author><name>&quot;Menattamai, Rajasekaran&quot; &lt;Rajasekaran.Menattamai@finra.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c3F7A01B8C7E0B247A3B658093CCC273E0CEA6194@RKV-NASD-EXCLP2.corp.root.nasd.com%3e"/>
<id>urn:uuid:%3c3F7A01B8C7E0B247A3B658093CCC273E0CEA6194@RKV-NASD-EXCLP2-corp-root-nasd-com%3e</id>
<updated>2009-11-20T19:06:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Iam not sure if the operation I am doing is incorrect or the repository
scanning feature in archiva 1.2.2 does not work as expected.

I created a repository. Added some files directly to the repository's
directory location ( in exactly like the maven2 format ) . Ran the
"repository scan" for this repository. After the scan the result
reported that it found 6 new files.  These files appear in the "total
file count" ,but other columns were not updated at all. There are some
jars and poms in the set of the files I added.  When I search for the
file I added, "search" did not return any results, which means the
database was not updated. If the operation I am doing is correct, then I
will open a defect ticket for this. 



Statistics for Repository 'approved_3p'


Date of Scan	 Total File Count	 Total Size	 Artifact Count
Group Count	 Project Count	 Plugins	 Archetypes	 Jars
Wars	 Deployments	 Downloads	
Fri Nov 20 13:12:43 EST 2009	 6	 1035114	 0	 0
0	 0	 0	 0	 0	 0	 0	
Fri Nov 20 13:10:59 EST 2009	 0	 0	 0	 0	 0
0	 0	 0	 0	 0	 0	




-- Thanks

Raj

Raj Menattamai
Software Factory CM
240 386 6238 ( O )
804 852 4001 ( Cell )





Confidentiality Notice:  This email, including attachments, may include non-public, proprietary,
confidential or legally privileged information.  If you are not an intended recipient or an
authorized agent of an intended recipient, you are hereby notified that any dissemination,
distribution or copying of the information contained in or transmitted with this e-mail is
unauthorized and strictly prohibited.  If you have received this email in error, please notify
the sender by replying to this message and permanently delete this e-mail, its attachments,
and any copies of it immediately.  You should not retain, copy or use this e-mail or any attachment
for any purpose, nor disclose all or any part of the contents to any other person. Thank you


</pre>
</div>
</content>
</entry>
<entry>
<title>Archiva Central repository Vs other remote repositories.</title>
<author><name>Rob Bercik &lt;rob.bercik@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3cccd1ad500911200848m1cd8c3d6o734532776a117707@mail.gmail.com%3e"/>
<id>urn:uuid:%3cccd1ad500911200848m1cd8c3d6o734532776a117707@mail-gmail-com%3e</id>
<updated>2009-11-20T16:48:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Is there a distinction between the Central repository and other 'remote'
repositories that you define in Archiva? No matter how I specify other
repositories from within Archiva, no other repositories seemed to get
searched other than 'central'. Could someone shed some more light on how I
define more than one repository to be searched?

Thanks,
Rob


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Artifact Upload</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c8667b1bd0911040105v4e816966q3b1733ff67492f51@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0911040105v4e816966q3b1733ff67492f51@mail-gmail-com%3e</id>
<updated>2009-11-04T09:05:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Florian,

Have you tried uploading the artifact using 'mvn deploy:deploy-file ...'
instead of the web upload form?

Thanks,
Deng

On Wed, Nov 4, 2009 at 4:38 PM, Florian Probst &lt;florian.probst@gmail.com&gt;wrote:

&gt; Hi,
&gt;
&gt; we just installed Archiva 1.2.2 as Repository Manager. It look like,
&gt; artifact
&gt;
&gt;    &lt;plugin&gt;
&gt;      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;      &lt;artifactId&gt;maven-scm-plugin&lt;/artifactId&gt;
&gt;      &lt;version&gt;1.2&lt;/version&gt;
&gt;    &lt;/plugin&gt;
&gt;
&gt; has the following dependency:
&gt;
&gt;    &lt;dependency&gt;
&gt;      &lt;groupId&gt;ch.ethz.ganymed&lt;/groupId&gt;
&gt;      &lt;artifactId&gt;ganymed-ssh2&lt;/artifactId&gt;
&gt;      &lt;version&gt;build210&lt;/version&gt;
&gt;    &lt;/dependency&gt;
&gt;
&gt; I tried to upload the file, but archiva sais "build210" is no valid
&gt; version.
&gt; How can this be resolved?
&gt; Is it possible to copy the file manually and let Archiva find this file?
&gt;
&gt; Thanks,
&gt; Florian
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Artifact Upload</title>
<author><name>Florian Probst &lt;florian.probst@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c20481a280911040038q63d11de1g8f8065115f38b367@mail.gmail.com%3e"/>
<id>urn:uuid:%3c20481a280911040038q63d11de1g8f8065115f38b367@mail-gmail-com%3e</id>
<updated>2009-11-04T08:38:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

we just installed Archiva 1.2.2 as Repository Manager. It look like,
artifact

    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-scm-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.2&lt;/version&gt;
    &lt;/plugin&gt;

has the following dependency:

    &lt;dependency&gt;
      &lt;groupId&gt;ch.ethz.ganymed&lt;/groupId&gt;
      &lt;artifactId&gt;ganymed-ssh2&lt;/artifactId&gt;
      &lt;version&gt;build210&lt;/version&gt;
    &lt;/dependency&gt;

I tried to upload the file, but archiva sais "build210" is no valid version.
How can this be resolved?
Is it possible to copy the file manually and let Archiva find this file?

Thanks,
Florian


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: disable policy.allowed.login.attempt</title>
<author><name>Deng Ching &lt;odeaching@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c8667b1bd0911031910q43b4f518s22b45c1b8ac0640f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0911031910q43b4f518s22b45c1b8ac0640f@mail-gmail-com%3e</id>
<updated>2009-11-04T03:10:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You can override this feature by setting the following property in the
security.properties config file:

security.policy.password.expiration.enabled=false

For more details about Redback configuration:
http://redback.codehaus.org/configuration.html

HTH,
Deng

On Wed, Nov 4, 2009 at 2:25 AM, alexander.elsholz &lt;
alexander.elsholz@widas.de&gt; wrote:

&gt;
&gt; Hi,
&gt;
&gt; is it possible to disable the passwort reset?
&gt;
&gt; thanks alex
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/disable-policy.allowed.login.attempt-tp26160678p26160678.html
&gt; Sent from the archiva-users mailing list archive at Nabble.com.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>disable policy.allowed.login.attempt</title>
<author><name>&quot;alexander.elsholz&quot; &lt;alexander.elsholz@widas.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200911.mbox/%3c26160678.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26160678-post@talk-nabble-com%3e</id>
<updated>2009-11-03T18:25:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

is it possible to disable the passwort reset?

thanks alex
-- 
View this message in context: http://old.nabble.com/disable-policy.allowed.login.attempt-tp26160678p26160678.html
Sent from the archiva-users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva 1.2.2 and JBoss 5.1</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c8667b1bd0910281946s74b6feb8oec99287738bf7f52@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0910281946s74b6feb8oec99287738bf7f52@mail-gmail-com%3e</id>
<updated>2009-10-29T02:46:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Cool :) Thanks Steve!

-Deng

On Thu, Oct 29, 2009 at 7:36 AM, Stephen Coy &lt;steve.coy@gmail.com&gt; wrote:

&gt; Hi there,
&gt;
&gt; I managed to get this working, and have updated the wiki at &lt;
&gt; http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+JBoss&gt;.
&gt;
&gt; Cheers
&gt;
&gt; Steve C.
&gt;
&gt;
&gt; On 25/09/2009, at 1:03 AM, Robert Morse wrote:
&gt;
&gt;  Hello Deng,
&gt;&gt; Thanks for the reply.  I've tried it with prior versions, but not 1.2.2.
&gt;&gt; Just tried to get the source from a variety of mirrors, and it appears the
&gt;&gt; source zip file may be corrupt since I can't get it to decompress.
&gt;&gt;
&gt;&gt; Once I manage to get it, I'll try working through it, and if successful,
&gt;&gt; post the steps.
&gt;&gt;
&gt;&gt; Thanks.
&gt;&gt;
&gt;&gt; On Sep 22, 2009, at 8:21 PM, Deng Ching wrote:
&gt;&gt;
&gt;&gt;  Did you try the steps specified in
&gt;&gt;&gt; http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+JBoss ?
&gt;&gt;&gt; It's
&gt;&gt;&gt; for JBoss 4.2.x but it might be worth a try for 5.1.0 as well..
&gt;&gt;&gt;
&gt;&gt;&gt; Thanks,
&gt;&gt;&gt; Deng
&gt;&gt;&gt;
&gt;&gt;&gt; On Tue, Sep 22, 2009 at 7:47 PM, Robert Morse &lt;rmorse@mdesignz.com&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;  Has anyone successfully deployed Archiva 1.2.2 (or any version for that
&gt;&gt;&gt;&gt; matter) on JBoss 5.1.0.GA?
&gt;&gt;&gt;&gt; If so, I'd appreciate learning how it's done.  Thanks.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The human mind is an iterative processor, it never does anything right
&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt; first time.  What it does well is to make improvements on every
&gt;&gt;&gt;&gt; iteration
&gt;&gt;&gt;&gt; (deMarco)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt; The human mind is an iterative processor, it never does anything right the
&gt;&gt; first time.  What it does well is to make improvements on every iteration
&gt;&gt; (deMarco)
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva 1.2.2 and JBoss 5.1</title>
<author><name>Stephen Coy &lt;steve.coy@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c0165FE98-16AD-46CA-80DF-BCAE5FA21F53@gmail.com%3e"/>
<id>urn:uuid:%3c0165FE98-16AD-46CA-80DF-BCAE5FA21F53@gmail-com%3e</id>
<updated>2009-10-28T23:36:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi there,

I managed to get this working, and have updated the wiki at &lt;http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+JBoss

 &gt;.

Cheers

Steve C.

On 25/09/2009, at 1:03 AM, Robert Morse wrote:

&gt; Hello Deng,
&gt; Thanks for the reply.  I've tried it with prior versions, but not  
&gt; 1.2.2.   Just tried to get the source from a variety of mirrors, and  
&gt; it appears the source zip file may be corrupt since I can't get it  
&gt; to decompress.
&gt;
&gt; Once I manage to get it, I'll try working through it, and if  
&gt; successful, post the steps.
&gt;
&gt; Thanks.
&gt;
&gt; On Sep 22, 2009, at 8:21 PM, Deng Ching wrote:
&gt;
&gt;&gt; Did you try the steps specified in
&gt;&gt; http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on 
&gt;&gt; +JBoss ? It's
&gt;&gt; for JBoss 4.2.x but it might be worth a try for 5.1.0 as well..
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Deng
&gt;&gt;
&gt;&gt; On Tue, Sep 22, 2009 at 7:47 PM, Robert Morse &lt;rmorse@mdesignz.com&gt;  
&gt;&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; Has anyone successfully deployed Archiva 1.2.2 (or any version for  
&gt;&gt;&gt; that
&gt;&gt;&gt; matter) on JBoss 5.1.0.GA?
&gt;&gt;&gt; If so, I'd appreciate learning how it's done.  Thanks.
&gt;&gt;&gt;
&gt;&gt;&gt; The human mind is an iterative processor, it never does anything  
&gt;&gt;&gt; right the
&gt;&gt;&gt; first time.  What it does well is to make improvements on every  
&gt;&gt;&gt; iteration
&gt;&gt;&gt; (deMarco)
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;
&gt; The human mind is an iterative processor, it never does anything  
&gt; right the first time.  What it does well is to make improvements on  
&gt; every iteration (deMarco)
&gt;
&gt;
&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: archiva/maven 2 compatibility</title>
<author><name>Deng Ching &lt;odeaching@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c8667b1bd0910181921n4fcc0b5bpc9c7e22a23b015ec@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0910181921n4fcc0b5bpc9c7e22a23b015ec@mail-gmail-com%3e</id>
<updated>2009-10-19T02:21:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi EJ,

The fix for the bug mentioned was backported to the 1.1.x series and is
available in 1.1.4 (http://archiva.apache.org/docs/1.1.4/release-notes.html).
You would need to upgrade to this version to make it compatible with Maven
2.1.x. The release contains only this fix so there shouldn't be any problems
with the upgrade.

Thanks,
Deng

On Sat, Oct 17, 2009 at 5:36 AM, EJ Ciramella &lt;eciramella@upromise.com&gt;wrote:

&gt; Hi all - I just saw this article:
&gt;
&gt;
&gt;
&gt; http://www.sonatype.com/people/2009/07/from-apache-archiva-to-sonatype-n
&gt; exus/&lt;http://www.sonatype.com/people/2009/07/from-apache-archiva-to-sonatype-n%0Aexus/&gt;
&gt;
&gt;
&gt;
&gt; Where there's this:
&gt;
&gt;
&gt;
&gt; &lt;snip&gt;
&gt;
&gt; Apart from the incompatibility with Maven 2.1.0, nothing suggested that
&gt; the new version fixed any of our problems and there were few
&gt; improvements/new features at that time, due to lack of time by the
&gt; maintainers.
&gt;
&gt; &lt;/snip&gt;
&gt;
&gt;
&gt;
&gt; Is this still the case?  We're evaluating maven 2.2.1 right now.  In
&gt; fact, I'm using it locally and have used it to deploy artifacts to our
&gt; archiva (1.1.3) server.
&gt;
&gt;
&gt;
&gt; I don't see any mention of this in release notes for archiva - where can
&gt; I get more detail?
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>archiva/maven 2 compatibility</title>
<author><name>&quot;EJ Ciramella&quot; &lt;eciramella@upromise.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3cC0D46AE760D942458B26B850713F86F53C553781@knight%3e"/>
<id>urn:uuid:%3cC0D46AE760D942458B26B850713F86F53C553781@knight%3e</id>
<updated>2009-10-16T21:36:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all - I just saw this article:

 

http://www.sonatype.com/people/2009/07/from-apache-archiva-to-sonatype-n
exus/

 

Where there's this:

 

&lt;snip&gt;

Apart from the incompatibility with Maven 2.1.0, nothing suggested that
the new version fixed any of our problems and there were few
improvements/new features at that time, due to lack of time by the
maintainers.

&lt;/snip&gt;

 

Is this still the case?  We're evaluating maven 2.2.1 right now.  In
fact, I'm using it locally and have used it to deploy artifacts to our
archiva (1.1.3) server.

 

I don't see any mention of this in release notes for archiva - where can
I get more detail?



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using http for deploy</title>
<author><name>Thorsten Scherler &lt;thorsten.scherler.ext@juntadeandalucia.es&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c1255085876.28517.28.camel@asf%3e"/>
<id>urn:uuid:%3c1255085876-28517-28-camel@asf%3e</id>
<updated>2009-10-09T10:57:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, 2009-10-09 at 18:42 +0800, Deng Ching wrote:
&gt; On Fri, Oct 9, 2009 at 6:38 PM, Thorsten Scherler &lt;
&gt; thorsten.scherler.ext@juntadeandalucia.es&gt; wrote:
&gt; 
&gt; &gt; Hi all,
&gt; &gt;
&gt; &gt; I am looking for information about using http protocol to deploy our
&gt; &gt; artifacts.
&gt; &gt;
&gt; &gt; In our use case Archiva is a proxy for the external repos (like the
&gt; &gt; official apache one) but we want to deploy our own artifacts on it.
&gt; &gt;
&gt; &gt; We found some information about doing it with scp:// but we would like
&gt; &gt; to use http:// instead.
&gt; &gt;
&gt; &gt; Is this possible and if so can somebody point me to some documentation
&gt; &gt; bout it?
&gt; &gt;
&gt; 
&gt; Yes it's possible, here's the documentation for that..
&gt; 
&gt; http://archiva.apache.org/docs/1.2.2/userguide/deploy.html
&gt; 
&gt; You would also need to grant the user the Repository Manager role for the
&gt; repo in order to be able to deploy to it.
&gt; 
&gt; 

Thank you very much for your very quick answer. I will give it a go.

salu2

&gt; &gt;
&gt; &gt; TIA
&gt; &gt;
&gt; &gt; salu2
&gt; &gt;
&gt; &gt; P.S. It took me a while to find
&gt; &gt; http://archiva.apache.org/mail-lists.html since I did not found a direct
&gt; &gt; link to page. In the end I need to use a search engine to find it.
&gt; &gt;
&gt; 
&gt; Noted, thanks! :)
&gt; 
&gt; -Deng
&gt; 
&gt; --
&gt; &gt; Thorsten Scherler &lt;thorsten.at.apache.org&gt;
&gt; &gt; Open Source Java &lt;consulting, training and solutions&gt;
&gt; &gt;
&gt; &gt; Sociedad Andaluza para el Desarrollo de la Sociedad
&gt; &gt; de la InformaciÃ³n, S.A.U. (SADESI)
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
-- 
Thorsten Scherler &lt;thorsten.at.apache.org&gt;
Open Source Java &lt;consulting, training and solutions&gt;

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la InformaciÃ³n, S.A.U. (SADESI)






</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using http for deploy</title>
<author><name>Deng Ching &lt;odeaching@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c8667b1bd0910090342t1ed1d032hee61c6b0cf9676d5@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0910090342t1ed1d032hee61c6b0cf9676d5@mail-gmail-com%3e</id>
<updated>2009-10-09T10:42:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Oct 9, 2009 at 6:38 PM, Thorsten Scherler &lt;
thorsten.scherler.ext@juntadeandalucia.es&gt; wrote:

&gt; Hi all,
&gt;
&gt; I am looking for information about using http protocol to deploy our
&gt; artifacts.
&gt;
&gt; In our use case Archiva is a proxy for the external repos (like the
&gt; official apache one) but we want to deploy our own artifacts on it.
&gt;
&gt; We found some information about doing it with scp:// but we would like
&gt; to use http:// instead.
&gt;
&gt; Is this possible and if so can somebody point me to some documentation
&gt; bout it?
&gt;

Yes it's possible, here's the documentation for that..

http://archiva.apache.org/docs/1.2.2/userguide/deploy.html

You would also need to grant the user the Repository Manager role for the
repo in order to be able to deploy to it.


&gt;
&gt; TIA
&gt;
&gt; salu2
&gt;
&gt; P.S. It took me a while to find
&gt; http://archiva.apache.org/mail-lists.html since I did not found a direct
&gt; link to page. In the end I need to use a search engine to find it.
&gt;

Noted, thanks! :)

-Deng

--
&gt; Thorsten Scherler &lt;thorsten.at.apache.org&gt;
&gt; Open Source Java &lt;consulting, training and solutions&gt;
&gt;
&gt; Sociedad Andaluza para el Desarrollo de la Sociedad
&gt; de la Información, S.A.U. (SADESI)
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Using http for deploy</title>
<author><name>Thorsten Scherler &lt;thorsten.scherler.ext@juntadeandalucia.es&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c1255084683.28517.25.camel@asf%3e"/>
<id>urn:uuid:%3c1255084683-28517-25-camel@asf%3e</id>
<updated>2009-10-09T10:38:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all, 

I am looking for information about using http protocol to deploy our
artifacts. 

In our use case Archiva is a proxy for the external repos (like the
official apache one) but we want to deploy our own artifacts on it. 

We found some information about doing it with scp:// but we would like
to use http:// instead. 

Is this possible and if so can somebody point me to some documentation
bout it?

TIA

salu2

P.S. It took me a while to find
http://archiva.apache.org/mail-lists.html since I did not found a direct
link to page. In the end I need to use a search engine to find it.
-- 
Thorsten Scherler &lt;thorsten.at.apache.org&gt;
Open Source Java &lt;consulting, training and solutions&gt;

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la InformaciÃ³n, S.A.U. (SADESI)






</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva not working on 64 bit Linux</title>
<author><name>wild_oscar &lt;miguel@almeida.at&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c25790326.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25790326-post@talk-nabble-com%3e</id>
<updated>2009-10-07T16:51:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On a follow up, I managed to make it work:

I simply deleted the /lib/libwrapper-linux-x86-32.so and
/bin/wrapper-linux-x86-32 files.

Perhaps brett and the rest of the team can figure out why this is needed
and, if confirmed, add this to the wiki instructions.

Thanks to Babak Shafian and his post at
http://www.mail-archive.com/users@continuum.apache.org/msg01688.html

wild_oscar wrote:
&gt; 
&gt; Hi,
&gt; 
&gt; I tried running archiva on an Ubuntu 9.04 64 bits:
&gt; 
&gt; 1) Downloaded version 1.2.2
&gt; 2) Untared it
&gt; 3) ran ./bin/archiva console
&gt; 
&gt; But I get:
&gt; 
&gt; eval: 1:
&gt; /home/mike/Software/archiva/apache-archiva-1.2.2/bin/./wrapper-linux-x86-32:
&gt; not found
&gt; 
&gt; I do have some wrapper-linux files on archiva's root directory; including
&gt; 32 and 64 ones. I've chmod them to 777, but no luck: I can't seem to be
&gt; able to run it!
&gt; 
&gt; 
&gt; Has anyone successfully run archiva in these conditions, or is otherwise
&gt; able to help me out?
&gt; Thank you!
&gt; 
&gt; 

-- 
View this message in context: http://www.nabble.com/Archiva-not-working-on-64-bit-Linux-tp25789891p25790326.html
Sent from the archiva-users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Archiva not working on 64 bit Linux</title>
<author><name>wild_oscar &lt;miguel@almeida.at&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200910.mbox/%3c25789891.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25789891-post@talk-nabble-com%3e</id>
<updated>2009-10-07T16:26:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I tried running archiva on an Ubuntu 9.04 64 bits:

1) Downloaded version 1.2.2
2) Untared it
3) ran ./bin/archiva console

But I get:

eval: 1:
/home/mike/Software/archiva/apache-archiva-1.2.2/bin/./wrapper-linux-x86-32:
not found

I do have some wrapper-linux files on archiva's root directory; including 32
and 64 ones. I've chmod them to 777, but no luck: I can't seem to be able to
run it!


Has anyone successfully run archiva in these conditions, or is otherwise
able to help me out?
Thank you!

-- 
View this message in context: http://www.nabble.com/Archiva-not-working-on-64-bit-Linux-tp25789891p25789891.html
Sent from the archiva-users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>ApacheCon US (Oakland) is in &lt; 5 weeks: Nov 2-6</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3cC4B5AC4E-4FDC-4CF2-83EB-832D57652FAF@apache.org%3e"/>
<id>urn:uuid:%3cC4B5AC4E-4FDC-4CF2-83EB-832D57652FAF@apache-org%3e</id>
<updated>2009-09-30T04:06:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I posted this to the Maven Users list, but am re-posting here for  
anyone that isn't subscribed there.

ApacheCon US is coming up in just a few weeks in Oakland. You can  
register from the web site: http://us.apachecon.com/c/acus2009/

I'll be hosting a Maven training session on November 2 (http://www.us.apachecon.com/c/acus2009/sessions/379

). In it, I use Archiva and Continuum to illustrate one way of  
applying repository management and continuous builds in a Maven-based  
infrastructure. Rich Bowen from Feathercast has just released an  
interview we did discussing it last week for more info: http://feathercast.org/?p=84

Last year we also had a "Maven and artifact repositories" meetup on  
one of the nights. I'm hoping we can organise another similar session  
- is there anyone attending that would be interested?

For the main program, this year it is in tracks:

* HTTPd
* Tomcat
* Business &amp; Community
* Lucene
* Felix &amp; OSGi
* Tuscany &amp; Synapse
* Content Technologies (Jackrabbit, and various web frameworks)
* Web Services
* Geronimo &amp; Directory
* Hadoop

Of course there's also the BarCamp and Hackathon for opportunities to  
meet up and talk about anything else.

Cheers,
Brett


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Corrupt Source Zip?</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3cF0B51F17-2CCB-4481-B465-9788BF12A121@apache.org%3e"/>
<id>urn:uuid:%3cF0B51F17-2CCB-4481-B465-9788BF12A121@apache-org%3e</id>
<updated>2009-09-30T02:57:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, it seems there was a problem. We are currently reapproving the  
sources for distribution (please refer to dev@archiva.apache.org).

- Brett

On 26/09/2009, at 8:36 PM, Robert Morse wrote:

&gt; I've tried to unzip the 1.2.2 source from several sites, and  
&gt; consistently get:
&gt;
&gt; Archive:  apache-archiva-1.2.2-src.zip
&gt;  End-of-central-directory signature not found.  Either this file is  
&gt; not
&gt;  a zipfile, or it constitutes one disk of a multi-part archive.  In  
&gt; the
&gt;  latter case the central directory and zipfile comment will be found  
&gt; on
&gt;  the last disk(s) of this archive.
&gt; unzip:  cannot find zipfile directory in one of apache-archiva-1.2.2- 
&gt; src.zip or
&gt;        apache-archiva-1.2.2-src.zip.zip, and cannot find apache- 
&gt; archiva-1.2.2-src.zip.ZIP, period.
&gt;
&gt; Just thought I'd pass this along.
&gt;
&gt; Mac OSX 10.6
&gt;
&gt; The human mind is an iterative processor, it never does anything  
&gt; right the first time.  What it does well is to make improvements on  
&gt; every iteration (deMarco)
&gt;
&gt;
&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Corrupt Source Zip?</title>
<author><name>Robert Morse &lt;rmorse@mdesignz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3cAB229DF7-00CA-4F1E-8040-5E68C11D15D8@mdesignz.com%3e"/>
<id>urn:uuid:%3cAB229DF7-00CA-4F1E-8040-5E68C11D15D8@mdesignz-com%3e</id>
<updated>2009-09-26T10:36:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I've tried to unzip the 1.2.2 source from several sites, and  
consistently get:

Archive:  apache-archiva-1.2.2-src.zip
   End-of-central-directory signature not found.  Either this file is  
not
   a zipfile, or it constitutes one disk of a multi-part archive.  In  
the
   latter case the central directory and zipfile comment will be found  
on
   the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of apache-archiva-1.2.2- 
src.zip or
         apache-archiva-1.2.2-src.zip.zip, and cannot find apache- 
archiva-1.2.2-src.zip.ZIP, period.

Just thought I'd pass this along.

Mac OSX 10.6

The human mind is an iterative processor, it never does anything right  
the first time.  What it does well is to make improvements on every  
iteration (deMarco)





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva 1.2.2 and JBoss 5.1</title>
<author><name>Robert Morse &lt;rmorse@mdesignz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3cE8674377-559A-470C-95C2-7F9A33326BC9@mdesignz.com%3e"/>
<id>urn:uuid:%3cE8674377-559A-470C-95C2-7F9A33326BC9@mdesignz-com%3e</id>
<updated>2009-09-24T15:03:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello Deng,
Thanks for the reply.  I've tried it with prior versions, but not  
1.2.2.   Just tried to get the source from a variety of mirrors, and  
it appears the source zip file may be corrupt since I can't get it to  
decompress.

Once I manage to get it, I'll try working through it, and if  
successful, post the steps.

Thanks.

On Sep 22, 2009, at 8:21 PM, Deng Ching wrote:

&gt; Did you try the steps specified in
&gt; http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on 
&gt; +JBoss ? It's
&gt; for JBoss 4.2.x but it might be worth a try for 5.1.0 as well..
&gt;
&gt; Thanks,
&gt; Deng
&gt;
&gt; On Tue, Sep 22, 2009 at 7:47 PM, Robert Morse &lt;rmorse@mdesignz.com&gt;  
&gt; wrote:
&gt;
&gt;&gt; Has anyone successfully deployed Archiva 1.2.2 (or any version for  
&gt;&gt; that
&gt;&gt; matter) on JBoss 5.1.0.GA?
&gt;&gt; If so, I'd appreciate learning how it's done.  Thanks.
&gt;&gt;
&gt;&gt; The human mind is an iterative processor, it never does anything  
&gt;&gt; right the
&gt;&gt; first time.  What it does well is to make improvements on every  
&gt;&gt; iteration
&gt;&gt; (deMarco)
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;

The human mind is an iterative processor, it never does anything right  
the first time.  What it does well is to make improvements on every  
iteration (deMarco)





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva 1.2.2 and JBoss 5.1</title>
<author><name>Deng Ching &lt;oching@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3c8667b1bd0909221921r5696fcads385b6972d3b36ddf@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8667b1bd0909221921r5696fcads385b6972d3b36ddf@mail-gmail-com%3e</id>
<updated>2009-09-23T02:21:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Did you try the steps specified in
http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+JBoss ? It's
for JBoss 4.2.x but it might be worth a try for 5.1.0 as well..

Thanks,
Deng

On Tue, Sep 22, 2009 at 7:47 PM, Robert Morse &lt;rmorse@mdesignz.com&gt; wrote:

&gt; Has anyone successfully deployed Archiva 1.2.2 (or any version for that
&gt; matter) on JBoss 5.1.0.GA?
&gt; If so, I'd appreciate learning how it's done.  Thanks.
&gt;
&gt; The human mind is an iterative processor, it never does anything right the
&gt; first time.  What it does well is to make improvements on every iteration
&gt; (deMarco)
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>[ANN] New book - Apache Maven 2: Effective Implementation</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3cD7003641-9468-48D2-90D5-C317281E7CB8@apache.org%3e"/>
<id>urn:uuid:%3cD7003641-9468-48D2-90D5-C317281E7CB8@apache-org%3e</id>
<updated>2009-09-22T12:52:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The final release of "Apache Maven 2: Effective Implementation" is now  
available online! It is available in both eBook and printed + eBook  
versions, and is written by Deng Ching and myself with help from our  
reviewers Wendy Smoak, Emmanuel Venisse, and Carsten Ziegler.

http://www.packtpub.com/apache-maven-2-effective-implementations/book
http://www.amazon.com/Apache-Maven-2-Effective-Implementation/dp/1847194540/

In this book, we wanted to focus on “best practices” and tying  
everything together in a way that shows how Maven was meant to be  
used. It works through a reasonably useful example application from  
scratch, up to an assembly, building it in CI, deploying it to the  
repository, and releasing it.

The book includes:
Chapter 1: Maven in a Nutshell
Chapter 2: Staying in Control with Archiva
Chapter 3: Building an Application Using Maven
Chapter 4: Application Testing with Maven
Chapter 5: Reporting and Checks
Chapter 6: Useful Maven Plugins
Chapter 7: Maven Best Practices
Chapter 8: Continuum: Ensuring the Health of your Source Code
Chapter 9: Continuum in Depth
Chapter 10: Archiva in a Team
Chapter 11: Archetypes
Chapter 12: Maven, Archiva, and Continuum in the Enterprise
Appendix A: Troubleshooting Maven
Appendix B: Recent Maven Features
Appendix C: Migrating Archiva and Continuum Data

Full contents: http://www.packtpub.com/article/apache-maven-2-effective-implementations-table-of-contents

"Chapter 6: Useful Maven Plugins" is available now as a sample from  
the book site.

Cheers,
Brett




</pre>
</div>
</content>
</entry>
<entry>
<title>Archiva 1.2.2 and JBoss 5.1</title>
<author><name>Robert Morse &lt;rmorse@mdesignz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3c5E3ED23D-5B34-456F-9EF3-103F565A2059@mdesignz.com%3e"/>
<id>urn:uuid:%3c5E3ED23D-5B34-456F-9EF3-103F565A2059@mdesignz-com%3e</id>
<updated>2009-09-22T11:47:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Has anyone successfully deployed Archiva 1.2.2 (or any version for  
that matter) on JBoss 5.1.0.GA?
If so, I'd appreciate learning how it's done.  Thanks.

The human mind is an iterative processor, it never does anything right  
the first time.  What it does well is to make improvements on every  
iteration (deMarco)





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Archiva 1.2.1 - repos won't get index</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/archiva-users/200909.mbox/%3c73E1977A-FD67-43AF-AEE3-200C442BE43D@apache.org%3e"/>
<id>urn:uuid:%3c73E1977A-FD67-43AF-AEE3-200C442BE43D@apache-org%3e</id>
<updated>2009-09-18T02:28:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Perhaps you could use Luke to inspect the Lucene index and see whether  
that helps identify the issue by looking at what data has been  
successfully recorded?

On 17/09/2009, at 1:19 AM, Marc Lustig wrote:

&gt;
&gt; Hi,
&gt; I gave this another try by doing the following steps.
&gt;
&gt; 1. deleting repo/.index and repo/.indexer
&gt; 2. touching all files and dirs in repo recursively
&gt; 3. running the repo scan
&gt;
&gt; When we search now for e.g. xmlbeans, we do get a few jar-artifacts  
&gt; that
&gt; contain a package-name "xmlbeans". But we do not get the artifact  
&gt; whose name
&gt; is xmlbeans.
&gt;
&gt; I have no idea what else to try to make the search-function to work  
&gt; again.
&gt; User's here are pretty annoyed about it.
&gt;
&gt; Any suggestion what to do except filing a jira issue?
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; Deng Ching-2 wrote:
&gt;&gt;
&gt;&gt; On Thu, Jun 25, 2009 at 7:26 PM, Marc Lustig &lt;ml@marclustig.com&gt;  
&gt;&gt; wrote:
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; On our side, the story is continuing like this.
&gt;&gt;&gt; In the afternoon, I touch the whole repo and let the scan running  
&gt;&gt;&gt; and
&gt;&gt;&gt; re-create the database.
&gt;&gt;&gt; After that, it seems like all (physically) existing artifacts can be
&gt;&gt;&gt; found
&gt;&gt;&gt; on the Web-UI. Fine.
&gt;&gt;&gt; The next morning again hundreds of artifacts are disappeared from  
&gt;&gt;&gt; the
&gt;&gt;&gt; Web-UI
&gt;&gt;&gt; (but still existing physically). It's so annoying...
&gt;&gt;&gt; I checked the last couple of scans in the log and cannot find  
&gt;&gt;&gt; exceptions
&gt;&gt;&gt; for
&gt;&gt;&gt; that Repo concerned.
&gt;&gt;&gt; (However I didn't check all the scans since yesterday afternoon.)
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Anyway, for some reason, some consumer is removing certain  
&gt;&gt;&gt; artifacts (or
&gt;&gt;&gt; whole groupId's) from the index. I have no clue why.
&gt;&gt;&gt;
&gt;&gt;&gt; Any suggestion what to do to prevent the removal of artifacts from  
&gt;&gt;&gt; the
&gt;&gt;&gt; index-database?
&gt;&gt;&gt;
&gt;&gt;&gt; If we disable the "update-db-artifact" consumer, what undesired
&gt;&gt;&gt; side-effects
&gt;&gt;&gt; may this have?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt; Your artifacts won't show up in the webapp browse as this consumer  
&gt;&gt; adds
&gt;&gt; the
&gt;&gt; basic artifact info in the db and that's where the artifacts shown  
&gt;&gt; in the
&gt;&gt; Browse page is gathered..
&gt;&gt;
&gt;&gt; You can try disabling these consumers in Database page as they are  
&gt;&gt; the
&gt;&gt; ones
&gt;&gt; doing the cleanup work, but afaik they only clean up the db and  
&gt;&gt; index for
&gt;&gt; artifacts that are no longer in the filesystem:
&gt;&gt; not-present-remove-db-artifact
&gt;&gt; not-present-remove-db-project
&gt;&gt; not-present-remove-indexed
&gt;&gt;
&gt;&gt; If the problem still persists, do you mind filing an issue for this  
&gt;&gt; in
&gt;&gt; jira?
&gt;&gt; :)
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Deng
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Marc Lustig wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Indeed,
&gt;&gt;&gt;&gt; find [REPOSITORY_DIRECTORY_NAME] | xargs touch
&gt;&gt;&gt;&gt; is tremendously faster than
&gt;&gt;&gt;&gt; find [REPOSITORY_DIRECTORY_NAME] -exec touch {} \;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Deng Ching-2 wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Hi Marc,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Did you touch the  contents of the repository? The last modified  
&gt;&gt;&gt;&gt;&gt; date
&gt;&gt;&gt; of
&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt; artifacts need to be more recent than the last run of the  
&gt;&gt;&gt;&gt;&gt; repository
&gt;&gt;&gt;&gt;&gt; scan.
&gt;&gt;&gt;&gt;&gt; You can execute *find [REPOSITORY_DIRECTORY_NAME] | xargs touch  
&gt;&gt;&gt;&gt;&gt; *at
&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt; base
&gt;&gt;&gt;&gt;&gt; dir where your repo is located.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;&gt; Deng
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On Wed, Jun 3, 2009 at 11:54 PM, Marc Lustig &lt;ml@marclustig.com&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; I forgot to add an excerpt from the log:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; 2009-06-03 17:42:11,554 [pool-2-thread-1] INFO
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaRepositoryScanningTaskExecutor
&gt;&gt;&gt;&gt;&gt;&gt; - Finished repository task:
&gt;&gt;&gt;&gt;&gt;&gt; .\ Scan of internal \.__________________________________________
&gt;&gt;&gt;&gt;&gt;&gt; Repository Dir    : /opt/managed_repos/internal
&gt;&gt;&gt;&gt;&gt;&gt; Repository Name   : ....
&gt;&gt;&gt;&gt;&gt;&gt; Repository Layout : default
&gt;&gt;&gt;&gt;&gt;&gt; Known Consumers   : (7 configured)
&gt;&gt;&gt;&gt;&gt;&gt;                     auto-rename
&gt;&gt;&gt;&gt;&gt;&gt;                     metadata-updater
&gt;&gt;&gt;&gt;&gt;&gt;                     repository-purge
&gt;&gt;&gt;&gt;&gt;&gt;                     auto-remove
&gt;&gt;&gt;&gt;&gt;&gt;                     update-db-artifact
&gt;&gt;&gt;&gt;&gt;&gt;                     create-missing-checksums
&gt;&gt;&gt;&gt;&gt;&gt;                     index-content
&gt;&gt;&gt;&gt;&gt;&gt; Invalid Consumers : &lt;none&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Duration          : 1 Minute 13 Seconds 689 Milliseconds
&gt;&gt;&gt;&gt;&gt;&gt; When Gathered     : 6/3/09 5:42 PM
&gt;&gt;&gt;&gt;&gt;&gt; Total File Count  : 107263
&gt;&gt;&gt;&gt;&gt;&gt; Avg Time Per File :
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________________________________________
&gt;&gt;&gt;&gt;&gt;&gt; 2009-06-03 17:42:55,317 [pool-1-thread-1] INFO
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor
&gt;&gt;&gt;&gt;&gt;&gt; - Executing task from queue with job name:
&gt;&gt;&gt; database-job:user-requested
&gt;&gt;&gt;&gt;&gt;&gt; 2009-06-03 17:42:55,319 [pool-1-thread-1] INFO
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor
&gt;&gt;&gt;&gt;&gt;&gt; - Task: Updating unprocessed artifacts
&gt;&gt;&gt;&gt;&gt;&gt; 2009-06-03 17:42:55,318 [http-8080-6] INFO
&gt;&gt;&gt;&gt;&gt;&gt; org.apache.maven.archiva.web.action.admin.SchedulerAction  -
&gt;&gt;&gt;&gt;&gt;&gt; [ActionMessage]
&gt;&gt;&gt;&gt;&gt;&gt; Your request to update the database has been queued.
&gt;&gt;&gt;&gt;&gt;&gt; 2009-06-03 17:42:55,591 [pool-1-thread-1] INFO
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor
&gt;&gt;&gt;&gt;&gt;&gt; - Task: Updating processed artifacts
&gt;&gt;&gt;&gt;&gt;&gt; 2009-06-03 17:44:20,355 [pool-1-thread-1] INFO
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor
&gt;&gt;&gt;&gt;&gt;&gt; - Finished database task in 85035ms.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Marc Lustig wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; We upgraded our test-server to release 1.2.1, removed .index
and
&gt;&gt;&gt;&gt;&gt;&gt; .indexer
&gt;&gt;&gt;&gt;&gt;&gt;&gt; from all the repos, ran the Scan for the repos and then the 

&gt;&gt;&gt;&gt;&gt;&gt;&gt; Update
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Database.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; As a result, before the upgrade we had 500 MB inside in all of
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt; .index
&gt;&gt;&gt;&gt;&gt;&gt;&gt; directories.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; After the upgrade and the repo-scan,  the total size is less
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; than 1
&gt;&gt;&gt;&gt;&gt;&gt; MB.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Apparently the repo indexing-process does not work anymore. The
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Search-function does not give any results.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any idea how to make the repos to get indexed again?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; http://www.nabble.com/Archiva-1.2.1---repos-won%27t-get-index-tp23854158p23854203.html
&gt;&gt;&gt;&gt;&gt;&gt; Sent from the archiva-users mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt; http://www.nabble.com/Archiva-1.2.1---repos-won%27t-get-index-tp23854158p24201482.html
&gt;&gt;&gt; Sent from the archiva-users mailing list archive at Nabble.com.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; -- 
&gt; View this message in context: http://www.nabble.com/Archiva-1.2.1---repos-won%27t-get-index-tp23854158p25474649.html
&gt; Sent from the archiva-users mailing list archive at Nabble.com.
&gt;



</pre>
</div>
</content>
</entry>
</feed>
