[ http://jira.codehaus.org/browse/MRM-221?page=all ]
Brett Porter updated MRM-221: ----------------------------- Component/s: WebDAV interface > Webdav upload is not working > ---------------------------- > > Key: MRM-221 > URL: http://jira.codehaus.org/browse/MRM-221 > Project: Archiva > Issue Type: Bug > Components: WebDAV interface > Affects Versions: 1.0 > Environment: Mac OS X using the default jetty container. Jetty > started with mvn jetty:run > Reporter: Greg Luck > Fix For: 1.0 > > > MRM-172 added webdav support. This is not working. > I have everything working scping to the repository. webdav via Archiva does > not work. > When I use > <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-1"/> > <artifact:install file="${dist.dir}/${name}-${version}.jar"> > <pom refid="maven.project"/> > </artifact:install> > <artifact:deploy file="${dist.dir}/${name}-${version}.jar"> > <remoteRepository > url="dav://localhost:9091/repository/maven_repository"> > <authentication username="gluck" passphrase="###" > password="###"/> > </remoteRepository> > <pom refid="maven.project"/> > </artifact:deploy> > I get > upload-to-repository: > [artifact:install-provider] Installing provider: > org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-1 > [artifact:install-provider] Installing provider: > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-1 > [artifact:install] [INFO] Installing > /Users/gluck/work/ehcache/trunk/target/dist/ehcache-1.2.4.jar to > /m2repository/net/sf/ehcache/ehcache/1.2.4/ehcache-1.2.4.jar > [artifact:deploy] Deploying to > dav://localhost:9091/repository/maven_repository > [artifact:deploy] WAGON_VERSION: 1.0-beta-1 > BUILD FAILED > /Users/gluck/work/ehcache/trunk/build.xml:364: > java.lang.IllegalArgumentException: id is null > If I click on the webdav link from archiva I get: > Error 404 Not Found > Resource in error: http://localhost:9091/repository/LOCAL/maven_repository > Exception details: > it.could.webdav.DAVException: Not found > at it.could.webdav.methods.HEAD.process(HEAD.java:52) > at it.could.webdav.methods.GET.process(GET.java:58) > at it.could.webdav.DAVProcessor.process(DAVProcessor.java:79) > at > org.apache.maven.archiva.web.servlet.repository.RepositoryAccess.servletRequest(RepositoryAccess.java:223) > at > org.apache.maven.archiva.web.servlet.PlexusComponentServlet.service(PlexusComponentServlet.java:126) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1049) > at > com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1040) > at > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > at > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1040) > at > com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1040) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:352) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:230) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) > at org.mortbay.jetty.Server.handle(Server.java:286) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:444) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:701) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:203) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:340) > at > org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira