maven - How to automatically set the JRE_CONTAINER on top of all others dependencies in Eclipse.classpath? -
I want to modify the auto order on which classpathentry Written by Maven Eclipse Plugin
The first reason : In my application, the interface
is a way to do this?
Org.w3c.dom.Node is provided by several third-party libraries (for XML processing), as well as JDK (1.6). However,
org.w3c.dom provided by these libraries * The version of the classes is quite old compared to the JDK. For example, the method does not exist there.
mvn eclipse: eclipse is running on my project earlier in the JDK container
.classpath , this method in eclipse Will cause a compilation error. So this idea is to enter this line:
The second reason (less important) occurs when
. I run mvn eclipse: eclipse , it always sets the src / test / * package before src / java / * , which Bothers me a bit (yes, I know that we develop the first test in TDD, but still ...)
Technical information: Java 1.6, MV 2.2.1, Eclipse Plugin 2.8
Edit: is a question that may look like mine, but he did not help me because it only with the order of third-party dependency Nbndit is ...
See this post :. I can confirm that the 2.9 plugin has fixed this problem (or allows you).
Comments
Post a Comment