maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Issue Comment Deleted] (MSHADE-249) Consistent dates in the jar entries
Date Mon, 13 Feb 2017 12:20:41 GMT


Michael Osipov updated MSHADE-249:
    Comment: was deleted

(was: The ugly timestamp has been removed from the {{}} file. As soon as you
have new archives, it won't be there.)

> Consistent dates in the jar entries
> -----------------------------------
>                 Key: MSHADE-249
>                 URL:
>             Project: Maven Shade Plugin
>          Issue Type: New Feature
>            Reporter: Javier Sigler
> Nowadays, Java developers often create Docker images attaching the uberjar or collections
of jars to the docker image. However, these jars are time dependant. In other words, each
time you create a jar, it has a different hash even though the code is actually the same.
This feature leads to the creation of multiple docker image for the same code, significantly
increasing the deploy time.
> The two reasons that makes the different hashes are:
> 1. jar entries contains the creation timestamp in at least the last modified attribute.

> 2. each uberjar usually contains an automatically generated property file with a timestamp
located in {{META-INF/maven/$\{package}/}}  
> The goal of this feature is to solve the first problem giving a consistent date to all
the jar entries.
> I take the liberty of create a github repository with the suggested change in the plugin
to accomplish this feature 
> In addition, you could find in the repository a solution of the second problem.
> I hope you could find it useful.
> Thank you in advance.

This message was sent by Atlassian JIRA

View raw message