An open API service indexing awesome lists of open source software.

https://github.com/mimacom/liferay-db-setup-core

Library that allows to setup a number of Liferay Portal artifacts in the DB. It uses xml configuration and Liferay APIs to add all configured artifacts.
https://github.com/mimacom/liferay-db-setup-core

liferay-apis liferay-portal xml-configuration

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Liferay Portal DB Setup core [![Build Status](https://travis-ci.org/mimacom/liferay-db-setup-core.svg?branch=master)](https://travis-ci.org/mimacom/liferay-db-setup-core) [![Gitter chat](https://badges.gitter.im/mimacom/liferay-db-setup-core.png)](https://gitter.im/mimacom/liferay-db-setup-core)
Library that allows to setup a number of Liferay artifacts in the DB. It uses xml configuration and Liferay APIs to add all configured artifacts.

# Usage
## 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.
1. Install Maven 3.x.
1. cd db-setup-core
1. run mvn clean install
1. grab jar from db-setup-core/target or use as a dependency in your maven project
```xml

com.mimacom.liferay
db-setup-core
2.1.2

```

## Integration
Run com.mimacom.liferay.portal.setup.LiferaySetup#setup(java.io.File) with following xml configuration:
```xml


test@liferay.com







```
When adding the library to a liferay OSGI module it will be necessary to specify the dependency into the bnd file:
```java
Include-Resource: @db-setup-core-2.1.2.jar
```
the name of the file is the same that you will find inside the maven/gradle repository.

# Compatibility
* Version 2.x.x: Liferay Portal DXP/7.0.x
* Version 1.x.x: Liferay Portal EE/CE 6.2.x