Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (29 loc) · 2.4 KB

README.md

File metadata and controls

49 lines (29 loc) · 2.4 KB

Liferay Karaf compatibility layer (v 0.0.2)

The goal of this project it to make some of the cool Karaf's functionalities available in Liferay 7!

See "Wait, there is Gogo shell, why install another one?" for some ideas what you can do with it!

What does it add

Installation

WARNINIG: LIFERAY WILL SHUTDOWN IF ONE OF THE BUNDLES INSTALLED BY THIS EXTENSION IS LATER ON REMOVED!

One of the bundles delivered with this project (namely com.commsen.liferay.karaf.extensionbundle) is OSGi framework extension bundle! As per OSGi specification the framework

  • MAY need to restart when such bundle is installed (Liferay uses Equinox which does not)
  • MUST shutdown if such bundle is removed!

There are 2 options to get the artifact:

  • Build it form source by cloning this repo and running mvn package. Then look for assembly/target/liferay-karaf-<VERSION>.zip
  • Download it form releases page

The zip file contains bundles in osgi/modules folder and configuration files in osgi/configs.

Once you have liferay-karaf-<VERSION>.zip simply extract it in your <LIFERAY_7_HOME> folder! That's it!

Configuration

The following configuration files are installed by this extension: