Hi,

I just updated Archiva from 1.0.2 to 1.1.3, retaining the repositories. 
Sadly I can't download any artifacts after the upgrade. I checked with 
same settings.xml the old version, and there it works. Also 'I get access 
to the files via the Web interface (so the used credentials are fine). Any 
suggesstions?

BTW: I had to create new users when staring 1.1.3, even when I retained 
the users directory.

Cheers, 

Frank


My environment:
Archiva is running on Ubuntu, my client is a WinXP. I use Archiva as 
default repo:

<mirror>
   <id>archiva.default</id>
   <url>http://sasquatch:8080/archiva/repository/internal/</url>
   <mirrorOf>*</mirrorOf>
</mirror>

I deleted the old .m2\repository to create a totally new one. Following 
was the error message:

$ mvn validate
[INFO] Scanning for projects...
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
Downloading: 
http://sasquatch:8080/archiva/repository/internal//org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-utils:jar:1.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus 
-DartifactId=plexus-utils -Dversion=1.1 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file 
there:
      mvn deploy:deploy-file -DgroupId=org.codehaus.plexus 
-DartifactId=plexus-utils -Dversion=1.1 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -Drepository
Id=[id]

  Path to dependency:
        1) dms:base:jar:1.4-SNAPSHOT
        2) org.codehaus.plexus:plexus-utils:jar:1.1

2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.maven.wagon 
-DartifactId=wagon-webdav -Dversion=1.0-beta-2 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file 
there:
      mvn deploy:deploy-file -DgroupId=org.apache.maven.wagon 
-DartifactId=wagon-webdav -Dversion=1.0-beta-2 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -D
repositoryId=[id]

  Path to dependency:
        1) dms:base:jar:1.4-SNAPSHOT
        2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

----------
2 required artifacts are missing.

for artifact:
  dms:base:jar:1.4-SNAPSHOT

from the specified remote repositories:
  archiva.default (http://sasquatch:8080/archiva/repository/internal/)


[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Nov 06 17:53:22 CET 2008
[INFO] Final Memory: 1M/3M
[INFO] 
------------------------------------------------------------------------


Reply via email to