Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.0.12, 0.9.0
-
Fix Version/s: 0.9.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
As in MNGECLIPSE-4, rar dependencies cause 'Illegal type of archive for required library' error and failure to build project.
Opening a new issue as the previous issue was closed against an old version.
Attaching project to reproduce problem - check README.txt for instructions.
I was able to reproduce the problem with m2eclipse 0.9.0
I tracked down the issue and found 2 possible solutions. But since I don't use rar files, I need help to choose the best one.
1. change plexus component configuration for rar files to disable their addition to classpath
see http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml
2. or add a test to m2eclipse code to avoid addition to dependencies when the file's extension is not .zip nor .jar
The first solution is the most clean, since it would be only a configuration improvement.
But I'm not able to decide if the changed configuration is right: should a .rar file be included in classpath or not?