You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2020/04/08 22:44:53 UTC

[maven-surefire] branch SUREFIRE-1770 updated: [SUREFIRE-1770] make build Reproducible

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

hboutemy pushed a commit to branch SUREFIRE-1770
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/SUREFIRE-1770 by this push:
     new c32ee4b  [SUREFIRE-1770] make build Reproducible
c32ee4b is described below

commit c32ee4b503e08604b4160b1032d78d7b685ad9ca
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Apr 9 00:44:38 2020 +0200

    [SUREFIRE-1770] make build Reproducible
---
 pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/pom.xml b/pom.xml
index 59c3e42..5d4198d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -455,10 +455,26 @@
     </dependency>
   </dependencies>
 
+  <repositories>
+    <repository><!-- useful to resolve maven-shade-plugin 3.2.3-SNAPSHOT -->
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+
   <build>
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-shade-plugin</artifactId>
+          <version>3.2.3-SNAPSHOT</version>
+        </plugin>
+        <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>build-helper-maven-plugin</artifactId>
           <version>1.12</version>