Commit cd3aec61 authored by Arnaud Saval's avatar Arnaud Saval
Browse files

WEBLAB-1037 prepare assembly for future triplestore implementation

WEBLAB-965, WEBLAB-971 use weblab theme and application management

git-svn-id: svn://svn.forge.objectweb.org/svnroot/weblab/trunk/WebLabApplications/bundle@3517 a803c184-d8de-4a0e-a52b-d3eef88212b6
parent 99b97ac2
......@@ -40,7 +40,7 @@ PREREQUISITE
You should have a jdk1.6.26 or greater installed in order to run the WebLab bundle,
JAVA_HOME must be declared and java must be available in your path
Ports 8080, 8005, 8009 (for Liferay), 8181, 8105, 8109 (for Tomcat) 8084, 7600, 7700, 7800, 7900 (for PEtALS) should be available on the computer that runs the WebLab
Your computer should have at least a 4 core processor and 4Go of RAM to run the WebLab bundle.
Your computer should have at least a 4 core processor and 6Go of RAM to run the WebLab bundle.
Remember that WebLab is a server application and not a desktop one.
INSTALLATION
......@@ -73,7 +73,3 @@ to learn how to develop services, portlets and chains.
You can also ask questions on the WebLab mailing list: user@weblab-project.org
NB: "data/toIndex" folder contains a file provided for testing purpose.
CAVEATS:
* If a request fails, user have to click on the reset filters button see http://jira.ow2.org/browse/WEBLAB-805
* Warc crawler from folder-listener has a garbage collector issue see http://jira.ow2.org/browse/WEBLAB-798
\ No newline at end of file
......@@ -5,7 +5,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../versions/pom.xml</relativePath>
</parent>
......
......@@ -7,7 +7,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
......
......@@ -7,7 +7,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
......
......@@ -9,7 +9,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"><beans> <bean id="servicesConfig" class="org.ow2.weblab.components.client.config.ServiceConfigMap"> <description> This is the main bean that will handle the weblab-client configuration. The principle is simple: for each service port (ie implementation of one generic interface) the configuration will have the implementation URI (in general linked to the application service taxonomy) and will link it to the actual URL to be used. </description> <constructor-arg> <map> <!-- For processing --> <entry key="http://weblab.ow2.org/core/1.2/services/resourceContainer#Load_Resource"> <value>http://localhost:8084/petals/services/weblab-repository</value> </entry> <entry key="http://weblab.ow2.org/core/1.2/services/analyser#SpellSuggestion"> <value>http://localhost:8084/petals/services/weblab-suggester</value> </entry> <entry key="http://weblab.ow2.org/core/1.2/services/chainManager#Manage"> <value>http://localhost:8084/petals/services/ChainManager</value> </entry> <!-- For retrieval --> <entry key="http://weblab.ow2.org/core/1.2/services/searcher#Full_Text_Search"> <value>http://localhost:8181/solr-engine/searcher</value> </entry> <entry key="http://weblab.ow2.org/core/1.2/services/analyser#FacetSuggestion"> <value>http://localhost:8181/solr-engine/rdfFacetSuggestion</value> </entry> </map> </constructor-arg> </bean></beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"><beans> <bean id="servicesConfig" class="org.ow2.weblab.components.client.config.ServiceConfigMap"> <description> This is the main bean that will handle the weblab-client configuration. The principle is simple: for each service port (ie implementation of one generic interface) the configuration will have the implementation URI (in general linked to the application service taxonomy) and will link it to the actual URL to be used. </description> <constructor-arg> <map> <!-- For processing --> <entry key="http://weblab.ow2.org/core/1.2/services/resourceContainer#Load_Resource"> <value>http://localhost:8084/petals/services/weblab-repository</value> </entry> <entry key="http://weblab.ow2.org/core/1.2/services/chainManager#Manage"> <value>http://localhost:8084/petals/services/ChainManager</value> </entry> <!-- For retrieval --> <entry key="http://weblab.ow2.org/core/1.2/services/searcher#Full_Text_Search"> <value>http://localhost:8181/solr-engine/searcher</value> </entry> <entry key="http://weblab.ow2.org/core/1.2/services/analyser#FacetSuggestion"> <value>http://localhost:8181/solr-engine/rdfFacetSuggestion</value> </entry> <entry key="http://weblab.ow2.org/core/1.2/services/analyser#SpellSuggestion"> <value>http://localhost:8181/solr-engine/spellSuggestion</value> </entry> </map> </constructor-arg> </bean></beans>
\ No newline at end of file
......
......@@ -4,7 +4,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
......
......@@ -4,7 +4,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
......
......@@ -4,7 +4,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../../versions/pom.xml</relativePath>
</parent>
......
......@@ -4,13 +4,12 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
<groupId>org.ow2.weblab.engines</groupId>
<artifactId>custom-petals-se-pojo</artifactId>
<version>4.0</version>
<packaging>pom</packaging>
<name>WebLab encompassed Custom Petals Se POJO.</name>
......
......@@ -4,7 +4,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
......
......@@ -4,12 +4,11 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>../../versions/pom.xml</relativePath>
</parent>
<artifactId>weblab-launcher</artifactId>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>WebLab Bundle launcher</name>
......
......@@ -284,7 +284,7 @@ public final class Constants {
public static final String TOMCAT_HOME = PathUtils.getWebLabHome("apache-tomcat-7.0.26");
public static final String LIFERAY_HOME = PathUtils.createPath(PathUtils.getWebLabHome("liferay-portal-6.1.0-ce-ga1"),"tomcat-7.0.23");
public static final String LIFERAY_HOME = PathUtils.createPath(PathUtils.getWebLabHome("liferay-portal-6.1.1-ce-ga2"),"tomcat-7.0.27");
/**
* Monitoring
......
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>${project.version}</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>scripts</directory>
<outputDirectory>.</outputDirectory>
<filtered>true</filtered>
<fileMode>0755</fileMode>
</fileSet>
<fileSet>
<directory>data</directory>
<outputDirectory>data</outputDirectory>
</fileSet>
<fileSet>
<directory>conf/tomcat/conf</directory>
<outputDirectory>${tomcat.path}/conf</outputDirectory>
</fileSet>
<fileSet>
<!-- add solr configuration in WebLab Bundle conf dir -->
<directory>conf/solr</directory>
<outputDirectory>conf/solr</outputDirectory>
</fileSet>
<fileSet>
<!-- add weblab-client/filter configuration in WebLab Bundle conf dir -->
<directory>conf/exposed-configuration</directory>
<outputDirectory>conf/exposed-configuration</outputDirectory>
</fileSet>
<!-- <fileSet>
Custom Liferay with installed portlets and WebLab messages
<directory>conf/liferay/data</directory>
<outputDirectory>${liferay.path}/data/</outputDirectory>
</fileSet> -->
<!-- <fileSet>
Remove this part if you want a "clean" Liferay
<directory>conf/liferay/html</directory>
<outputDirectory>${liferay.tomcat.path}/webapps/ROOT/html/</outputDirectory>
<fileMode>0755</fileMode>
</fileSet> -->
<!-- Put Commons libraries into Tomcat -->
<fileSet>
<directory>libraries/services/target/services-libs</directory>
<outputDirectory>${tomcat.path}/lib/</outputDirectory>
</fileSet>
<!-- Put Commons libraries into Liferay -->
<!-- <fileSet>
<directory>libraries/portlets/target/portlets-libs</directory>
<outputDirectory>${liferay.tomcat.path}/lib/ext</outputDirectory>
</fileSet> -->
<!-- Copy content manager libs into tika service libs directory -->
<fileSet>
<directory>libraries/content/target/content-libs</directory>
<outputDirectory>${tomcat.path}/webapps/tika-normaliser/WEB-INF/lib</outputDirectory>
</fileSet>
<fileSet>
<directory>libraries/content/target/content-libs</directory>
<outputDirectory>${tomcat.path}/webapps/folder-listener/WEB-INF/lib</outputDirectory>
</fileSet>
<fileSet>
<!-- copy jbi samples and cxf sample -->
<directory>conf/samples</directory>
<outputDirectory>conf/samples</outputDirectory>
</fileSet>
<fileSet>
<!-- copy configured cxf for folder-listener and simple-file-repository -->
<directory>conf/services</directory>
<outputDirectory>conf/services</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<!-- README file -->
<source>README.txt</source>
<filtered>true</filtered>
</file>
<file>
<!-- Content manager file -->
<source>conf/contentManager.properties</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<!-- Service registry -->
<source>conf/registry.xml</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<!-- Service registry -->
<source>conf/camelBeans.xml</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<!-- Copy WebLab Launcher -->
<source>libraries/weblab-launcher/target/weblab-launcher-${project.version}-jar-with-dependencies.jar</source>
<destName>weblab-launcher.jar</destName>
</file>
<!-- <file>
Support inter pages events in portal-ext.properties
<source>conf/liferay/portal-ext.properties</source>
<outputDirectory>${liferay.tomcat.path}/webapps/ROOT/WEB-INF/classes/</outputDirectory>
</file> -->
<!-- <file>
update env config for linux/mac
<source>conf/liferay/setenv.sh</source>
<outputDirectory>${liferay.tomcat.path}/bin/</outputDirectory>
</file>
<file>
update env config for windows
<source>conf/liferay/setenv.bat</source>
<outputDirectory>${liferay.tomcat.path}/bin/</outputDirectory>
</file> -->
<file>
<!-- Copy sa in the Petals install dir -->
<source>chain/target/sa-weblab-chain-distribution.zip</source>
<outputDirectory>${petals.path}/toInstall</outputDirectory>
</file>
<file>
<!-- Copy -->
<source>libraries/se-pojo/target/weblab-se-pojo-petals4.zip</source>
<destName>petals-se-pojo-weblab.zip</destName>
<outputDirectory>${petals.path}/toInstall</outputDirectory>
</file>
</files>
<dependencySets>
<!-- Extract servers -->
<dependencySet>
<includes>
<include>org.apache.tomcat:apache-tomcat:zip</include>
<include>com.liferay:liferay-portal-tomcat:zip</include>
<include>org.ow2.petals:petals-esb:zip</include>
</includes>
<outputFileNameMapping>${artifact.artifactId}</outputFileNameMapping>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<!-- Default configuration is overridden by the WebLab one -->
<!-- <exclude>${liferay.path}/conf/server.xml</exclude> -->
<!-- <exclude>${liferay.path}/data</exclude>
<exclude>${liferay.path}/data/hsql/lportal.script</exclude>
<exclude>${liferay.path}/data/hsql/lportal.properties</exclude>
<exclude>${liferay.path}/data/lucene/</exclude>
<exclude>${liferay.path}/data/jackrabbit/</exclude> -->
<!-- Disable default env -->
<exclude>${liferay.tomcat.path}/bin/setenv.sh</exclude>
<exclude>${liferay.tomcat.path}/bin/setenv.bat</exclude>
<!-- Custom template -->
<!-- <exclude>${liferay.tomcat.path}/webapps/ROOT/html/common/themes/top_js-ext.jspf</exclude>
<exclude>${liferay.tomcat.path}/webapps/ROOT/html/themes/classic/css/main.css</exclude>
<exclude>${liferay.tomcat.path}/webapps/ROOT/html/themes/classic/images/favicon.ico</exclude> -->
<!-- Remove JVM -->
<exclude>${liferay.tomcat.path}/jre1.6.0_20/</exclude>
<!-- Remove unused tomcat elements -->
<exclude>${tomcat.path}/conf/server.xml</exclude>
<exclude>${tomcat.path}/conf/tomcat-users.xml</exclude>
<exclude>${tomcat.path}/webapps/docs/</exclude>
<exclude>${tomcat.path}/webapps/examples/</exclude>
<exclude>${tomcat.path}/webapps/host-manager/</exclude>
<!-- Remove unused standard Liferay portlets -->
<exclude>${liferay.tomcat.path}/webapps/opensocial-portlet/</exclude>
<exclude>${liferay.tomcat.path}/webapps/mail-portlet/</exclude>
<exclude>${liferay.tomcat.path}/webapps/kaleo-web/</exclude>
<exclude>${liferay.tomcat.path}/webapps/chat-portlet/</exclude>
<exclude>${liferay.tomcat.path}/webapps/knowledge-base-portlet/</exclude>
<exclude>${liferay.tomcat.path}/webapps/social-networking-portlet/</exclude>
<exclude>${liferay.tomcat.path}/webapps/sevencogs-hook/</exclude>
<exclude>${liferay.tomcat.path}/webapps/sevencogs-theme/</exclude>
</excludes>
</unpackOptions>
<fileMode>0755</fileMode>
</dependencySet>
<!-- Put WebLab Portlet in Liferay server -->
<dependencySet>
<includes>
<include>org.ow2.weblab.portlets:*:war:*</include>
</includes>
<outputDirectory>${liferay.path}/deploy/</outputDirectory>
<outputFileNameMapping>${artifact.artifactId}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
<!-- Put WebLab Services in Tomcat server -->
<dependencySet>
<includes>
<!-- WebLab Services -->
<include>org.ow2.weblab.webservices:*:war:*</include>
<!-- Solr engine -->
<include>org.apache.solr:solr:war:*</include>
</includes>
<outputDirectory>${tomcat.path}/webapps/${artifact.artifactId}</outputDirectory>
<outputFileNameMapping>${artifact.artifactId}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
<!-- Remove common libraries already existing into the server -->
<unpack>true</unpack>
<unpackOptions>
<excludes>
<!-- Remove overrided service configuration files -->
<exclude>WEB-INF/classes/contentManager.properties</exclude>
<exclude>WEB-INF/classes/services_configuration.xml</exclude>
</excludes>
</unpackOptions>
</dependencySet>
<!-- Put BC SOAP in Petals server -->
<dependencySet>
<includes>
<include>org.ow2.petals:petals-bc-soap:zip:*</include>
<!-- <include>org.ow2.petals:petals-se-pojo:zip:*</include> -->
<include>org.ow2.weblab.engines:weblab-se-chain:zip:*</include>
</includes>
<outputDirectory>${petals.path}/toInstall</outputDirectory>
<outputFileNameMapping>${artifact.artifactId}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
</dependencySets>
</assembly>
\ No newline at end of file
......@@ -4,7 +4,7 @@
<parent>
<groupId>org.ow2.weblab.bundle</groupId>
<artifactId>versions</artifactId>
<version>1.2.6</version>
<version>2.0-SNAPSHOT</version>
<relativePath>versions/pom.xml</relativePath>
</parent>
......@@ -49,6 +49,12 @@
<version>${liferay.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>apache-servicemix</artifactId>
<version>4.5.1</version>
<type>tar.gz</type>
</dependency>
<!-- Services -->
<dependency>
......@@ -178,13 +184,65 @@
<version>${petals.se-weblab-chain.version}</version>
<type>zip</type>
</dependency>
<!-- Liferay WebLab Team -->
<dependency>
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>weblab-theme</artifactId>
<version>1.0-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>weblab-application-management-portlet</artifactId>
<version>0.1-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.ow2.weblab.portlets</groupId>
<artifactId>weblab-application-installer-portlet</artifactId>
<version>0.1-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
<profiles>
<profile>
<id>Petals</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptor>petals-assembly.xml</descriptor>
<finalName>WebLab-Bundle-Petals-${maven.build.timestamp}</finalName>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<build>
<finalName>WebLab-Bundle</finalName>
<plugins>
<plugin>
<profile>
<id>ServiceMix</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly-plugin.version}</version>
......@@ -197,14 +255,17 @@
</execution>
</executions>
<configuration>
<descriptor>assembly.xml</descriptor>
<finalName>WebLab-Bundle-${maven.build.timestamp}</finalName>
<descriptor>servicemix-assembly.xml</descriptor>
<finalName>WebLab-Bundle-ServiceMix-${maven.build.timestamp}</finalName>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</plugins>
</build>
<repositories>
<repository>
......
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>${project.version}</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>scripts</directory>
<outputDirectory>.</outputDirectory>
<filtered>true</filtered>
<fileMode>0755</fileMode>
</fileSet>
<fileSet>
<directory>data</directory>
<outputDirectory>data</outputDirectory>
</fileSet>
<fileSet>
<directory>conf/tomcat/conf</directory>
<outputDirectory>${tomcat.path}/conf</outputDirectory>
</fileSet>
<fileSet>
<!-- add solr configuration in WebLab Bundle conf dir -->
<directory>conf/solr</directory>
<outputDirectory>conf/solr</outputDirectory>
</fileSet>
<fileSet>
<!-- add weblab-client/filter configuration in WebLab Bundle conf dir -->
<directory>conf/exposed-configuration</directory>
<outputDirectory>conf/exposed-configuration</outputDirectory>
</fileSet>
<fileSet>
<!-- Custom Liferay with installed portlets and WebLab messages -->
<directory>conf/liferay/data</directory>
<outputDirectory>${liferay.path}/data/</outputDirectory>
</fileSet>
<fileSet>
<!-- Remove this part if you want a "clean" Liferay -->
<directory>conf/liferay/html</directory>
<outputDirectory>${liferay.tomcat.path}/webapps/ROOT/html/</outputDirectory>
<fileMode>0755</fileMode>
</fileSet>
<!-- Put Commons libraries into Tomcat -->
<fileSet>
<directory>libraries/services/target/services-libs</directory>
<outputDirectory>${tomcat.path}/lib/</outputDirectory>
</fileSet>
<!-- Put Commons libraries into Liferay -->
<fileSet>
<directory>libraries/portlets/target/portlets-libs</directory>
<outputDirectory>${liferay.tomcat.path}/lib/ext</outputDirectory>
</fileSet>
<!-- Copy content manager libs into tika service libs directory -->
<fileSet>
<directory>libraries/content/target/content-libs</directory>
<outputDirectory>${tomcat.path}/webapps/tika-normaliser/WEB-INF/lib</outputDirectory>
</fileSet>
<fileSet>
<directory>libraries/content/target/content-libs</directory>
<outputDirectory>${tomcat.path}/webapps/folder-listener/WEB-INF/lib</outputDirectory>
</fileSet>
<fileSet>
<!-- copy jbi samples and cxf sample -->
<directory>conf/samples</directory>
<outputDirectory>conf/samples</outputDirectory>
</fileSet>
<fileSet>
<!-- copy configured cxf for folder-listener and simple-file-repository -->
<directory>conf/services</directory>
<outputDirectory>conf/services</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<!-- README file -->
<source>README.txt</source>
<filtered>true</filtered>
</file>
<file>
<!-- Content manager file -->
<source>conf/contentManager.properties</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<!-- Service registry -->
<source>conf/registry.xml</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<!-- Service registry -->
<source>conf/camelBeans.xml</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<!-- Copy WebLab Launcher -->
<source>libraries/weblab-launcher/target/weblab-launcher-${project.version}-jar-with-dependencies.jar</source>
<destName>weblab-launcher.jar</destName>
</file>
<file>
<!-- Support inter pages events in portal-ext.properties -->
<source>conf/liferay/portal-ext.properties</source>
<outputDirectory>${liferay.tomcat.path}/webapps/ROOT/WEB-INF/classes/</outputDirectory>
</file>
<file>
<!-- update env config for linux/mac -->
<source>conf/liferay/setenv.sh</source>
<outputDirectory>${liferay.tomcat.path}/bin/</outputDirectory>
</file>
<file>
<!-- update env config for windows -->
<source>conf/liferay/setenv.bat</source>
<outputDirectory>${liferay.tomcat.path}/bin/</outputDirectory>
</file>
</files>
<dependencySets>
<!-- Extract servers -->
<dependencySet>
<includes>
<include>org.apache.tomcat:apache-tomcat:zip</include>
<include>com.liferay:liferay-portal-tomcat:zip</include>
<include>org.apache.servicemix:apache-servicemix:tar.gz</include>
</includes>
<outputFileNameMapping>${artifact.artifactId}</outputFileNameMapping>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<!-- Default configuration is overridden by the WebLab one -->
<!-- <exclude>${liferay.path}/conf/server.xml</exclude> -->
<exclude>${liferay.path}/data</exclude>
<exclude>${liferay.path}/data/hsql/lportal.script</exclude>
<exclude>${liferay.path}/data/hsql/lportal.properties</exclude>
<exclude>${liferay.path}/data/lucene/</exclude>
<exclude>${liferay.path}/data/jackrabbit/</exclude>
<!-- Disable default env -->
<exclude>${liferay.tomcat.path}/bin/setenv.sh</exclude>
<exclude>${liferay.tomcat.path}/bin/setenv.bat</exclude>
<!-- Custom template -->
<exclude>${liferay.tomcat.path}/webapps/ROOT/html/common/themes/top_js-ext.jspf</exclude>