marketplace-extension
=====================

eXo Market Place extension helps you to manage your own catalog of Apps or Add-ons, as a real Market Place, on top of eXo Platform.<br>
Compatibility: From eXo Platform 4.1

* Market place home: list all add-ons, allow search, filter and sort
<img src="resource/ScreenShots/Search_addon.png" alt="Addon home page">

* Post new Add-on form:
<img src="resource/ScreenShots/Add_new_addon.png" alt="Add new addon">

* Add-on detail:
<img src="resource/ScreenShots/Addon_detail.png" alt="Addon detail">

Build
---------------
Simply build it with :

	mvn clean install


Deploy to eXo
---------------
After build with this add-on:
* Copy file marketplace-extension/webapp/target/marketplace-extension-webapp.war into Platform-Tomcat/webapps
* Copy file marketplace-extension/lib/target/marketplace-extension-lib-1.0.x-SNAPSHOT.jar and marketplace-extension/config/target/marketplace-extension-config-1.0.x-SNAPSHOT.jar into Platform-Tomcat/lib
* Start tomcat.
* Note: three files above are also available in marketplace-extension/bundle/target/marketplace-extension-bundle-1.0.x-SNAPSHOT.zip

Configuration
---------------
This add-on allows set-up configuration to send notification emails to Administrator. These emails detail about add-on information just after submitted the addon.
This addon allows set-up place and site to store the data of add-ons. If you don't want to change it, you should keep them by default.
There are 2 ways to set-up this add-on:
* Update "AddOnPortlet" Portlet preference in file file add-on-center-webapp.war/WEB-INF/portlet.xml before starting tomcat
* After started tomat, go to Create New Addon page, edit this page, edit "AddOnPortlet" portlet preference:<br>
  <img src="resource/ScreenShots/AddOnPortletPreference.png" alt="portletPreference">
  <br>
The configuration fields are:<br>
adminEmail: the Administrator email address will recevice notifications email.<br>
fromEmail: sender email address.<br>
fromName: email sender name.<br>
emailsubject: email subject.<br>
folderPath: place to store Add-ons data (you should keep it by default).<br>
siteName: Portal site to store Addons data (you should keep it by default).
