mirror of https://github.com/apache/maven.git
[MNG-6427] IT for MNG-1957 fails on Java 11+
This commit is contained in:
parent
7076be8758
commit
fb64340087
|
@ -59,8 +59,8 @@ public class MavenITmng1957JdkActivationWithVersionRangeTest
|
||||||
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty1" ) );
|
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty1" ) );
|
||||||
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty2" ) );
|
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty2" ) );
|
||||||
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty3" ) );
|
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty3" ) );
|
||||||
assertEquals( null, props.getProperty( "project.properties.jdkProperty4" ) );
|
assertNull( props.getProperty( "project.properties.jdkProperty4" ) );
|
||||||
assertEquals( null, props.getProperty( "project.properties.jdkProperty5" ) );
|
assertNull( props.getProperty( "project.properties.jdkProperty5" ) );
|
||||||
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty6" ) );
|
assertEquals( "PASSED", props.getProperty( "project.properties.jdkProperty6" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -176,5 +176,15 @@ under the License.
|
||||||
<jdkProperty6>PASSED</jdkProperty6>
|
<jdkProperty6>PASSED</jdkProperty6>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<!-- bounds close to current Java version (MNG-4512) -->
|
||||||
|
<id>test-6h</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[11,12)</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<jdkProperty6>PASSED</jdkProperty6>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue