thanks much, Brett.
the file is being uploaded now, however another error occurs:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: ....... Return code
is: 401
so it's an authentication issue.
on the local machine (where mvn deploy is called) in settings.xml is configured:
<server>
<id>someid</id>
<username>archiva-user-with-repo-manager-rights</username>
<password>pw</password>
</server>
</servers>
any idea what might cause the 401?
Do I need to map the server-id to something?
M.
-----Ursprüngliche Nachricht-----
Von: Brett Porter [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 16. April 2008 13:00
An: [email protected]
Betreff: Re: deploying third party artifacts: "Unsupported Protocol: 'dav'"
What version of Maven are you using?
You may also try without "dav:" - just http:// is often fine.
- Brett
On 16/04/2008, Lustig, Marc (Allianz Deutschland AG)
<[EMAIL PROTECTED]> wrote:
> We are having trouble to deploy 3rd party-artefacts using mvn
> deploy-plugin.
>
> I followed the instructions located here
> http://maven.apache.org/archiva/guides/getting-started/maven-configurati
> on.html
>
> but the result is
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot
> find wagon which supports the requested protocol: dav
>
> Component descriptor cannot be found in the component repository:
> org.apache.maven.wagon.Wagondav.
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
> artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports
> the requested protocol: dav
>
>
> here is the pom.xml used for upload:
>
> <project>
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.example</groupId>
> <artifactId>webdav-deploy</artifactId>
> <packaging>pom</packaging>
> <version>1</version>
> <name>Webdav Deployment POM</name>
>
>
> <build>
> <extensions>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-webdav</artifactId>
> <version>1.0-beta-2</version>
> </extension>
> </extensions>
> </build>
>
> </project>
>
--
Brett Porter
Blog: http://blogs.exist.com/bporter/