slachiewicz commented on a change in pull request #346:
URL: https://github.com/apache/maven/pull/346#discussion_r428193862
##########
File path:
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
##########
@@ -53,12 +57,24 @@
private static String BASE_MIXIN_DIR = BASE_DIR + "/resources-mixins";
+ @Inject
private DefaultProjectBuilder projectBuilder;
+ @Inject
private RepositorySystem repositorySystem;
private File testDirectory;
+ @Override
+ protected synchronized void setupContainer()
+ {
+ super.setupContainer();
+
+ ((DefaultPlexusContainer)getContainer())
Review comment:
For Maven core we already have Java 8..
check here version without lambda:
https://github.com/apache/maven/blob/master/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java#L325-L335
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]