On 6/4/07, merlin <[EMAIL PROTECTED]> wrote:
[WARNING] repository metadata for: 'snapshot
org.geoserver:web:1.6-SNAPSHOT'
could not be retrieved from repository: codehaus.org due to an
error: Unsupported Protocol: 'dav': Cannot find wagon which supports the
requested protocol: dav
[INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find
wagon which supports the requested protocol: dav
This has nothing to do with binding the antrun plugin to the deploy phase.
The error you get is because webdav deployment is not configured correctly.
Add this extension to your pom to make your project aware of the fact that
you want to use WebDAV:
<project>
...
<build>
...
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
</build>
...
</project>
Then try a "mvn deploy" without any extra plugin executions bound to the
deploy phase.
If that works, the extra plugin execution should work as well.
Cheers
Jo