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/11/04 11:03:00 UTC

[jira] [Commented] (MJAR-267) Propertize addDefaultImplementationEntries and addDefaultSpecificationEntries

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

Michael Osipov commented on MJAR-267:
-------------------------------------

This will require an ASM upgrade.

> Propertize addDefaultImplementationEntries and addDefaultSpecificationEntries
> -----------------------------------------------------------------------------
>
>                 Key: MJAR-267
>                 URL: https://issues.apache.org/jira/browse/MJAR-267
>             Project: Maven JAR Plugin
>          Issue Type: Sub-task
>            Reporter: Peter Rader
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The version-entries of MANIFEST.MF are important requirements to a couple of frameworks (eclipse, felix, liferay) and specifications (portlets, osgi) in order to load those modules in an consistent way.
> At the moment this deal-breaking configuration of the project is essential in order to create an valid portlet / osgi-modul. Without having the boolean-values as properties we encounter three downsides:
>  # Only using an indispensable dirty mid-size overhead of overriding the MJAR's modul-configuration we can force MJAR to create this essential MANIFEST.MF-entries.
>  # We are unable to early fail the build on missing MANIFEST.MF-version-entries. Even more worse the build will generate invalid osgi/portlets quitting "successfully".
>  # A CI server like Hudson or Jenkins is not able to flange the MANIFEST.MF-version-entries hindsightly.
> Suggestion:
> Be able to direct the generation of version informations like this:
> {quote}{{mvn clean install -Dmaven.addDefaultImplementationEntries=true -Dmaven.addDefaultSpecificationEntries=true}}
> {quote}



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