This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch maven-3.8.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-3.8.x by this push:
new b5ee583 [MNG-6859] Build not reproducible when built from source
release
b5ee583 is described below
commit b5ee58338127ed9f8e775d9ea5c547469b9a5484
Author: Michael Osipov <[email protected]>
AuthorDate: Sat Feb 1 22:11:33 2020 +0100
[MNG-6859] Build not reproducible when built from source release
This closes #322
---
maven-core/pom.xml | 37 +------------------------------------
1 file changed, 1 insertion(+), 36 deletions(-)
diff --git a/maven-core/pom.xml b/maven-core/pom.xml
index f6709b0..dc5a422 100644
--- a/maven-core/pom.xml
+++ b/maven-core/pom.xml
@@ -169,31 +169,6 @@ under the License.
</excludes>
</configuration>
</plugin>
- <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <versionRange>[1.2,)</versionRange>
- <goals>
- <goal>create-timestamp</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -235,16 +210,6 @@ under the License.
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
- <id>create-noncanonicalrev</id>
- <goals>
- <goal>create-timestamp</goal>
- </goals>
- <configuration>
-
<timestampFormat>'NON-CANONICAL_'yyyy-MM-dd'T'HH:mm:ssXXX_'${user.name}'</timestampFormat>
-
<timestampPropertyName>nonCanonicalRevision</timestampPropertyName>
- </configuration>
- </execution>
- <execution>
<id>create-buildnumber</id>
<goals>
<goal>create</goal>
@@ -252,7 +217,7 @@ under the License.
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
-
<revisionOnScmFailure>${nonCanonicalRevision}</revisionOnScmFailure>
+ <revisionOnScmFailure>NON_CANONICAL</revisionOnScmFailure>
</configuration>
</execution>
</executions>