You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/02/06 13:55:00 UTC

[jira] [Issue Comment Deleted] (MSHARED-800) Remove Maven version from pom.properties

     [ https://issues.apache.org/jira/browse/MSHARED-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MSHARED-800:
-----------------------------------
    Comment: was deleted

(was: {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)