You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by pi...@apache.org on 2011/11/18 22:42:11 UTC
svn commit: r1203860 [3/4] - in /incubator/lcf/branches/CONNECTORS-287: ./
connectors/alfresco/ connectors/alfresco/connector/
connectors/alfresco/connector/src/ connectors/alfresco/connector/src/main/
connectors/alfresco/connector/src/main/java/ conne...
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml Fri Nov 18 21:42:08 2011
@@ -0,0 +1,767 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+<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">
+ <!--
+ | Prerequisites: Mysql installed. Just run mvn clean install -Prun to run Alfresco
+ | How it works:
+ | By default the project is overlayed to the alfresco war which depends upon and deployed as a WAR (local development and testing purposes)
+ | Available properties:
+ | -Denv ==> toggles src/main/properties/<env>/alfresco-global.properties files (default local)
+ | -DrestoreVersion=<restoreVersion> - toggles profile "restore" in order to include tools/export/<restoreVersion>/restore/*.acp files in alfresco/extension/restore (default: no restore)
+ | -Dcustomization.name=<customizationName> - name of the jar artifact containing classes and resources for this extension |
+ | -Dwebapp.name=<extensionName> - name of the WAR artifact to be built (default: mcf-tests-alfresco-{version}.jar )
+ | DEPRECATED: -Denterprise - Includes LDAP configuration as defined in alfresco-global.properties
+ -->
+ <!--
+ <parent>
+ <groupId>org.apache.manifoldcf</groupId>
+ <artifactId>mcf-alfresco-test</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.manifoldcf</groupId>
+ <artifactId>mcf-alfresco-war-test</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+
+ <name>ManifoldCF - Test - Alfresco WAR</name>
+ <packaging>war</packaging>
+ <url></url>
+ <description>Alfresco WAR builder</description>
+ <!-- oOo SINGLE POINT OF CONFIGURATION FOR COMMON ALFRESCO PROPERTIES oOo -->
+ <properties>
+ <!-- Alfresco version/edition selection -->
+ <alfresco.version>3.4.a</alfresco.version>
+ <alfresco.edition>community</alfresco.edition>
+ <!-- Build environment ==> src/main/properties/<env>/alfresco-global.properties is loaded -->
+ <env>local</env>
+ <!-- Webapp packaged name -->
+ <webapp.name>alfresco</webapp.name>
+ <!--
+ | Empty log dir creates file alfresco.log in the current root folder.
+ | You can also specify a meaningful log directory for the server (add a trailing slash, e.g. '/var/log/alfresco/' )
+ | Jetty embedded run logs by default in ${project.basedir}/alfresco.log
+ -->
+ <log.dir></log.dir>
+ <!--
+ | By default the src/main/properties/local/alfresco-global.properties uses the property "alfresco.data.location" to specify where
+ | alf_data gets created. For env=local you can use this shortcut property below, which gets filtered in the alfresco-global.properties file
+ | DEFAULT: alf_data_jetty relativel to run dir
+ -->
+ <!-- For env=local DB is also configurable here. Of course keep in sync these two values otherwise you'll get integrity errors. Default Mysql-->
+ <alfresco.data.location>./alf_data_jetty</alfresco.data.location>
+ <alfresco.db.name>alf_jetty</alfresco.db.name>
+ <alfresco.db.url>jdbc:h2:${alfresco.data.location}/h2_data/${alfresco.db.name}</alfresco.db.url>
+ <alfresco.db.driver>org.h2.Driver</alfresco.db.driver>
+ <alfresco.db.username>alfresco</alfresco.db.username>
+ <alfresco.db.password>alfresco</alfresco.db.password>
+ <alfresco.db.hibernate.dialect>org.hibernate.dialect.H2Dialect</alfresco.db.hibernate.dialect>
+
+
+ <!-- H2 configuration: To be fixed <alfresco.db.url>jdbc:h2:${alfresco.data.location}/h2_data/${alfresco.db.name}</alfresco.db.url> -->
+
+ <!-- DEPRECATED -->
+ <desktop.action.package>org.alfresco.filesys.repo.desk</desktop.action.package>
+ <!--
+ | Uncomment this property together with the <scm> section downwards
+ |
+ | <svn.url> https://mycompany.com/repos/my-test-project </svn.url>
+ -->
+ <!--
+ | Uncomment this property together with the maven-release-plugin <plugin><configuration><tagBase/></configuration></plugin> section downwards
+ | <svn.tags.url>${svn.url}/tags</svn.tags.url>
+ -->
+ <!--
+ These redundancies are due to filtering issues of Maven. See here
+ http://maven.apache.org/plugins/maven-site-plugin/usage.html
+ -->
+ <site_pom_description>${project.description}</site_pom_description>
+ <site_pom_url>${project.organization.url}</site_pom_url>
+ <site_pom_groupId>${project.groupId}</site_pom_groupId>
+ <site_pom_artifactId>${project.artifactId}</site_pom_artifactId>
+ <site_pom_version>${project.version}</site_pom_version>
+ <site_tags_url>${svn.tags.url}</site_tags_url>
+ <site_site_url>${site.url}</site_site_url>
+ </properties>
+ <!--
+ | Alfresco Community dependencies are generally available in ss-public
+ repo. | FIXME: Alfresco enterprise dependencies are only available on
+ SS repo ATM. Alfresco *needs* to deliver their artifacts on (at least)
+ partner repos |
+ -->
+ <repositories>
+ <repository>
+ <id>alfresco-public</id>
+ <url>http://maven.alfresco.com/nexus/content/groups/public</url>
+ </repository>
+ <repository>
+ <id>alfresco-public-snapshots</id>
+ <url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>alfresco-maven-repo</id>
+ <url>http://maven.alfresco.com/nexus/content/groups/enterprise-snapshots</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>alfresco-public</id>
+ <url>http://maven.alfresco.com/nexus/content/groups/public</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>alfresco-public-snapshots</id>
+ <url>http://maven.alfresco.com/nexus/content/groups/public-snapshots</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <!--
+ | Uncomment SCM definitions in order to have mvn release:perform to actually tag the code <scm>
+ | <developerConnection>scm:svn:${svn.url}</developerConnection>
+ | <url>${svn.url}</url> </scm>
+ -->
+
+ <!-- Alfresco dependencies -->
+ <dependencies>
+ <!--
+ | Alfresco Dependencies
+ | NB: These files are not publicly available. Please vote for Alfresco to release them if you care :)
+ | Jboss alfresco build (e.g. no log4j.properties and fix for myFaces)
+ -->
+ <dependency>
+ <groupId>org.alfresco</groupId>
+ <artifactId>alfresco</artifactId>
+ <version>${alfresco.version}</version>
+ <type>war</type>
+ <classifier>${alfresco.edition}</classifier>
+ </dependency>
+ <!--
+ All provided libs (as contained in the war dependency) but useful for
+ development (e.g. IDE configuration)
+ -->
+
+ <dependency>
+ <groupId>it.sk.alfresco</groupId>
+ <artifactId>h2-support</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.158</version>
+ </dependency>
+ <dependency>
+ <groupId>org.alfresco</groupId>
+ <artifactId>alfresco-web-client</artifactId>
+ <version>${alfresco.version}</version>
+ <scope>provided</scope>
+ <classifier>${alfresco.edition}</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.alfresco</groupId>
+ <artifactId>alfresco-core</artifactId>
+ <version>${alfresco.version}</version>
+ <scope>provided</scope>
+ <classifier>${alfresco.edition}</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.alfresco</groupId>
+ <artifactId>alfresco-repository</artifactId>
+ <version>${alfresco.version}</version>
+ <scope>provided</scope>
+ <classifier>${alfresco.edition}</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.alfresco</groupId>
+ <artifactId>alfresco-remote-api</artifactId>
+ <version>${alfresco.version}</version>
+ <scope>provided</scope>
+ <classifier>${alfresco.edition}</classifier>
+ </dependency>
+
+ <!--
+ Sample of AMP dependency that will be properly uncompressed in the
+ Alfresco WAR (no more need for AMP): this can be either an AMP built
+ with maven-amp-plugin and deployed on an accessible maven repo or a
+ generally available AMP previously deployed to a repo using mvn
+ deploy:deploy-file
+
+ <dependency>
+ <scope>runtime</scope>
+ <type>amp</type>
+ <artifactId>recordsmanagement</artifactId>
+ <version>${alfresco.version}</version>
+ <groupId>org.alfresco</groupId>
+ </dependency>
+ -->
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>${webapp.name}</finalName>
+ <!--
+ In certain cases we do build time filtering with the single sourcing
+ alfresco-global.properties
+ -->
+ <filters>
+ <filter>src/main/properties/${env}/alfresco-global.properties</filter>
+ </filters>
+ <!--
+ Default profile to build as an Alfresco extension - resources are
+ copied into classpath
+ -->
+ <resources>
+ <!-- By default also no content is restored -->
+ <resource>
+ <directory>src/main/resources</directory>
+ <excludes>
+ <exclude>**/restore-context.xml</exclude>
+ <exclude>**/ldap-*.xml</exclude>
+ </excludes>
+ </resource>
+ <!--
+ | Include application properties file in classpath: this allows Spring contexts to have customization properties available at
+ | classpath:alfresco-global.properties
+ -->
+ <resource>
+ <directory>src/main/properties/${env}</directory>
+ <includes>
+ <include>alfresco-global.properties</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>log4j.properties</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ <resource>
+ <directory>${project.basedir}/tools/mysql</directory>
+ <includes>
+ <include>*.sql</include>
+ </includes>
+ <filtering>true</filtering>
+ <targetPath>tools/mysql</targetPath>
+ </resource>
+ </resources>
+
+ <plugins>
+ <!-- Needed for cross OS compatibility in acp/zip encoding -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <!--
+ useful for eclipse project configuration. Run "mvn eclipse:eclipse"
+ and hit "F5" on the project
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.8</version>
+ <!--
+ <configuration> <downloadSources>true</downloadSources>
+ </configuration>
+ -->
+ </plugin>
+ <!-- Add documentation locales here -->
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <locales>en</locales>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <id>unpack-amps</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>amp</includeTypes>
+ <outputDirectory>${project.build.directory}/${webapp.name}</outputDirectory>
+ <excludes>META*</excludes>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <!--
+ This is required to be re-defined explicitly at plugin level as
+ otherwise the 'amp' extension unArchiver won't be available to the
+ maven-dependency-plugin
+ -->
+ <dependency>
+ <groupId>org.alfresco.maven.plugin</groupId>
+ <artifactId>maven-amp-plugin</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1.1</version>
+ <configuration>
+ <archiveClasses>false</archiveClasses>
+ <webappDirectory>target/${webapp.name}</webappDirectory>
+ <warSourceExcludes>tools/**</warSourceExcludes>
+ <webResources>
+
+ </webResources>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>1.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <!-- useEditMode>true</useEditMode> -->
+ <dryRun>true</dryRun>
+ <preparationGoals>clean package</preparationGoals>
+ <goals>install deploy cargo:undeploy cargo:deploy
+ site:deploy</goals>
+ <!-- <tagBase>${svn.tags.url}</tagBase> -->
+ </configuration>
+ </plugin>
+ <!--
+ Adds support for books PDF and RTF generation for single sourced
+ documentation
+ -->
+ <plugin>
+ <groupId>org.apache.maven.doxia</groupId>
+ <artifactId>doxia-maven-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>render-books</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <!--
+ | Target books dir: within the site so it can be linked and
+ deployed | TODO: Use ${project.target.dir} or so similar property
+ instead of | hard wiring 'target'
+ -->
+ <generatedDocs>target/site/books</generatedDocs>
+ <books>
+ <book>
+ <directory>src/site</directory>
+ <descriptor>src/books/manual.xml</descriptor>
+ <formats>
+ <format>
+ <id>xdoc</id>
+ </format>
+ <format>
+ <id>pdf</id>
+ </format>
+ <format>
+ <id>rtf</id>
+ </format>
+ </formats>
+ </book>
+ </books>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <!-- Targeting 1.6 -->
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.9</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.8</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jxr-maven-plugin</artifactId>
+ <version>2.0-beta-1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clover-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <!--
+ Enable this plugin only after setting SCM connection, otherwise mvn
+ site will fail <plugin> <groupId>org.codehaus.mojo</groupId>
+ <artifactId>changelog-maven-plugin</artifactId> </plugin>
+ -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ </plugins>
+ </reporting>
+ <!--
+ | Configured to deploy on SS public repository ATM. | You'd need a
+ valid uid/pwd in our repo |
+ -->
+ <distributionManagement>
+ <!--
+ | | Enable this repo in case of publicly redistributable artifacts
+ <repository> <id>yourcompany</id>
+ <url>scp://yourcompany/var/maven2</url> </repository>
+ <distributionManagement> <site> <id>yourcompany-site</id>
+ <url>scp://yourcompany/var/maven2-sites</url> </site>
+ -->
+ <!--
+ | | Enable this repo in case of non publicly redistributable
+ artifacts (Sourcesense private repositories via webdav) |
+ -->
+ </distributionManagement>
+
+ <!--
+ | Build Profiles
+ -->
+ <profiles>
+ <!--
+ | Profile to automatically restore export files committed under |
+ "tools/export/<restoreVersion>/export_*.[acp,xml]" and the
+ restore-context.xml. | Gets automatically activated specifiying a
+ value for the property | restoreVersion which maps to the name of the
+ folder. | NB: In order this to work you *MUST* export your full repo
+ with "export" package name
+ -->
+ <profile>
+ <id>restore</id>
+ <activation>
+ <property>
+ <name>restoreVersion</name>
+ </property>
+ </activation>
+ <build>
+ <defaultGoal>package</defaultGoal>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/restore-*.xml</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>tools/export/${restoreVersion}</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <targetPath>alfresco/extension/restore</targetPath>
+ </resource>
+ </resources>
+ </build>
+ </profile>
+ <!--
+ Profile for deploying (only locally , due to
+ http://jira.codehaus.org/browse/CARGO-416) on jboss. | | FIXME: Add
+ <dependencies> override in order to have jboss specific
+ alfresco-*-jboss.war (e.g no log4j.properties and log4j jar) | being
+ substituted as a depenendency, and avoid log4j classCasts |
+ -->
+ <profile>
+ <id>jboss</id>
+ <!--
+ | By default the src/main/properties/local/alfresco-global.properties
+ uses the property "alfresco.data.location" to specify where |
+ alf_data gets created and "alfresco.db.name" for the database name.
+ | For local jboss deployment default creation dir (alf_data) is
+ under appserver $JBOSS_HOME/bin directory (as location is specified
+ relatively to | run dir) | | Empty log dir creates file alfresco.log
+ in appserver default dir. You can also specify a meaningful log
+ directory for the server | (add a trailing slash, e.g.
+ '/var/log/alfresco/' ) | | NB: Remember to grant appropriate
+ permissions on database you specify here by running the script found
+ in tools/mysql/[jetty/tomcat/jboss] | sql scripts (after editing
+ them), or run those you find in
+ target/classes/tools/[db_remove,db_setup].sql which are already
+ filtered according to | ' alfresco.db.name ' property. |
+ -->
+ <properties>
+ <alfresco.data.location>./alf_data</alfresco.data.location>
+ <alfresco.db.name>alf_jboss</alfresco.db.name>
+ <log.dir></log.dir>
+ </properties>
+ <build>
+ <defaultGoal>cargo:deploy</defaultGoal>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <excludes>
+ <exclude>**/restore-context.xml</exclude>
+ <!--<exclude>**/ldap-*.xml</exclude>-->
+ </excludes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include></include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <configuration>
+ <container>
+ <containerId>jboss4x</containerId>
+ <type>remote</type>
+ </container>
+ <configuration>
+ <type>runtime</type>
+ <properties>
+ <cargo.servlet.port>8080</cargo.servlet.port>
+ </properties>
+ </configuration>
+ <deployer>
+ <type>remote</type>
+ <deployables>
+ <deployable>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <type>war</type>
+ </deployable>
+ </deployables>
+ </deployer>
+ </configuration>
+ </plugin>
+ <!-- log4j.properties is excluded from source and dependencies -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1.1</version>
+ <configuration>
+ <archiveClasses>false</archiveClasses>
+ <webappDirectory>target/${webapp.name}</webappDirectory>
+ <dependentWarExcludes>**/log4j.properties,**/lib/log4j*.jar,log4j.properties</dependentWarExcludes>
+ <warSourceExcludes>**/log4j.properties,WEB-INF/classes/tools</warSourceExcludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!--
+ | Profile for deploying on tomcat 5.x
+ |
+ |
+ -->
+ <profile>
+ <id>tomcat</id>
+ <!--
+ | By default the src/main/properties/local/alfresco-global.properties
+ uses the property "alfresco.data.location" to specify where |
+ alf_data gets created. | For tomcat deployment default creation dir
+ (alf_data) is under appserver $CATALINA_HOME/bin directory (as
+ location is specified relatively to | run dir) and db is
+ configurable likewhise. | Empty log dir creates file alfresco.log in
+ appserver default dir. You can also specify a meaningful log
+ directory for the server | (add a trailing slash, e.g.
+ '/var/log/alfresco/' ) | | NB: Remember to grant appropriate
+ permissions on database you specify here by running the script found
+ in tools/mysql/[jetty/tomcat/jboss] | mysql scripts (properly
+ edited) or those you find in target/tools/[db_remove,db_setup].sql
+ which are already filtered according to | ' alfresco.db.name '
+ property |
+ -->
+ <properties>
+ <alfresco.data.location>./alf_data</alfresco.data.location>
+ <alfresco.db.name>alf_tomcat</alfresco.db.name>
+ <log.dir></log.dir>
+ </properties>
+ <build>
+ <defaultGoal>package</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <configuration>
+ <container>
+ <containerId>tomcat5x</containerId>
+ <type>remote</type>
+ </container>
+ <!-- Configure here your Tomcat server manager credentials -->
+ <configuration>
+ <type>runtime</type>
+ <properties>
+ <cargo.remote.username>tomcat</cargo.remote.username>
+ <cargo.remote.password>tomcat</cargo.remote.password>
+ <cargo.servlet.port>8080</cargo.servlet.port>
+ </properties>
+ </configuration>
+ <deployer>
+ <type>remote</type>
+ <deployables>
+ <deployable>
+ <artifactId>${project.artifactId}</artifactId>
+ <type>war</type>
+ <properties>
+ <context>/${webapp.name}</context>
+ </properties>
+ </deployable>
+ </deployables>
+ </deployer>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!-- -Pinitialize : boostraps the db (only to be used the 1st run) -->
+ <profile>
+ <id>initialize</id>
+ <build>
+ <plugins>
+ <!-- Cleans the alf_data folder and logs-->
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>clean-execution</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${alfresco.data.location}</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </fileset>
+ <fileset>
+ <directory>.</directory>
+ <includes>
+ <include>**/*.log</include>
+ <include>*.log</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>run</id>
+ <build>
+ <resources>
+ <resource>
+ <directory>jetty</directory>
+ <includes>
+ <include>jetty-env.xml</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <webResources>
+ <resource>
+ <directory>jetty</directory>
+ <targetPath>WEB-INF</targetPath>
+ <filtering>true</filtering>
+ </resource>
+ </webResources>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.21</version>
+ <executions>
+ <!-- Runs jetty when 'integration-test' phase is called -->
+ <execution>
+ <id>it</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>run-exploded</goal>
+ </goals>
+ <configuration>
+ <contextPath>/${webapp.name}</contextPath>
+ <webApp>${project.build.directory}/${webapp.name}</webApp>
+ <scanIntervalSeconds>10</scanIntervalSeconds>
+ <connectors>
+ <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <port>8080</port>
+ <maxIdleTime>60000</maxIdleTime>
+ </connector>
+ </connectors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.18</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+</project>
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt Fri Nov 18 21:42:08 2011
@@ -0,0 +1,43 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+Ant/m2 runtime properties management
+------------------------------------
+
+Both build systems will comply to the following convention for properties:
+
+- if -Denv=<yourEnv> property is specified at build time properties will be
+ looked up in folder
+
+ src/main/properties/<yourEnv>/application.properties
+
+ and copied in the classpath under
+
+ alfresco/extension/application.properties
+
+- if no "env" system property is specified env=local default value will be used
+
+
+Buildtime properties management - Note for Ant Users:
+-----------------------------------------------------
+Here you can also configure buildtime properties which will be loaded in ant
+build context with the same aforementioned convention.
+This is done for tomcat ATM.
+
+Buildtime properties management - Note for Maven Users:
+-----------------------------------------------------
+You should configure your buildtime properties as suggested by the maven
+cascading build properties system, i.e. externalizing them from the project
+by the means of settings.xml file.
\ No newline at end of file
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/README-properties.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties Fri Nov 18 21:42:08 2011
@@ -0,0 +1,143 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+
+# RUN TIME PROPERTIES
+# -------------------
+
+# Sample custom content and index data location
+# This will create alf_data Relative to appserver run folder
+# In this default file we take the property from the POM (for compatbility with local jetty and jboss deployments) but it can also be edited here.
+dir.root=${alfresco.data.location}
+# Allowed values are: NONE, AUTO, FULL
+index.recovery.mode=NONE
+
+# Fail or not when there are node integrity checker errors
+integrity.failOnError=true
+
+# database connection properties
+# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)
+
+db.driver=${alfresco.db.driver}
+db.url=${alfresco.db.url}
+db.username=${alfresco.db.username}
+db.password=${alfresco.db.password}
+
+db.pool.initial=10
+db.pool.max=100
+
+# Dialect is autodetected starting from 3.2
+# H2 dialect
+hibernate.dialect=${alfresco.db.hibernate.dialect}
+
+
+# Property to control whether schema updates are performed automatically.
+# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
+# there are also auto-generated update scripts that will need to be executed. After
+# upgrading to a new version, this can be disabled.
+#db.schema.update=true
+
+
+# File servers related properties
+# For local builds we disable CIFS and FTP. Edit the following property to reenable them
+smb.server.enabled=false
+smb.server.name=CFS_SHARE_LOCAL
+smb.server.domain=mycompany.com
+smb.server.bindto=127.0.0.1
+smb.tcpip.port=1445
+netbios.session.port=1139
+netbios.name.port=1137
+netbios.datagram.port=1138
+ftp.server.enables=false
+ftp.port=1121
+ftp.authenticator=alfresco
+
+# This properties file is used to configure LDAP authentication
+# NB: The following LDAP related properties are read only in case -Denteprise mvn build property is specified
+# Wheter to allow silent deletion of users in the Alfresco UI (note: users will be then resynced in the next synchronization)
+ldap.authentication.allowDeleteUser=true
+# LDAP JNDI provider
+ldap.authentication.provider=com.sun.jndi.ldap.LdapCtxFactory
+#Â Url and protocol for LDAP server to carry authentication against
+ldap.authentication.url=ldap://ldap.mycompany.com:636
+#Â can be (simple, ssl)
+ldap.authentication.protcol=ssl
+# Credentials with full access to the directoty used
+ldap.authentication.adminUser=ou=Admin,ou=Services,o=Company
+ldap.authentication.adminPassword=secret
+#Â Wheter to allow unauthenticated guest a read only login
+ldap.authentication.guestLogin.allowed=false
+# Wheter users can be created on the fly upon successful external (e.g. LDAP) authentication. Useful to avoid user synchronization in case just uid and pwd are needed for a user
+server.transaction.allow-writes=true
+# Wheter user names are case sensitive
+user.name.caseSensitive=true
+# Wheter the synchronization process has to process duplicated users (e.g. synced users and users coming from the sync)
+personService.processDuplicates=true
+# Which action to take when processin duplicates. One of: LEAVE, SPLIT, DELETE
+personService.duplicateMode=DELETE
+#Â Which of the users (in case of SPLIT duplicates policy) should be considered valid
+personService.lastIsBest=true
+# Wheter auto created users should be considered when processing duplicates
+personService.includeAutoCreated=true
+# The query to find the people to import
+ldap.synchronisation.personQuery=(objectclass=inetOrgPerson)
+# The search base of the query to find people to import
+ldap.synchronisation.personSearchBase=ou=Identities,ou=mycompany,o=com
+# The attribute name on people objects found in LDAP to use as the uid in Alfresco
+ldap.synchronisation.userIdAttributeName=cn
+# The attribute on person objects in LDAP to map to the first name property in Alfresco
+ldap.synchronisation.userFirstNameAttributeName=givenName
+# The attribute on person objects in LDAP to map to the last name property in Alfresco
+ldap.synchronisation.userLastNameAttributeName=sn
+# The attribute on person objects in LDAP to map to the email property in Alfresco
+ldap.synchronisation.userEmailAttributeName=cn
+# The attribute on person objects in LDAP to map to the organizational id property in Alfresco
+ldap.synchronisation.userOrganizationalIdAttributeName=maildomain
+# The default home folder provider to use for people created via LDAP import
+ldap.synchronisation.defaultHomeFolderProvider=companyHomeFolderProvider
+# The query to find group objects
+ldap.synchronisation.groupQuery=(objectclass=AlfrescoGroup)
+# The search base to use to find group objects
+ldap.synchronisation.groupSearchBase=ou=AlfrescoGroups,ou=mycompany,o=com
+# The attribute on LDAP group objects to map to the gid property in Alfrecso
+ldap.synchronisation.groupIdAttributeName=cn
+# The group type in LDAP
+ldap.synchronisation.groupType=AlfrescoGroup
+# The person type in LDAP
+ldap.synchronisation.personType=inetOrgPerson
+# The attribute in LDAP on group objects that defines the DN for its members
+ldap.synchronisation.groupMemberAttributeName=member
+# The cron expression defining when people imports should take place (e.g. every evening at 22:00 hours)
+ldap.synchronisation.import.person.cron=0 0 22 * * ?
+# The cron expression defining when group imports should take place (e.g. every evening at 21:45 hours)
+ldap.synchronisation.import.group.cron=0 45 21 * * ?
+# Should all groups be cleared out at import time?
+# - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import)
+# - setting this to true means old group definitions will be tidied up.
+ldap.synchronisation.import.group.clearAllChildren=false
+
+# BUILD TIME PROPERTIES
+# ---------------------
+
+# NB: This group of properties is only used by ant for tomcat deployment, and may not be maintained.
+# Appserver to deploy to (tomcat) - used only by ant ATM.
+# Use $M2_HOME/conf/settings.xml (or ~/.m2/settings.xml) for maven2 appservers username/password
+appserver.dir=/your/appserver/dir
+appserver.host=localhost
+appserver.manager.url=http://${appserver.host}:8080/manager
+appserver.username=tomcat
+appserver.password=tomcat
+
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/properties/local/alfresco-global.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties Fri Nov 18 21:42:08 2011
@@ -0,0 +1,142 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Customized alfresco log location
+# Set root logger level to error
+log4j.rootLogger=error, Console, File
+
+
+# All outputs currently set to be a ConsoleAppender.
+log4j.appender.Console=org.apache.log4j.ConsoleAppender
+log4j.appender.Console.layout=org.apache.log4j.PatternLayout
+log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{3}] %m%n
+#log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n
+
+log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.File.File=${log.dir}alfresco.log
+log4j.appender.File.Append=true
+log4j.appender.File.DatePattern='.'yyyy-MM-dd
+log4j.appender.File.layout=org.apache.log4j.PatternLayout
+log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n
+
+#log4j.appender.file=org.apache.log4j.FileAppender
+#log4j.appender.file.File=hibernate.log
+#log4j.appender.file.layout=org.apache.log4j.PatternLayout
+#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
+
+
+log4j.logger.org.alfresco.repo.model.filefolder=info
+
+# Hibernate
+log4j.logger.org.hibernate=error
+log4j.logger.org.hibernate.util.JDBCExceptionReporter=fatal
+log4j.logger.org.hibernate.event.def.AbstractFlushingEventListener=fatal
+#log4j.logger.org.hibernate.cache.EhCacheProvider=warn
+log4j.logger.org.hibernate.type=warn
+# log4j.logger.org.hibernate.persister.collection=DEBUG
+
+# Spring
+log4j.logger.org.springframework=warn
+
+# Axis/WSS4J
+log4j.logger.org.apache.axis=info
+log4j.logger.org.apache.ws=info
+
+# MyFaces
+log4j.logger.org.apache.myfaces.util.DebugUtils=info
+log4j.logger.org.apache.myfaces.el.VariableResolverImpl=error
+log4j.logger.org.apache.myfaces.application.jsp.JspViewHandlerImpl=error
+log4j.logger.org.apache.myfaces.taglib=error
+
+# log prepared statement cache activity log4j.logger.org.hibernate.ps.PreparedStatementCache=info
+
+# Alfresco
+log4j.logger.org.alfresco=error
+log4j.logger.org.alfresco.repo.avm=info
+log4j.logger.org.alfresco.config=info
+log4j.logger.org.alfresco.sample=info
+log4j.logger.org.alfresco.web=info
+log4j.logger.org.alfresco.web.scripts=warn
+#log4j.logger.org.alfresco.web.ui.repo.component.UIActions=debug
+#log4j.logger.org.alfresco.web.ui.repo.tag.PageTag=debug
+#log4j.logger.org.alfresco.web.bean.clipboard=debug
+log4j.logger.org.alfresco.repo.webservice=info
+log4j.logger.org.alfresco.service.descriptor.DescriptorService=info
+#log4j.logger.org.alfresco.repo.importer.ImporterBootstrap=info
+#log4j.logger.org.alfresco.web.ui.common.Utils=info
+log4j.logger.org.alfresco.repo.admin.patch.PatchExecuter=info
+log4j.logger.org.alfresco.repo.module.ModuleServiceImpl=info
+log4j.logger.org.alfresco.repo.domain.schema.SchemaBootstrap=info
+log4j.logger.org.alfresco.repo.admin.ConfigurationChecker=info
+log4j.logger.org.alfresco.repo.node.index.FullIndexRecoveryComponent=info
+log4j.logger.org.alfresco.util.OpenOfficeConnectionTester=warn
+log4j.logger.org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl=warn
+#log4j.logger.org.alfresco.web.app.DebugPhaseListener=debug
+#log4j.logger.org.alfresco.repo.cache.EhCacheTracerJob=debug
+#log4j.logger.org.alfresco.repo.search.Indexer=debug
+#log4j.logger.org.alfresco.repo.workflow=info
+#log4j.logger.org.alfresco.repo.jscript=DEBUG
+log4j.logger.org.alfresco.repo.jscript.AlfrescoRhinoScriptDebugger=off
+
+# CIFS server debugging
+#log4j.logger.org.alfresco.smb.protocol=debug
+#log4j.logger.org.alfresco.smb.protocol.auth=debug
+#log4j.logger.org.alfresco.acegi=debug
+
+# FTP server debugging
+#log4j.logger.org.alfresco.ftp.protocol=debug
+#log4j.logger.org.alfresco.ftp.server=debug
+
+# WebDAV debugging
+#log4j.logger.org.alfresco.webdav.protocol=debug
+
+# NTLM servlet filters
+#log4j.logger.org.alfresco.web.app.servlet.NTLMAuthenticationFilter=debug
+#log4j.logger.org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter=debug
+
+# Integrity message threshold - if 'failOnViolation' is off, then WARNINGS are generated
+log4j.logger.org.alfresco.repo.node.integrity=ERROR
+
+# New indexer debugging
+#log4j.logger.org.alfresco.repo.search.impl.lucene.index=DEBUG
+
+# Audit debugging
+# log4j.logger.org.alfresco.repo.audit=DEBUG
+# log4j.logger.org.alfresco.repo.audit.model=DEBUG
+
+# Turn off Spring remoting warnings that should really be info or debug.
+log4j.logger.org.springframework.remoting.support=error
+
+# Templating debugging
+# log4j.logger.org.alfresco.web.forms=debug
+# log4j.logger.org.chiba.xml.xforms=debug
+
+# Property sheet and modelling debugging
+# change to error to hide the warnings about missing properties and associations
+log4j.logger.alfresco.missingProperties=warn
+log4j.logger.org.alfresco.web.ui.repo.component.property.UIChildAssociation=warn
+log4j.logger.org.alfresco.web.ui.repo.component.property.UIAssociation=warn
+#log4j.logger.org.alfresco.web.ui.repo.component.property=debug
+#log4j.logger.org.alfresco.repo.dictionary.DictionaryDAO=info
+
+
+# Virtualization Server Registry
+#log4j.logger.org.alfresco.mbeans.VirtServerRegistry=debug
+
+# Link Validation debugging
+#log4j.logger.org.alfresco.linkvalidation.LinkValidationServiceImpl=debug
+#log4j.logger.org.alfresco.linkvalidation.LinkValidationStoreCallbackHandler=debug
+
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/META-INF/MANIFEST.MF?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/META-INF/MANIFEST.MF (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/META-INF/MANIFEST.MF Fri Nov 18 21:42:08 2011
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt Fri Nov 18 21:42:08 2011
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+Readme for the WEB-INF overlay procedures
+-----------------------------------------
+- Note:
+This folder contents will be overlayed to the ${webapp.name}/WEB-INF folder. So for example a web.xml file put into this folder will overwrite (not "override" by classpath or inheritance rules) the existing web.xml.
+This is useful for example for configuring external SSO authentication filters (e.g. NTLMAuthenticationFilter)
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/README-WEB-INF.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml Fri Nov 18 21:42:08 2011
@@ -0,0 +1,33 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+ <!--
+ |
+ | Insert here custom faces configurations like:
+ | <managed-bean>
+ | <navigation-rule>
+ |
+ | This is loaded as part of the alfresco convention over configuration
+ -->
+
+
+</faces-config>
+
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/alfresco-war/src/main/webapp/WEB-INF/faces-config-custom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml?rev=1203860&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml (added)
+++ incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml Fri Nov 18 21:42:08 2011
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<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/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>org.apache.manifoldcf</groupId>
+ <artifactId>mcf-tests</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <developers>
+ <developer>
+ <name>Piergiorgio Lucidi</name>
+ <organization>Sourcesense</organization>
+ <organizationUrl>http://www.sourcesense.com</organizationUrl>
+ <url>http://www.open4dev.com</url>
+ </developer>
+ </developers>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ </properties>
+
+ <artifactId>mcf-alfresco-test</artifactId>
+ <name>ManifoldCF - Test - Alfresco</name>
+ <packaging>pom</packaging>
+
+ <!--
+ <modules>
+ <module>alfresco-war</module>
+ </modules>
+ -->
+
+ <build>
+ <defaultGoal>integration-test</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-war</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>target/dependency</outputDirectory>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-alfresco-war-test</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ <type>war</type>
+ <overWrite>false</overWrite>
+ <destFileName>alfresco.war</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-api-service</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ <overWrite>false</overWrite>
+ </artifactItem>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-authority-service</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ <overWrite>false</overWrite>
+ </artifactItem>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-crawler-ui</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ <overWrite>false</overWrite>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.10</version>
+ <configuration>
+ <systemPropertyVariables>
+ <crawlerWarPath>../dependency/mcf-crawler-ui-${project.version}.war</crawlerWarPath>
+ <authorityserviceWarPath>../dependency/mcf-authority-service-${project.version}.war</authorityserviceWarPath>
+ <apiWarPath>../dependency/mcf-api-service-${project.version}.war</apiWarPath>
+ <alfrescoServerWarPath>../dependency/alfresco.war</alfrescoServerWarPath>
+ </systemPropertyVariables>
+ <excludes>
+ <exclude>**/*Postgresql*.java</exclude>
+ </excludes>
+ <forkMode>always</forkMode>
+ <workingDirectory>target/test-output</workingDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>integration-test</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>verify</id>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <!-- Internal dependencies -->
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.158</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-alfresco-connector</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-api-service</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-authority-service</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-crawler-ui</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-jettyrunner</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-agents</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-pull-agent</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-cmis-connector</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-nulloutput-connector</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>${jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-naming</artifactId>
+ <version>${jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-plus</artifactId>
+ <version>${jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jsp-api-2.1</artifactId>
+ <version>6.1.14</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jsp-2.1-glassfish</artifactId>
+ <version>2.1.v20091210</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-core</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-agents</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>mcf-pull-agent</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${postgresql.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>${derby.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient-mcf</artifactId>
+ <version>3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.5</version>
+ </dependency>
+
+ <!-- Apache Chemistry dependencies -->
+ <dependency>
+ <groupId>org.apache.chemistry.opencmis</groupId>
+ <artifactId>chemistry-opencmis-client-impl</artifactId>
+ <version>0.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.6</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/lcf/branches/CONNECTORS-287/tests/alfresco/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml