jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-663

Make type to extension mapping configurable

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: Backlog
  • Component/s: None
  • Labels:
    None
  • Environment:
    Linux FC6, archiva 1.0, jdk 1.6.0

Description

I'm working on a multi-project application and i encountered a problem.
One of my sub-project is having the type ejb. Also, when i deploy it with maven, it's placed in a folder called "ejbs".

The problem is that when i'm browsing this folder, i can see the jar created in my "ejbs" folder but when i try to download it, archiva gives me an error 404 with a message in which the part of the path "ejbs" is replaced by "jars".

The url of the page is "http://xxx/repository/xxx/ejbs/Ejb-xxx.jar" and the message is :

Error 404 Not Found

The following resource does not exist: http://xxx/repository/xxx/jars/Ejb-xxx.jar"

And the problem happens for the type "zip" replaced by "distribution" (???).

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MRM-659 archiva cannot serve ejb artifacts from a maven1 repository

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Arnaud Heritier added a comment - 13/Mar/08 5:50 PM

I have a similar error :

The following resource does not exist: http://xxx.com/repository//XXX/apps/xxx2Rabbit-2.3.jar

org.apache.maven.archiva.repository.layout.LayoutException: Invalid path to Artifact: mismatch on extension [jar] and layout specified type [apps] (which maps to extension: [app]) on path [XXX/apps/xxx2Rabbit-2.3.jar]
Show
Arnaud Heritier added a comment - 13/Mar/08 5:50 PM I have a similar error :
The following resource does not exist: http://xxx.com/repository//XXX/apps/xxx2Rabbit-2.3.jar

org.apache.maven.archiva.repository.layout.LayoutException: Invalid path to Artifact: mismatch on extension [jar] and layout specified type [apps] (which maps to extension: [app]) on path [XXX/apps/xxx2Rabbit-2.3.jar]
Hide
Permalink
Brett Porter added a comment - 25/Mar/08 5:13 AM

the EJB bug is fixed (linked), but to work for "apps" we would need to make the type list configurable in ArtifactExtensionMapping

moving to 1.1

Show
Brett Porter added a comment - 25/Mar/08 5:13 AM the EJB bug is fixed (linked), but to work for "apps" we would need to make the type list configurable in ArtifactExtensionMapping moving to 1.1
Hide
Permalink
James William Dumay added a comment - 08/May/08 1:42 AM

Moving to 1.1.x

Show
James William Dumay added a comment - 08/May/08 1:42 AM Moving to 1.1.x

People

  • Assignee:
    Unassigned
    Reporter:
    Fabien DUBRON
Vote (2)
Watch (2)

Dates

  • Created:
    22/Jan/08 4:24 AM
    Updated:
    05/Mar/09 10:44 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.