An OSGi bundle repository that can be used by BND tools to distribute required bundles for the GridAPPS-D platform.
dependencies/- OSGi bundles organized by artifact (e.g.,org.apache.jena.osgi/,activemq/)cnf/releaserepo/- Release repository for versioned bundlesindex.xml/index.xml.gz- OSGi R5 repository index (auto-generated)generate-repository-index.sh- Script to regenerate repository indexes
-
Copy your bundle JAR to the appropriate directory:
cp mybundle-1.0.0.jar dependencies/com.example.mybundle/
-
Regenerate the repository index:
./generate-repository-index.sh
-
Commit and push your changes:
git add dependencies/com.example.mybundle/ git add index.xml index.xml.gz git commit -m "Add mybundle 1.0.0" git push
The repository index will be automatically regenerated via GitHub Actions when JAR files are pushed to the master branch.
The generate-repository-index.sh script:
- Detects new/modified JAR files via git
- Extracts OSGi metadata from changed bundles only
- Preserves existing entries for unchanged bundles
- Generates OSGi R5 repository index (
index.xml) - Creates compressed index (
index.xml.gz) - Updates Maven metadata for each artifact
Force full regeneration:
./generate-repository-index.sh --forceSee INDEXING.md for detailed documentation.
- Index Generation Guide - Detailed documentation for the index generation script
- Wiki - Further documentation