[
https://issues.apache.org/jira/browse/MINDEXER-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931506#comment-15931506
]
ASF GitHub Bot commented on MINDEXER-97:
----------------------------------------
GitHub user sesuncedu opened a pull request:
https://github.com/apache/maven-indexer/pull/13
MINDEXER-97: Index/Store Extra OSGI Headers
* Add "Provide-Capability", "Require-Capability", and "Fragment-Host" to
the set of indexed+stored manifest headers.
* Calculate, index, and store SHA-256 checksum for bundle artifacts
(required by the osgi repository service).
* Add tests for new fields to OsgiArtifactIndexCreatorTest
* Add new fields to index-reader library.
* Bump serialization version UID
This PR does not index/store the DynamicImport-Package header, as this
header is not used during resolution.
Note that calculation of the SHA-256 checksum requires performing a
sequential read of the entire artifact.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sesuncedu/maven-indexer MINDEXER-97
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-indexer/pull/13.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #13
----
commit 579b413ef0d3ad396421b8e30606135e65ea9f8d
Author: Simon Spero <[email protected]>
Date: 2017-03-19T00:06:29Z
MINDEXER-97.
Add "Provide-Capability", "Require-Capability", and "Fragment-Host" to the
set of indexed+stored manifest headers.
Calculate, index, and store SHA-256 checksum for bundle artifacts (required
by the osgi repository service).
Add tests for new fields to OsgiArtifactIndexCreatorTest
Add new fields to index-reader library.
commit 3bb34360f9c62f0567777d4c50aca9f48d053dd4
Author: Simon Spero <[email protected]>
Date: 2017-03-19T00:10:54Z
Bump serialization version UID
----
> Add OSGi 5.0 MANIFEST headers to OsgiArtifactIndexCreator
> ---------------------------------------------------------
>
> Key: MINDEXER-97
> URL: https://issues.apache.org/jira/browse/MINDEXER-97
> Project: Maven Indexer
> Issue Type: Improvement
> Reporter: Balazs Zsoldos
>
> It would be extremely useful if the following MANIFEST headers were added to
> the index:
> - Require-Capability
> - Provide-Capability
> - DynamicImport-Package
> Especially the first two would be necessary to be able to build up a database
> that helps finding dependencies for unsatisfied bundles.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)