You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/20 14:54:01 UTC

[jira] [Closed] (ARCHETYPE-489) Specify MANIFEST.MF for archetype project jar

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

Elliotte Rusty Harold closed ARCHETYPE-489.
-------------------------------------------

> Specify MANIFEST.MF for archetype project jar
> ---------------------------------------------
>
>                 Key: ARCHETYPE-489
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-489
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Archetypes
>    Affects Versions: 2.4
>         Environment: I don't think this request is specific to any particular environment.
>            Reporter: David Whitlock
>            Priority: Minor
>
> When I build a jar file with Maven, I like to augment the MANIFEST.MF with information such as the time that the artifact was built and the SCM revision and branch from which the artifact was built.  This comes in really handy when I need to determine whether or not a particular change made it into a jar file that has been deployed to my Maven repository.
> For jar and war projects, I use the <archive> section of the maven-jar-plugin and maven-war-plugin to configure the information I want in the MANIFEST.MF.  I was hoping to have similar information for the jar built from my maven-archetype project, but I see that the maven-archetype-plugin's jar goal does not generate a MANIFEST.MF file in the jar that it creates.
> http://maven.apache.org/archetype/maven-archetype-plugin/jar-mojo.html
> I request that an <archive> section be added to the archetype's jar goal that would offer the same manifest configuration capabilities as those in the apache-jar-plugin.
> https://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#archive
> Thank you very much,
> Dave



--
This message was sent by Atlassian Jira
(v8.3.4#803005)