You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/02/01 21:13:08 UTC

[maven] branch MNG-6859 created (now dbe4791)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-6859
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at dbe4791  [MNG-6859] Build not reproducible when built from source release

This branch includes the following new commits:

     new dbe4791  [MNG-6859] Build not reproducible when built from source release

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven] 01/01: [MNG-6859] Build not reproducible when built from source release

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-6859
in repository https://gitbox.apache.org/repos/asf/maven.git

commit dbe479193ea95188a4351c37036d96af6b11beb7
Author: Michael Osipov <mi...@apache.org>
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 8b70b27..7a723a2 100644
--- a/maven-core/pom.xml
+++ b/maven-core/pom.xml
@@ -164,31 +164,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>
@@ -230,16 +205,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>
@@ -247,7 +212,7 @@ under the License.
             <configuration>
               <doCheck>false</doCheck>
               <doUpdate>false</doUpdate>
-              <revisionOnScmFailure>${nonCanonicalRevision}</revisionOnScmFailure>
+              <revisionOnScmFailure>NON_CANONICAL</revisionOnScmFailure>
             </configuration>
           </execution>
         </executions>