Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows (or any other operating system setup to allow case-insensitive retrieval of dependencies from the repository)
-
Number of attachments :
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.
Attachments
Issue Links
| This issue is superceded by: | ||||
| MPEAR-37 | Remove dependency warning |
|
|
|
| This issue is depended upon by: | ||||
| MAVEN-1526 | Regression: build fails because of case problem in dependency |
|
|
|
Here's the patch to fix it...