Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
LocationManager is a singleton however the constructor does not inject MavenProject nor another objects managed by Maven instance.
It can be constructed by a pure call.
In 3.0.0-M1 and Java 1.7 we will inject it as @Component.
ITs do not use Java 1.7 API and unit tests either. The test ModularClasspathForkConfigurationTest should assume 1.7 and the test AbstractSurefireMojoTest should split in test class with 1.6 and another with 1.7.