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/09 16:32:57 UTC
[maven-indexer] branch master updated: [MINDEXER-112] improve build
reproducibiity
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-indexer.git
The following commit(s) were added to refs/heads/master by this push:
new d2f3460 [MINDEXER-112] improve build reproducibiity
d2f3460 is described below
commit d2f3460c5f5230b7950ddbddf10ddfce4fc179c6
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Apr 9 18:32:45 2020 +0200
[MINDEXER-112] improve build reproducibiity
---
indexer-reader/pom.xml | 5 +++++
pom.xml | 16 ++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/indexer-reader/pom.xml b/indexer-reader/pom.xml
index b4911a1..0d9af1e 100644
--- a/indexer-reader/pom.xml
+++ b/indexer-reader/pom.xml
@@ -57,6 +57,11 @@ under the License.
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.0</version>
<extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <_removeheaders>Bnd-LastModified</_removeheaders>
+ </instructions>
+ </configuration>
</plugin>
</plugins>
</build>
diff --git a/pom.xml b/pom.xml
index 23cd025..6f1c93d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -311,6 +311,17 @@ under the License.
<module>indexer-examples</module>
</modules>
+ <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>
<plugins>
<plugin>
@@ -383,6 +394,11 @@ under the License.
<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>animal-sniffer-maven-plugin</artifactId>
<version>1.16</version>