You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/06/19 00:05:55 UTC

[jira] Closed: (MAVEN-196) Dependency type handling - dependency type can diffrent than artifact file extension

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-196


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-196
    Summary: Dependency type handling - dependency type can diffrent than artifact file extension
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
   Fix Fors:
             1.0-beta-10
   Versions:
             1.0-beta-8

   Assignee: Vincent Massol
   Reporter: Michal Maczka

    Created: Sun, 12 Jan 2003 11:36 AM
    Updated: Wed, 18 Jun 2003 5:05 PM

Description:
Currenly there is asuumption that artifact/dependecy type is alway the same as artifact file extension.

This is not always true. As example of such dependecy 

  <dependencies>
    <dependency>
      <id>myejb</id>
      <version>1.0.1</version>
      <type>ejb</type>
    </dependency>
  </dependencies>


Maven will try to lookup this artifact as

REPO/myejb/ejbs/myejb-1.0.1.ejb

while correct path is 

REPO/myejb/ejbs/myejb-1.0.1.ejb

EJB artifact have file extension ".jar" (that is the correct approach, and that is how ejb pluging names them.









---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org