--- /dev/null
+This folder contains the Nuxeo modules
+These modules are required to run the nuxeo framework
--- /dev/null
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.nuxeo.ecm.distribution</groupId>
+ <artifactId>nuxeo-distribution</artifactId>
+ <version>6.0</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>nuxeo-distribution-tomcat</artifactId>
+ <packaging>pom</packaging>
+ <name>Nuxeo Tomcat Build</name>
+ <description>Package Nuxeo with Tomcat</description>
+
+ <properties>
+ <!-- Use a Nuxeo lightened Tomcat -->
+ <tomcat.classifier>light</tomcat.classifier>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.nuxeo.runtime</groupId>
+ <artifactId>nuxeo-runtime-jtajca</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.nuxeo.runtime</groupId>
+ <artifactId>nuxeo-runtime-datasource</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.nuxeo.lib.runtime</groupId>
+ <artifactId>nuxeo-runtime-tomcat-adapter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.nuxeo.ecm.core</groupId>
+ <artifactId>nuxeo-core-management-jtajca</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.nuxeo.ecm.platform</groupId>
+ <artifactId>nuxeo-platform-ws-sun-jaxws</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.elasticsearch</groupId>
+ <artifactId>elasticsearch</artifactId>
+ </dependency>
+ <!-- Marketplace packages embedded in Tomcat distribution -->
+ <dependency>
+ <groupId>org.nuxeo.ecm.distribution</groupId>
+ <artifactId>nuxeo-marketplace-dm</artifactId>
+ <type>zip</type>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>all</id>
+ <!-- profile for building all classifiers -->
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ </profile>
+ <profile>
+ <id>nuxeo-coreserver</id>
+ <!-- profile for building Tomcat with only Nuxeo CoreServer -->
+ <properties>
+ <product.name>coreserver</product.name>
+ </properties>
+ </profile>
+ <profile>
+ <id>nuxeo-cap</id>
+ <properties>
+ <product.name>cap</product.name>
+ </properties>
+ <!-- profile for building Tomcat with only Nuxeo CAP -->
+ </profile>
+ <profile>
+ <id>sdk</id>
+ <!-- profile for building SDK distributions (they are always built
+ when release profile is activated) -->
+ </profile>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.tattletale</groupId>
+ <artifactId>tattletale-maven</artifactId>
+ <configuration>
+ <source>${project.build.directory}/nuxeo-cap-${project.version}-tomcat/nxserver/lib
+ </source>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.nuxeo.build</groupId>
+ <artifactId>ant-assembly-maven-plugin</artifactId>
+ <configuration>
+ <buildFiles>
+ <buildFile>${basedir}/src/main/assemble/assembly.xml
+ </buildFile>
+ </buildFiles>
+ </configuration>
+ <executions>
+ <execution>
+ <id>packaging</id>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>
+
+<!--
+ This is the configuration the CollectionSpace services used when it was deployed on the JBoss AS. However,
+ it still works (and is required) in our Apache Tomcat deployment.
+
+ 12/8/2011 - We need to confirm with Nuxeo that this is correct configuration for their LoginComponent.
+ -->
+<component name="org.nuxeo.ecm.platform.login.LoginConfig"
+ version="1.0">
+ <documentation>
+ Login modules used on JBoss
+ @author Bogdan Stefanescu (bs@nuxeo.com)
+ </documentation>
+
+
+ <extension target="org.nuxeo.runtime.LoginComponent" point="domains">
+
+ <domain name="nuxeo-system-login">
+ <login-module code="org.nuxeo.runtime.api.login.SystemLoginModule"
+ flag="required" />
+ <login-module code="org.nuxeo.ecm.core.api.local.ClientLoginModule"
+ flag="required">
+ <option name="password-stacking">true</option>
+ <option name="multi-threaded">true</option>
+ </login-module>
+ </domain>
+
+
+ <domain name="nuxeo-webengine">
+ <login-module code="org.nuxeo.ecm.platform.login.NuxeoLoginModule"
+ flag="required">
+ <option name="principalClassName">org.nuxeo.ecm.platform.login.NuxeoPrincipal
+ </option>
+ <option name="useUserIdentificationInfoCB">true</option>
+ </login-module>
+ <!--login-module code="org.nuxeo.ecm.core.api.local.ClientLoginModule"
+ flag="required"> <option name="password-stacking">true</option> <option name="multi-threaded">true</option>
+ </login-module -->
+ </domain>
+
+ </extension>
+
+
+</component>
--- /dev/null
+NuxeoContainer.autoactivation=true
--- /dev/null
+# application instance config
+org.nuxeo.ecm.instance.host=localhost
+
+# runtime remoting config
+org.nuxeo.runtime.server.locator=socket://0.0.0.0:62474/?datatype=nuxeo
+org.nuxeo.runtime.server.enabled=false
+org.nuxeo.runtime.server.host=${org.nuxeo.ecm.instance.host}
+
+# streaming config
+org.nuxeo.runtime.streaming.isServer=false
+org.nuxeo.runtime.streaming.serverLocator=socket://${org.nuxeo.ecm.instance.host}:62474/?datatype=nuxeo
+
+# runtime management config
+org.nuxeo.runtime.management.exist=false
+org.nuxeo.runtime.management.serverRmiPort=2100
+
+# needed for the JNDI auto configuration of clients
+# you need to change this if using JNDI through HTTP
+nuxeo-client-jndi.java.naming.provider.url=jnp://%s:%s
+nuxeo-client-jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+nuxeo-client-jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+
+# for email attachment, to decode the encoded(utf) filenames.
+mail.mime.decodefilename=true
+
+# LiveEdit configuration detection (client/server/both)
+org.nuxeo.ecm.platform.liveedit.config=client
+
+# Uncomment to activate Nuxeo Runtime REST API for Management
+# accessible via http://server:port/nuxeo/site/server/html on JBoss
+#org.nuxeo.runtime.rest.management=true
+
+# size limit to use the specific download servlet for big files (use SI or IEC prefix)
+#org.nuxeo.big.file.size.limit=5Mi
+
+###
+# Older settings that were used with CollectionSpace and Nuxeo v5.5
+###
+
+#org.nuxeo.ecm.instance.name=Nuxeo 5.5
+#org.nuxeo.ecm.instance.description=Nuxeo ECM server
+
+# product config
+#org.nuxeo.ecm.product.name=Nuxeo 5.5
+#org.nuxeo.ecm.product.version=5.5
+
+# which sample to run
+#org.nuxeo.ecm.sample.class=org.nuxeo.ecm.sample.streaming.StreamingExample
+
+# avoid initializing nuxeo relations at startup (for faster startup)
+#org.nuxeo.ecm.platform.relations.initOnStartup=false
+
+# context path of the application
+#org.nuxeo.ecm.contextPath=/nuxeo
+
--- /dev/null
+<?xml version="1.0"?>
+<!--
+ This is a prototype/template file for Nuxeo repository configuration files.
+ For each tenant that has their own repository specified in the CollectionSpace
+ tenant bindings file, we will create a corresponding Nuxeo repository config-
+ uration file. You won't have to change the value for most of these elements
+ and attributes because they will be set when CollectionSpace starts.
+
+ *** NOTE *** One value you may want to change is the 'binaryStore' path which is the location
+ that Nuxeo places binary files like images and PDF documents. Be sure to read the comment to
+ the right of the <binaryStore> element below.
+-->
+
+<!-- *** WARNING *** Don't manually change the values here unless you know exactly what you're doing. -->
+
+<!-- Values in the following elements are primarily added during execution -->
+<!-- of the 'ant deploy' command, within the Services source code tree. -->
+<!-- (Several values are also added during system startup, into repository-specific -->
+<!-- 'clones' of this prototype configuration file, as noted below.) -->
+
+<component name="config:default-repository">
+ <extension target="org.nuxeo.ecm.core.repository.RepositoryService"
+ point="repository">
+ <repository name="default"
+ factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory">
+ <repository name="default">
+ <pool minPoolSize="0" maxPoolSize="20"
+ blockingTimeoutMillis="100" idleTimeoutMinutes="10" />
+ <clustering enabled="false" delay="1000" />
+ <binaryStore path="" /> <!-- Default value will be repository/database name. Can be partial or full system path. Partial path is relative to Nuxeo's data dir -->
+ <xa-datasource>@XA_DATASOURCE@</xa-datasource> <!-- The transactional datasource for Nuxeo -->
+ <property name="ServerName">@DB_SERVER_HOSTNAME@</property>
+ <property name="DatabaseName"></property> <!-- The value of the database name element is inserted during system startup. -->
+ <property name="JDBCOptions">@DB_JDBC_OPTIONS@</property>
+ <property name="PortNumber">@DB_PORT@</property>
+ <property name="User">@NUXEO_USER@</property>
+ <property name="Password">@NUXEO_PW@</property>
+ </repository>
+ </repository>
+ </extension>
+
+ <extension target="org.nuxeo.ecm.core.api.repository.RepositoryManager"
+ point="repositories">
+ <documentation>The default repository</documentation>
+ <repository name="default" label="Default Repository" />
+ </extension>
+</component>
--- /dev/null
+org.nuxeo.app.bundles=bundles/*:plugins/*
--- /dev/null
+This folder contains static libraries used by nuxeo components
--- /dev/null
+This folder contains the external modules on top of the nuxeo platform
\ No newline at end of file
--- /dev/null
+org.nuxeo.launcher.libdirs=lib