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 2005/01/17 02:51:29 UTC

[jira] Reopened: (MPEAR-9) Dependency case mismatch causes missing dependency without error

Message:

   The following issue has been reopened.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPEAR-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPEAR-9
    Summary: Dependency case mismatch causes missing dependency without error
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-ear-plugin
   Versions:
             1.2

   Assignee: Felipe Leme
   Reporter: Sean Timm

    Created: Mon, 10 Nov 2003 7:30 PM
    Updated: Sun, 16 Jan 2005 8:50 PM
Environment: Windows (or any other operating system setup to allow case-insensitive retrieval of dependencies from the repository)

Description:
I'm hosting an in-house remote repository via Apache 2 on a Windows server.  I recently ran into an issue where a few projects specified the name of a dependency with the wrong case (all lowercase instead of mixed-case).  The remote repository still treats it as a valid filename and returns the dependency, but it is now in the local repository with the wrong case, and this caused a bit of a problem.

At this point, I did an ear:ear, and the creation of the EAR was successful, but one of the dependencies was missing.  It turns out it was due to another component having originally specified it with the wrong case, and it just maintained the wrong case from then on out.

I've modified the EAR plugin to check for this inconsistency and error out if it's detected, and I'll attach a patch shortly.  Note that the WAR plugin may have this issue, too, but I haven't taken a look it it, yet.


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