[ 
http://jira.codehaus.org/browse/MRM-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter closed MRM-664.
----------------------------

         Assignee: Brett Porter
       Resolution: Fixed
    Fix Version/s:     (was: 1.0.x)
                   1.0.2

> Cannot download a strut-module artifact in a Legacy repository
> --------------------------------------------------------------
>
>                 Key: MRM-664
>                 URL: http://jira.codehaus.org/browse/MRM-664
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Daniel Beland
>            Assignee: Brett Porter
>            Priority: Critical
>             Fix For: 1.0.2
>
>
> I still have legacy Maven 1.1 projects which uses the struts-module plugin.
> I was using maven-proxy until now but decided to switch to archiva.
> However when I try to download a struts-module in my Maven 1.X repository, I 
> get the following exception:
> org.apache.maven.archiva.repository.layout.LayoutException: Invalid path to 
> Artifact: mismatch on extension [dule] and layout specified type 
> [struts-modules] (which maps to extension: [struts.module]) on path 
> [WebPortal/struts-modules/eventsDB-1.2.3.struts-module]
>       at 
> org.apache.maven.archiva.repository.content.LegacyPathParser.toArtifactReference(LegacyPathParser.java:154)
>       at 
> org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:125)
>       at 
> org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:271)
>       at 
> org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:193)
>       at 
> org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119)
>       at 
> org.apache.maven.archiva.web.repository.RepositoryServlet.service(RepositoryServlet.java:155)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
>       at 
> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>       at 
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>       at 
> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>       at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>       at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>       at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>       at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>       at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>       at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>       at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> The file WebPortal/struts-modules/eventsDB-1.2.3.struts-module does exist 
> (and would be returned correctly by maven-proxy), but it seems as it archiva 
> is looking for WebPortal/struts-modules/eventsDB-1.2.3.struts.module which 
> does not exist. (replacing the dash by a dot in the extension)

-- 
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

        

Reply via email to