[MNG-8258] activate Reproducible Builds by default (#369)

This commit is contained in:
Guillaume Nodet 2024-10-01 16:50:50 +02:00 committed by GitHub
parent 4e91c205ea
commit c5211f95cb
1 changed files with 6 additions and 1 deletions

View File

@ -77,7 +77,12 @@ public class MavenITmng3843PomInheritanceTest extends AbstractMavenIntegrationTe
assertEquals("", props.getProperty("project.url", ""));
assertEquals("", props.getProperty("project.inceptionYear", ""));
assertEquals("", props.getProperty("project.build.defaultGoal", ""));
if (matchesVersionRange("[4.0.0-alpha-6,)")) {
if (matchesVersionRange("[4.0.0-beta-5,)")) {
assertEquals("3", props.getProperty("project.properties"));
assertEquals("UTF-8", props.getProperty("project.properties.project.build.sourceEncoding"));
assertEquals("UTF-8", props.getProperty("project.properties.project.reporting.outputEncoding"));
assertEquals("2001-01-01T00:00:00Z", props.getProperty("project.properties.project.build.outputTimestamp"));
} else if (matchesVersionRange("[4.0.0-alpha-6,4.0.0-beta-4]")) {
assertEquals("2", props.getProperty("project.properties"));
assertEquals("UTF-8", props.getProperty("project.properties.project.build.sourceEncoding"));
assertEquals("UTF-8", props.getProperty("project.properties.project.reporting.outputEncoding"));