Skip to content

Library that creates Liferay Portal data (permissions, roles, sites, pages etc.) from XML declaration.

License

Notifications You must be signed in to change notification settings

fabalint/liferay-db-setup-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liferay Portal DB Setup core Build Status Gitter chat Quality Gate Status

Library that allows to setup a number of Liferay artifacts in the DB. It uses xml and Liferay APIs to add all configured artifacts.

Motivation

We use Liferay as an application building platform.

In the approach pages, portlets, content and permissions serve as a building block of an application with consistent portal UX. It's all easy and fun unless you need to move through environments or track changes. Which you always need to track. Suddenly it becomes a problem that a very important part of your application resides in database.

The library helps to fix what need to be fixed across environments while allowing to use as much of a portal flexibility as needed.

Usage

Liferay Portal requirements

The code is compatible with Liferay Portal DXP/7.x. We maintain a separate branch for Liferay Portal EE/CE 6.2.x.

Maven project setup

We didn't publish binary yet so you'll need to build the jar yourself. Here are the steps to do it:

  1. Download sources.
  2. Install Maven 3.x.
  3. run mvn clean install
  4. grab jar from ./target or use as a dependency in your maven project
<dependency>
    <groupId>com.ableneo.liferay</groupId>
    <