maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MSHARED-800) Remove Maven version from pom.properties
Date Wed, 06 Feb 2019 13:52:00 GMT

    [ https://issues.apache.org/jira/browse/MSHARED-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761751#comment-16761751
] 

Michael Osipov commented on MSHARED-800:
----------------------------------------

{code:java}

package java.util.jar;

import java.io.FilterInputStream;
import java.io.DataOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;

/**
 * The Manifest class is used to maintain Manifest entry names and their
 * associated Attributes. There are main Manifest Attributes as well as
 * per-entry Attributes. For information on the Manifest format, please
 * see the
 * <a href="../../../../technotes/guides/jar/jar.html">
 * Manifest format specification</a>.
 *
 * @author  David Connelly
 * @see     Attributes
 * @since   1.2
 */
public class Manifest implements Cloneable {
    // manifest main attributes
    private Attributes attr = new Attributes();

    // manifest entries
    private Map<String, Attributes> entries = new HashMap<>();
 {code}

> Remove Maven version from pom.properties
> ----------------------------------------
>
>                 Key: MSHARED-800
>                 URL: https://issues.apache.org/jira/browse/MSHARED-800
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-archiver
>    Affects Versions: maven-archiver-3.3.0
>            Reporter: Hervé Boutemy
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: maven-archiver-3.4.0
>
>
> Currently, generated {{META-INF/maven/$\{groupId\}/$\{artifactId\}/pom.properties}} contains
{{#Created by Apache Maven $\{maven.version\}}}, which is not a reproducible value
> we should either remove the version, either use the same value as the {{Created-By}}
manifest entry as defined in MSHARED-799



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message