File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 1- # liferay-db-setup- core
1+ # Liferay Portal DB Setup core
22Library that allows to setup a number of Liferay artifacts in the DB. It uses xml configuration and Liferay APIs to add all configured artifacts.
3+
4+ # Usage
5+ ## Setup
6+ We didn't publish binary yet so you'll need to build the jar yourself. Here are the steps to do it:
7+
8+ 1 . Download sources.
9+ 1 . Install Maven 3.x.
10+ 1 . cd <code >db-setup-core</code >
11+ 1 . run <code >mvn clean install</code >
12+ 1 . grab jar from <code >db-setup-core/target</code > or use as a dependency in your maven project
13+ ``` xml
14+ <dependency >
15+ <groupId >com.mimacom.liferay</groupId >
16+ <artifactId >db-setup-core</artifactId >
17+ <version >1.0.0</version >
18+ </dependency >
19+ ```
20+
21+ ## Integration
22+ Run <code >com.mimacom.liferay.portal.setup.LiferaySetup#setup(java.io.File)</code > with following xml configuration:
23+ ``` xml
24+ <?xml version =" 1.0" encoding =" UTF-8" ?>
25+ <setup xmlns =" http://www.mimacom.com/liferay/setup" >
26+ <configuration >
27+ <runasuser >test@liferay.com</runasuser >
28+ </configuration >
29+ </setup >
30+ ```
31+
32+ # Compatibility
33+ Liferay Portal CE/EE 6.2.x
You can’t perform that action at this time.
0 commit comments