liferay-build-tools

Community

Configure and build Liferay modules fast.

AuthorJoaoPedroAmaral
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Liferay module development requires precise Gradle configuration and BND metadata to produce correct OSGi bundles, and mis-scoped dependencies or missing Export-Package/Bundle-SymbolicName values commonly break builds or runtime resolution. This Skill centralizes best-practice patterns for build.gradle, bnd.bnd, dependency scoping, and essential Gradle/blade commands to reduce build errors and deployment friction.

Core Features & Use Cases

  • Gradle patterns for standard modules, service-builder modules, and REST-builder modules including proper compileOnly usage for portal APIs.
  • bnd.bnd templates and property guidance such as Bundle-SymbolicName, Export-Package, Import-Package, Web-ContextPath, and Liferay-Require-SchemaVersion.
  • Commands & workflows for build, clean, buildService, buildREST, deploy, and creating distributable bundles; guidance on workspace settings and Jakarta EE toggles.
  • Use Case: Prepare a -api and -service pair with correct Export-Package and Liferay-Require-SchemaVersion so generated service code compiles and deploys without classloader or package export issues.

Quick Start

Generate a build.gradle and bnd.bnd for a Liferay -api and -service module named com.acme.my.module with compileOnly release.portal.api, Export-Package for the API module, and Liferay-Require-SchemaVersion set for the service module.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: liferay-build-tools
Download link: https://github.com/JoaoPedroAmaral/backBarbearia/archive/main.zip#liferay-build-tools

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.