jahia-dev-osgi-module

Define and enforce conventions for building Jahia OSGi/Java bundle modules.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Jahia/formidable --skill jahia-dev-osgi-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jahia-dev-osgi-module
Source: https://github.com/Jahia/formidable/tree/main/.agents/skills/jahia-dev-osgi-module
Command: npx skills add https://github.com/Jahia/formidable --skill jahia-dev-osgi-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies conventions and invariants for building Jahia OSGi/Java bundle modules (Jahia 8.2). It covers module scaffolding, DS patterns, JCR integration, packaging, and best practices to ensure consistent, maintainable modules.

Core Features & Use Cases

  • Defines hard invariants for module structure, packaging, and dependencies.
  • Provides DS service patterns, configuration guidelines, and JCR access best practices.
  • Guides scaffolding, testing, and deployment workflows for Jahia 8.2 modules.

Quick Start

Follow the scaffold steps to generate a new Jahia OSGi module using the jahia-module-archetype and apply the defined invariants from this skill.

Frequently Asked Questions about jahia-dev-osgi-module

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the required conventions for building a Jahia OSGi module?

Jahia OSGi module conventions dictate strict invariants for structure, packaging, and dependencies. They define DS service patterns, configuration guidelines, and JCR access practices to ensure consistent, maintainable Java bundle modules.

How do I scaffold a new Jahia OSGi module with Maven?

Scaffold a Jahia OSGi module using the jahia-module-archetype to generate the Maven project structure. Apply defined invariants for DS service wiring, JCR integration, and packaging to ensure consistent module scaffolding.

Does this convention guide support Jahia 8.2 deployment scenarios?

Yes, these conventions are explicitly designed for Jahia 8.2 deployment scenarios. They codify hard invariants, DS service patterns, and packaging rules tailored for building and deploying Java bundle modules on the Jahia 8.2 platform.

What is the best way to wire DS services in a Jahia module?

The best way to wire DS services in a Jahia module is by applying the specified DS annotations and service patterns. These conventions ensure proper configuration governance and maintainable OSGi service integration within the Java bundle.

When do I need specific packaging rules for Jahia OSGi bundles?

You need specific packaging rules for Jahia OSGi bundles when preparing modules for Jahia 8.2 deployment. Following these hard invariants ensures correct dependency management, JCR integration, and consistent module behavior across environments.