mirror of https://github.com/apache/maven.git
[MNG-8258] activate Reproducible Builds by default (#1726)
This commit is contained in:
parent
ce2675adfa
commit
82cf96094f
|
@ -26,6 +26,7 @@ under the License.
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.build.outputTimestamp>2001-01-01T00:00:00Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
|
|
@ -26,6 +26,7 @@ under the License.
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.build.outputTimestamp>2001-01-01T00:00:00Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
|
|
@ -1228,7 +1228,7 @@ class PomConstructionTest {
|
|||
@Test
|
||||
void testPropertiesNoDuplication() throws Exception {
|
||||
PomTestWrapper pom = buildPom("properties-no-duplication/sub");
|
||||
assertEquals(3, ((Properties) pom.getValue("properties")).size());
|
||||
assertEquals(4, ((Properties) pom.getValue("properties")).size());
|
||||
assertEquals("child", pom.getValue("properties/pomProfile"));
|
||||
}
|
||||
|
||||
|
@ -1351,10 +1351,11 @@ class PomConstructionTest {
|
|||
assertEquals(1, ((List<?>) pom.getValue("modules")).size());
|
||||
assertEquals("sub", pom.getValue("modules[1]"));
|
||||
|
||||
assertEquals(3, ((Map<?, ?>) pom.getValue("properties")).size());
|
||||
assertEquals(4, ((Map<?, ?>) pom.getValue("properties")).size());
|
||||
assertEquals("project-property", pom.getValue("properties[1]/itProperty"));
|
||||
assertEquals("UTF-8", pom.getValue("properties[1]/project.build.sourceEncoding"));
|
||||
assertEquals("UTF-8", pom.getValue("properties[1]/project.reporting.outputEncoding"));
|
||||
assertEquals("2001-01-01T00:00:00Z", pom.getValue("properties[1]/project.build.outputTimestamp"));
|
||||
|
||||
assertEquals(1, ((List<?>) pom.getValue("dependencyManagement/dependencies")).size());
|
||||
assertEquals("org.apache.maven.its", pom.getValue("dependencyManagement/dependencies[1]/groupId"));
|
||||
|
|
|
@ -26,6 +26,7 @@ under the License.
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.build.outputTimestamp>2001-01-01T00:00:00Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
|
|
@ -26,6 +26,7 @@ under the License.
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.build.outputTimestamp>2001-01-01T00:00:00Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
|
Loading…
Reference in New Issue