Strange bug with axis dependency
--------------------------------
Key: MRM-900
URL: http://jira.codehaus.org/browse/MRM-900
Project: Archiva
Issue Type: Bug
Affects Versions: 1.0.2
Environment: Apache Archiva 1.0.2
Internet Explorer 7 or Firefox 3
Windows XP SP3
Reporter: Manuel EVENO
Attachments: archiva-axis-error.jpg
When accessing to our internal maven repository for axis dependency, archiva
seems to have a problem with the path layout it considers too short.
Pointing my browser to : http://fornax:8090/archiva/repository/internal/axis,
gives me the following exception :
{panel}
Error 404 Not Found
The following resource does not exist: http://fornax:8090/repository//axis
org.apache.maven.archiva.repository.layout.LayoutException: Not a valid request
path layout, too short.
at
org.apache.maven.archiva.repository.content.RepositoryRequest.toArtifactReference(RepositoryRequest.java:100)
at
org.apache.maven.archiva.repository.content.RepositoryRequest.toNativePath(RepositoryRequest.java:242)
at
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:192)
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)
{panel}
Maven seems to have the same problem because it can't get a copy of these
dependencies to my local repository.
{panel}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) axis:axis-ant:jar:1.4
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=axis -DartifactId=axis-ant
-Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=axis -DartifactId=axis-ant -Dversion=1.4
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepositor
yId=[id]
Path to dependency:
1)
com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
2) org.apache.servicemix:servicemix-soap2:jar:3.2.2
3) org.apache.ws.security:wss4j:jar:1.5.4
4) axis:axis-ant:jar:1.4
----------
1 required artifact is missing.
for artifact:
com.sofinco.capi.samples.esb.hello:hello-proxies:jbi-service-unit:1.0-SNAPSHOT
from the specified remote repositories:
external (http://fornax:8090/archiva/repository/external)
{panel}
--
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