<?xml version="1.0" encoding="iso-8859-1"?>
<!--

    Copyright (C) 2003-2013 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 3 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<gatein-resources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_resources_1_3 http://www.gatein.org/xml/ns/gatein_resources_1_3" 
    xmlns="http://www.gatein.org/xml/ns/gatein_resources_1_3">

  <portlet-skin>
    <application-name>marketplace-extension-webapp</application-name>
    <portlet-name>AddOnPortlet</portlet-name>
    <skin-name>Default</skin-name>
    <css-path>/skin/css/add-ons.css</css-path>
    <css-priority>1</css-priority>
  </portlet-skin>

  <portlet-skin>
    <application-name>marketplace-extension-webapp</application-name>
    <portlet-name>AddonSearchPortlet</portlet-name>
    <skin-name>Default</skin-name>
    <css-path>/skin/css/add-ons.css</css-path>
    <css-priority>1</css-priority>
  </portlet-skin>

  <portlet>
    <name>AddOnPortlet</name>
    <module>
     <depends>
       <module>portalControl</module>
     </depends>
     </module>     
  </portlet>
  <portlet>
    <name>AddOnSearchPortlet</name>
     <module>
   		<depends>
    		<module>addons</module>
    	</depends>
    	<depends>
      		<module>portalControl</module>
    	</depends>   
    </module>  
  </portlet>

  <module>
    <name>addons</name>
    <script>
      <path>/javascript/exo/add-on/UIAddons.js</path>
    </script>
    <depends>
      <module>ecm-bootstrap</module>
    </depends>
    <depends>
      <module>jquery</module>
      <as>gj</as>
    </depends>
    <depends>
      <module>uiPopupWindow</module>
    </depends>    
    <depends>
      <module>wcm-utils</module>
    </depends>
  </module>
</gatein-resources>
