[
https://issues.apache.org/jira/browse/MJAR-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957072#comment-17957072
]
Matthias Bünger commented on MJAR-267:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-jar-plugin#410|https://github.com/apache/maven-jar-plugin/issues/410].
Please visit the GitHub issue to view further activity, add comments, or
subscribe to receive notifications.
> Propertize addDefaultImplementationEntries and addDefaultSpecificationEntries
> -----------------------------------------------------------------------------
>
> Key: MJAR-267
> URL: https://issues.apache.org/jira/browse/MJAR-267
> Project: Maven JAR Plugin (Moved to GitHub Issues)
> 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.20.10#820010)