[
https://issues.apache.org/jira/browse/SUREFIRE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tibor Digana closed SUREFIRE-1491.
----------------------------------
Resolution: Fixed
https://git-wip-us.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=e8af50c722b80c2d65e5b943b27087d39ae1d7b9
> LocationManager injected in MOJO unables plugin to run in JDK 1.6
> -----------------------------------------------------------------
>
> Key: SUREFIRE-1491
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1491
> Project: Maven Surefire
> Issue Type: Improvement
> Reporter: Tibor Digana
> Assignee: Tibor Digana
> Priority: Major
> Fix For: 2.21.0
>
>
> {{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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)