[
https://issues.apache.org/jira/browse/MNG-6481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657975#comment-16657975
]
Sylwester Lachiewicz commented on MNG-6481:
-------------------------------------------
With all last fixes, Maven can be compiled with Java 11 and pass all internal
tests. Unfortunately, few tests failed in ITs
[failed|https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven/job/MNG-6481/]
(Linux and Windows the same)
[linux-jdk11] [ERROR]
testBad(org.apache.maven.it.MavenITmng5958LifecyclePhaseBinaryCompat) Time
elapsed: 0.202 s <<< ERROR!
[linux-jdk11] org.apache.maven.it.VerificationException: Text not found in log:
[ERROR] Internal error: java.lang.ClassCastException:
org.apache.maven.lifecycle.mapping.LifecyclePhase cannot be cast to
[linux-jdk11] at
org.apache.maven.it.MavenITmng5958LifecyclePhaseBinaryCompat.testBad(MavenITmng5958LifecyclePhaseBinaryCompat.java:42)
[linux-jdk11]
[linux-jdk11] [ERROR]
testit(org.apache.maven.it.MavenITmng4877DeployUsingPrivateKeyTest) Time
elapsed: 0.214 s <<< FAILURE!
[linux-jdk11] junit.framework.AssertionFailedError: expected:<testuser> but
was:<null>
[linux-jdk11] at
org.apache.maven.it.MavenITmng4877DeployUsingPrivateKeyTest.testit(MavenITmng4877DeployUsingPrivateKeyTest.java:60)
[linux-jdk11]
[linux-jdk11] [ERROR]
testitMNG1957(org.apache.maven.it.MavenITmng1957JdkActivationWithVersionRangeTest)
Time elapsed: 0.131 s <<< FAILURE!
[linux-jdk11] junit.framework.ComparisonFailure: expected:<PASSED> but
was:<null>
[linux-jdk11] at
org.apache.maven.it.MavenITmng1957JdkActivationWithVersionRangeTest.testitMNG1957(MavenITmng1957JdkActivationWithVersionRangeTest.java:64)
[linux-jdk11]
> Allow to compile and test Maven with Java 10/11
> -----------------------------------------------
>
> Key: MNG-6481
> URL: https://issues.apache.org/jira/browse/MNG-6481
> Project: Maven
> Issue Type: Improvement
> Reporter: Sylwester Lachiewicz
> Priority: Minor
> Fix For: 3.6.0-candidate
>
>
> Java 11 is coming closer, let's prepare to use it for the development of
> Maven.
> A minimal requirement to run Maven - still Java 7.
> * compile and pass Maven's tests with Java 11
> * adjust ITs to run under Java 11
> Do we need compile and to pass all tests with Java 9, 10 and 11?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)