Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.9.7
-
Fix Version/s: None
-
Component/s: Project Configuration
-
Labels:None
Description
The current recommended solution (http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ#ProjectFAQ-Compilationerrorsonrestrictedclasses) to hide the Access REstriction may mask other issues. We have found switching the order in the Window --> Preferences --> Java Build Path --> Order and Export to put the Maven Dependecies Classpath Container ahead of the JRE System Library. Wouldn't it be possible for the ProjectConfiguration to make sure the Maven Dependencies Classpath Container is list first?
Issue Links
- is related to
-
MNGECLIPSE-1044
Create JRE system libraries with no access rules
-
Here is a patch that resolves the issue. To reproduce the issue you need the following setup:
1) JDK 1.6 installed
2) maven-compiler-plugin set to 1.5
3) depedency on jaxb or jaxws