exo-jcr SVN: r1828 - jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal.
by do-not-reply@jboss.org
Author: nzamosenchuk
Date: 2010-02-16 07:15:56 -0500 (Tue, 16 Feb 2010)
New Revision: 1828
Added:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml
Removed:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml
Log:
EXOJCR-434: renamed JBossCache configuration templates in src/main/resources
Copied: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml (from rev 1805, jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml)
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml 2010-02-16 12:15:56 UTC (rev 1828)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+
+ <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+
+ <!-- Eviction configuration -->
+ <eviction wakeUpInterval="5000">
+ <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
+ actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
+ eventQueueSize="1000000">
+ <property name="maxNodes" value="1000000" />
+ <property name="timeToLive" value="120000" />
+ </default>
+ </eviction>
+</jbosscache>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml (from rev 1805, jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml)
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml 2010-02-16 12:15:56 UTC (rev 1828)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+ <!-- Configure the TransactionManager -->
+ <transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />
+
+ <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+ <!-- Eviction configuration -->
+ <eviction wakeUpInterval="5000">
+ <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" eventQueueSize="1000000">
+ <property name="maxNodes" value="10000" />
+ <property name="minTimeToLive" value="60000" />
+ </default>
+ </eviction>
+
+</jbosscache>
Property changes on: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml (from rev 1805, jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml)
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml 2010-02-16 12:15:56 UTC (rev 1828)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+
+ <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false" />
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+
+ <loaders passivation="false" shared="true">
+ <preload>
+ <node fqn="/" />
+ </preload>
+ <!--
+ For another cache-loader class you should use another template with
+ cache-loader specific parameters
+ -->
+ <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="false"
+ ignoreModifications="false" purgeOnStartup="false">
+ <properties>
+ cache.jdbc.table.name=${jbosscache-cl-cache.jdbc.table.name}
+ cache.jdbc.table.create=${jbosscache-cl-cache.jdbc.table.create}
+ cache.jdbc.table.drop=${jbosscache-cl-cache.jdbc.table.drop}
+ cache.jdbc.table.primarykey=${jbosscache-cl-cache.jdbc.table.primarykey}
+ cache.jdbc.fqn.column=${jbosscache-cl-cache.jdbc.fqn.column}
+ cache.jdbc.fqn.type=${jbosscache-cl-cache.jdbc.fqn.type}
+ cache.jdbc.node.column=${jbosscache-cl-cache.jdbc.node.column}
+ cache.jdbc.node.type=${jbosscache-cl-cache.jdbc.node.type}
+ cache.jdbc.parent.column=${jbosscache-cl-cache.jdbc.parent.column}
+ cache.jdbc.datasource=${jbosscache-cl-cache.jdbc.datasource}
+ </properties>
+ </loader>
+
+ </loaders>
+
+</jbosscache>
Property changes on: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml 2010-02-15 16:56:01 UTC (rev 1827)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml 2010-02-16 12:15:56 UTC (rev 1828)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
-
- <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
- lockAcquisitionTimeout="20000" />
-
- <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
- <stateRetrieval timeout="20000" fetchInMemoryState="false" />
- <jgroupsConfig multiplexerStack="jcr.stack" />
- <sync />
- </clustering>
-
- <!-- Eviction configuration -->
- <eviction wakeUpInterval="5000">
- <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
- actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
- eventQueueSize="1000000">
- <property name="maxNodes" value="1000000" />
- <property name="timeToLive" value="120000" />
- </default>
- </eviction>
-</jbosscache>
\ No newline at end of file
Deleted: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml 2010-02-15 16:56:01 UTC (rev 1827)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml 2010-02-16 12:15:56 UTC (rev 1828)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
-
- <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
- lockAcquisitionTimeout="20000" />
- <!-- Configure the TransactionManager -->
- <transaction transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup" />
-
- <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
- <stateRetrieval timeout="20000" fetchInMemoryState="false" />
- <jgroupsConfig multiplexerStack="jcr.stack" />
- <sync />
- </clustering>
- <!-- Eviction configuration -->
- <eviction wakeUpInterval="5000">
- <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" eventQueueSize="1000000">
- <property name="maxNodes" value="10000" />
- <property name="minTimeToLive" value="60000" />
- </default>
- </eviction>
-
-</jbosscache>
Deleted: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml 2010-02-15 16:56:01 UTC (rev 1827)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml 2010-02-16 12:15:56 UTC (rev 1828)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.1">
-
- <locking useLockStriping="false" concurrencyLevel="50000" lockParentForChildInsertRemove="false"
- lockAcquisitionTimeout="20000" />
-
- <clustering mode="replication" clusterName="${jbosscache-cluster-name}">
- <stateRetrieval timeout="20000" fetchInMemoryState="false" />
- <jgroupsConfig multiplexerStack="jcr.stack" />
- <sync />
- </clustering>
-
- <loaders passivation="false" shared="true">
- <preload>
- <node fqn="/" />
- </preload>
- <!--
- For another cache-loader class you should use another template with
- cache-loader specific parameters
- -->
- <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="false"
- ignoreModifications="false" purgeOnStartup="false">
- <properties>
- cache.jdbc.table.name=${jbosscache-cl-cache.jdbc.table.name}
- cache.jdbc.table.create=${jbosscache-cl-cache.jdbc.table.create}
- cache.jdbc.table.drop=${jbosscache-cl-cache.jdbc.table.drop}
- cache.jdbc.table.primarykey=${jbosscache-cl-cache.jdbc.table.primarykey}
- cache.jdbc.fqn.column=${jbosscache-cl-cache.jdbc.fqn.column}
- cache.jdbc.fqn.type=${jbosscache-cl-cache.jdbc.fqn.type}
- cache.jdbc.node.column=${jbosscache-cl-cache.jdbc.node.column}
- cache.jdbc.node.type=${jbosscache-cl-cache.jdbc.node.type}
- cache.jdbc.parent.column=${jbosscache-cl-cache.jdbc.parent.column}
- cache.jdbc.datasource=${jbosscache-cl-cache.jdbc.datasource}
- </properties>
- </loader>
-
- </loaders>
-
-</jbosscache>
14 years, 4 months
exo-jcr SVN: r1827 - in junit.framework/tags: 1.2.1-CR2 and 15 other directories.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 11:56:01 -0500 (Mon, 15 Feb 2010)
New Revision: 1827
Added:
junit.framework/tags/1.2.1-CR2/
junit.framework/tags/1.2.1-CR2/pom.xml
junit.framework/tags/1.2.1-CR2/src/
junit.framework/tags/1.2.1-CR2/src/main/
junit.framework/tags/1.2.1-CR2/src/main/java/
junit.framework/tags/1.2.1-CR2/src/main/java/org/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java
junit.framework/tags/1.2.1-CR2/src/test/
junit.framework/tags/1.2.1-CR2/src/test/java/
junit.framework/tags/1.2.1-CR2/src/test/java/org/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java
Removed:
junit.framework/tags/1.2.1-CR2/pom.xml
junit.framework/tags/1.2.1-CR2/src/
junit.framework/tags/1.2.1-CR2/src/main/
junit.framework/tags/1.2.1-CR2/src/main/java/
junit.framework/tags/1.2.1-CR2/src/main/java/org/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java
junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java
junit.framework/tags/1.2.1-CR2/src/test/
junit.framework/tags/1.2.1-CR2/src/test/java/
junit.framework/tags/1.2.1-CR2/src/test/java/org/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java
junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java
Log:
EXOJCR-469 revert of junit.framework CR2 delete
Copied: junit.framework/tags/1.2.1-CR2 (from rev 1786, junit.framework/tags/1.2.1-CR2)
Deleted: junit.framework/tags/1.2.1-CR2/pom.xml
===================================================================
--- junit.framework/tags/1.2.1-CR2/pom.xml 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/pom.xml 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,79 +0,0 @@
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<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.exoplatform</groupId>
- <artifactId>foundation-parent</artifactId>
- <version>4</version>
- </parent>
-
- <groupId>org.exoplatform.tool</groupId>
- <artifactId>exo.tool.framework.junit</artifactId>
- <version>1.2.1-CR2</version>
-
- <name>eXo Mock Objects framework</name>
- <description>eXo Mock Objects framework</description>
-
- <properties>
- <exo.product.name>exo-mock-objects</exo.product.name>
- <exo.product.specification>1.0.0</exo.product.specification>
- </properties>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/exo-jcr/junit.framework/tags/1.2.1...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/exo-jcr/junit.framework/tags/1.2.1-CR2</developerConnection>
- <url>http://fisheye.jboss.org/browse/exo-jcr/junit.framework/tags/1.2.1-CR2</url>
- </scm>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
-
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- <version>2.2</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.portlet</groupId>
- <artifactId>portlet-api</artifactId>
- <version>2.0</version>
- </dependency>
-
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <version>1.2_13</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- </dependency>
- </dependencies>
-</project>
Copied: junit.framework/tags/1.2.1-CR2/pom.xml (from rev 1786, junit.framework/tags/1.2.1-CR2/pom.xml)
===================================================================
--- junit.framework/tags/1.2.1-CR2/pom.xml (rev 0)
+++ junit.framework/tags/1.2.1-CR2/pom.xml 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,79 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform</groupId>
+ <artifactId>foundation-parent</artifactId>
+ <version>4</version>
+ </parent>
+
+ <groupId>org.exoplatform.tool</groupId>
+ <artifactId>exo.tool.framework.junit</artifactId>
+ <version>1.2.1-CR2</version>
+
+ <name>eXo Mock Objects framework</name>
+ <description>eXo Mock Objects framework</description>
+
+ <properties>
+ <exo.product.name>exo-mock-objects</exo.product.name>
+ <exo.product.specification>1.0.0</exo.product.specification>
+ </properties>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/exo-jcr/junit.framework/tags/1.2.1...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/exo-jcr/junit.framework/tags/1.2.1-CR2</developerConnection>
+ <url>http://fisheye.jboss.org/browse/exo-jcr/junit.framework/tags/1.2.1-CR2</url>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>cglib</groupId>
+ <artifactId>cglib</artifactId>
+ <version>2.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.portlet</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.2_13</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ </dependency>
+ </dependencies>
+</project>
Copied: junit.framework/tags/1.2.1-CR2/src (from rev 1786, junit.framework/tags/1.2.1-CR2/src)
Copied: junit.framework/tags/1.2.1-CR2/src/main (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main)
Copied: junit.framework/tags/1.2.1-CR2/src/main/java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java)
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org)
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform)
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test)
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,124 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test;
-
-import junit.framework.TestCase;
-
-import java.util.Collection;
-import java.util.Comparator;
-import java.util.Iterator;
-
-public class BasicTestCase extends TestCase
-{
- private static int testNumber_ = 1;
-
- protected int counter_;
-
- public BasicTestCase()
- {
- }
-
- public BasicTestCase(String name)
- {
- super(name);
- }
-
- protected int getTestNumber()
- {
- return testNumber_;
- }
-
- protected void setTestNumber(int num)
- {
- testNumber_ = num;
- }
-
- protected int getCounter()
- {
- return counter_ + 1;
- }
-
- protected void runTest() throws Throwable
- {
- long t = System.currentTimeMillis();
- long firstRun = 0;
- int testNum = getTestNumber();
- System.out.println(getDescription());
- System.out.println("\n********************************************************\n"
- + " BEGIN TEST CASE \n" + "\t\t" + getName() + "\n"
- + "********************************************************\n");
- for (counter_ = 0; counter_ < testNum; counter_++)
- {
- super.runTest();
- if (counter_ == 0)
- {
- firstRun = System.currentTimeMillis() - t;
- }
- }
- t = System.currentTimeMillis() - t;
- System.out.println("\n\n\n=====> TEST CASE: run " + getName() + "() " + getTestNumber() + " time in " + t
- + "ms, first run: " + firstRun + "ms, " + "average: " + t / testNum + "ms <==============\n\n\n");
- }
-
- protected static void info(String s)
- {
- System.out.println(" INFO: " + s);
- }
-
- protected static void error(String s)
- {
- System.out.println("ERROR: " + s);
- }
-
- protected String getDescription()
- {
- return "Run test " + getClass().getName();
- }
-
- protected static void hasObjectInCollection(Object obj, Collection c, Comparator comparator) throws Exception
- {
- Iterator iter = c.iterator();
- while (iter.hasNext())
- {
- Object o = iter.next();
- if (comparator.compare(obj, o) == 0)
- return;
- }
- throw new Exception("Object " + obj + " hasn't in collection " + c);
- }
-
- protected static void assertCollection(Collection c1, Collection c2, Comparator comparator) throws Exception
- {
- if (c1.size() != c2.size())
- {
- throw new Exception("Size of collection_1:" + c1.size() + " is not equals to collection_2:" + c2.size());
- }
-
- for (Object o : c1)
- hasObjectInCollection(o, c2, comparator);
- }
-
- protected void assertObject(Object o1, Object o2, Comparator comparator) throws Exception
- {
- if (comparator.compare(o1, o2) != 0)
- {
- throw new Exception("Object " + o1 + "not equals to" + o2);
- }
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/BasicTestCase.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,124 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test;
+
+import junit.framework.TestCase;
+
+import java.util.Collection;
+import java.util.Comparator;
+import java.util.Iterator;
+
+public class BasicTestCase extends TestCase
+{
+ private static int testNumber_ = 1;
+
+ protected int counter_;
+
+ public BasicTestCase()
+ {
+ }
+
+ public BasicTestCase(String name)
+ {
+ super(name);
+ }
+
+ protected int getTestNumber()
+ {
+ return testNumber_;
+ }
+
+ protected void setTestNumber(int num)
+ {
+ testNumber_ = num;
+ }
+
+ protected int getCounter()
+ {
+ return counter_ + 1;
+ }
+
+ protected void runTest() throws Throwable
+ {
+ long t = System.currentTimeMillis();
+ long firstRun = 0;
+ int testNum = getTestNumber();
+ System.out.println(getDescription());
+ System.out.println("\n********************************************************\n"
+ + " BEGIN TEST CASE \n" + "\t\t" + getName() + "\n"
+ + "********************************************************\n");
+ for (counter_ = 0; counter_ < testNum; counter_++)
+ {
+ super.runTest();
+ if (counter_ == 0)
+ {
+ firstRun = System.currentTimeMillis() - t;
+ }
+ }
+ t = System.currentTimeMillis() - t;
+ System.out.println("\n\n\n=====> TEST CASE: run " + getName() + "() " + getTestNumber() + " time in " + t
+ + "ms, first run: " + firstRun + "ms, " + "average: " + t / testNum + "ms <==============\n\n\n");
+ }
+
+ protected static void info(String s)
+ {
+ System.out.println(" INFO: " + s);
+ }
+
+ protected static void error(String s)
+ {
+ System.out.println("ERROR: " + s);
+ }
+
+ protected String getDescription()
+ {
+ return "Run test " + getClass().getName();
+ }
+
+ protected static void hasObjectInCollection(Object obj, Collection c, Comparator comparator) throws Exception
+ {
+ Iterator iter = c.iterator();
+ while (iter.hasNext())
+ {
+ Object o = iter.next();
+ if (comparator.compare(obj, o) == 0)
+ return;
+ }
+ throw new Exception("Object " + obj + " hasn't in collection " + c);
+ }
+
+ protected static void assertCollection(Collection c1, Collection c2, Comparator comparator) throws Exception
+ {
+ if (c1.size() != c2.size())
+ {
+ throw new Exception("Size of collection_1:" + c1.size() + " is not equals to collection_2:" + c2.size());
+ }
+
+ for (Object o : c1)
+ hasObjectInCollection(o, c2, comparator);
+ }
+
+ protected void assertObject(Object o1, Object o2, Comparator comparator) throws Exception
+ {
+ if (comparator.compare(o1, o2) != 0)
+ {
+ throw new Exception("Object " + o1 + "not equals to" + o2);
+ }
+ }
+}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks)
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet)
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,73 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import javax.portlet.ActionRequest;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Tuan Nguyen
- * tuan08(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockActionRequest extends MockPortletRequest implements ActionRequest
-{
-
- public MockActionRequest()
- {
- super();
- }
-
- public java.io.InputStream getPortletInputStream() throws java.io.IOException
- {
- return null;
- }
-
- public void setCharacterEncoding(String enc) throws java.io.UnsupportedEncodingException
- {
-
- }
-
- public java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException, java.io.IOException
- {
- return null;
- }
-
- public java.lang.String getCharacterEncoding()
- {
- return "default";
- }
-
- public java.lang.String getContentType()
- {
- return "text/html";
- }
-
- public int getContentLength()
- {
- return 0;
- }
-
- public String getMethod()
- {
- return "POST";
- }
-
-}
\ No newline at end of file
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,73 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import javax.portlet.ActionRequest;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Tuan Nguyen
+ * tuan08(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockActionRequest extends MockPortletRequest implements ActionRequest
+{
+
+ public MockActionRequest()
+ {
+ super();
+ }
+
+ public java.io.InputStream getPortletInputStream() throws java.io.IOException
+ {
+ return null;
+ }
+
+ public void setCharacterEncoding(String enc) throws java.io.UnsupportedEncodingException
+ {
+
+ }
+
+ public java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException, java.io.IOException
+ {
+ return null;
+ }
+
+ public java.lang.String getCharacterEncoding()
+ {
+ return "default";
+ }
+
+ public java.lang.String getContentType()
+ {
+ return "text/html";
+ }
+
+ public int getContentLength()
+ {
+ return 0;
+ }
+
+ public String getMethod()
+ {
+ return "POST";
+ }
+
+}
\ No newline at end of file
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,97 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import java.io.IOException;
-import java.io.Serializable;
-import java.util.Map;
-
-import javax.portlet.ActionResponse;
-import javax.portlet.PortletMode;
-import javax.portlet.PortletModeException;
-import javax.portlet.WindowState;
-import javax.portlet.WindowStateException;
-import javax.xml.namespace.QName;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- * Date: Sep 11, 2003
- * Time: 8:26:13 PM
- */
-public class MockActionResponse extends MockPortletResponse implements ActionResponse
-{
-
- public void setWindowState(WindowState windowState) throws WindowStateException
- {
- }
-
- public void setPortletMode(PortletMode portletMode) throws PortletModeException
- {
- }
-
- public void sendRedirect(String s) throws IOException
- {
- }
-
- public void sendRedirect(String location, String renderUrlParamName) throws IOException
- {
- }
-
- public void setRenderParameters(Map map)
- {
- }
-
- public void setRenderParameter(String s, String s1)
- {
- }
-
- public void setRenderParameter(String s, String[] strings)
- {
- }
-
- public PortletMode getPortletMode()
- {
- return null;
- }
-
- public Map<String, String[]> getRenderParameterMap()
- {
- return null;
- }
-
- public WindowState getWindowState()
- {
- return null;
- }
-
- public void removePublicRenderParameter(String arg0)
- {
- }
-
- public void setEvent(QName arg0, Serializable arg1)
- {
- }
-
- public void setEvent(String arg0, Serializable arg1)
- {
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockActionResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,97 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import java.io.IOException;
+import java.io.Serializable;
+import java.util.Map;
+
+import javax.portlet.ActionResponse;
+import javax.portlet.PortletMode;
+import javax.portlet.PortletModeException;
+import javax.portlet.WindowState;
+import javax.portlet.WindowStateException;
+import javax.xml.namespace.QName;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ * Date: Sep 11, 2003
+ * Time: 8:26:13 PM
+ */
+public class MockActionResponse extends MockPortletResponse implements ActionResponse
+{
+
+ public void setWindowState(WindowState windowState) throws WindowStateException
+ {
+ }
+
+ public void setPortletMode(PortletMode portletMode) throws PortletModeException
+ {
+ }
+
+ public void sendRedirect(String s) throws IOException
+ {
+ }
+
+ public void sendRedirect(String location, String renderUrlParamName) throws IOException
+ {
+ }
+
+ public void setRenderParameters(Map map)
+ {
+ }
+
+ public void setRenderParameter(String s, String s1)
+ {
+ }
+
+ public void setRenderParameter(String s, String[] strings)
+ {
+ }
+
+ public PortletMode getPortletMode()
+ {
+ return null;
+ }
+
+ public Map<String, String[]> getRenderParameterMap()
+ {
+ return null;
+ }
+
+ public WindowState getWindowState()
+ {
+ return null;
+ }
+
+ public void removePublicRenderParameter(String arg0)
+ {
+ }
+
+ public void setEvent(QName arg0, Serializable arg1)
+ {
+ }
+
+ public void setEvent(String arg0, Serializable arg1)
+ {
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,127 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-import javax.portlet.PortletConfig;
-import javax.portlet.PortletContext;
-import javax.xml.namespace.QName;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Tuan Nguyen
- * tuan08(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockPortletConfig implements PortletConfig
-{
-
- String portletName_;
-
- PortletContext context_ = null;
-
- Hashtable parameters_ = new Hashtable();
-
- ResourceBundle res_;
-
- public MockPortletConfig(PortletContext context)
- {
- parameters_ = new Hashtable();
- context_ = context;
- parameters_.put("template-location", "/WEB-INF/templates/html");
- }
-
- public String getPortletName()
- {
- return portletName_;
- }
-
- public void setPortletName(String name)
- {
- portletName_ = name;
- }
-
- public PortletContext getPortletContext()
- {
- return context_;
- }
-
- public void setResourceBundle(ResourceBundle res)
- {
- res_ = res;
- }
-
- public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
- {
- return res_;
- }
-
- public String getInitParameter(java.lang.String name)
- {
- return (String)parameters_.get(name);
- }
-
- public void setInitParameter(String name, String value)
- {
- parameters_.put(name, value);
- }
-
- public java.util.Enumeration getInitParameterNames()
- {
- return null;
- }
-
- public java.util.Enumeration getSupportedLocales()
- {
- return Collections.enumeration(Arrays.asList(new Locale("en")));
- }
-
- public String getDefaultNamespace()
- {
- return null;
- }
-
- public Enumeration<QName> getProcessingEventQNames()
- {
- return null;
- }
-
- public Enumeration<String> getPublicRenderParameterNames()
- {
- return null;
- }
-
- public Enumeration<QName> getPublishingEventQNames()
- {
- return null;
- }
-
- public java.util.Map<String, String[]> getContainerRuntimeOptions()
- {
- return java.util.Collections.emptyMap();
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletConfig.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,127 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.Hashtable;
+import java.util.Locale;
+import java.util.ResourceBundle;
+
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletContext;
+import javax.xml.namespace.QName;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Tuan Nguyen
+ * tuan08(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockPortletConfig implements PortletConfig
+{
+
+ String portletName_;
+
+ PortletContext context_ = null;
+
+ Hashtable parameters_ = new Hashtable();
+
+ ResourceBundle res_;
+
+ public MockPortletConfig(PortletContext context)
+ {
+ parameters_ = new Hashtable();
+ context_ = context;
+ parameters_.put("template-location", "/WEB-INF/templates/html");
+ }
+
+ public String getPortletName()
+ {
+ return portletName_;
+ }
+
+ public void setPortletName(String name)
+ {
+ portletName_ = name;
+ }
+
+ public PortletContext getPortletContext()
+ {
+ return context_;
+ }
+
+ public void setResourceBundle(ResourceBundle res)
+ {
+ res_ = res;
+ }
+
+ public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
+ {
+ return res_;
+ }
+
+ public String getInitParameter(java.lang.String name)
+ {
+ return (String)parameters_.get(name);
+ }
+
+ public void setInitParameter(String name, String value)
+ {
+ parameters_.put(name, value);
+ }
+
+ public java.util.Enumeration getInitParameterNames()
+ {
+ return null;
+ }
+
+ public java.util.Enumeration getSupportedLocales()
+ {
+ return Collections.enumeration(Arrays.asList(new Locale("en")));
+ }
+
+ public String getDefaultNamespace()
+ {
+ return null;
+ }
+
+ public Enumeration<QName> getProcessingEventQNames()
+ {
+ return null;
+ }
+
+ public Enumeration<String> getPublicRenderParameterNames()
+ {
+ return null;
+ }
+
+ public Enumeration<QName> getPublishingEventQNames()
+ {
+ return null;
+ }
+
+ public java.util.Map<String, String[]> getContainerRuntimeOptions()
+ {
+ return java.util.Collections.emptyMap();
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,149 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import org.exoplatform.test.mocks.servlet.MockServletContext;
-
-import javax.portlet.PortletContext;
-import javax.portlet.PortletRequestDispatcher;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Tuan Nguyen
- * tuan08(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockPortletContext implements PortletContext
-{
-
- private String realPath_ = "./";
-
- private String contextName_;
-
- public String getServerInfo()
- {
- return null;
- }
-
- public PortletRequestDispatcher getRequestDispatcher(String path)
- {
- return null;
- }
-
- public PortletRequestDispatcher getNamedDispatcher(String name)
- {
- return null;
- }
-
- public java.io.InputStream getResourceAsStream(String path)
- {
- return null;
- }
-
- public int getMajorVersion()
- {
- return 1;
- }
-
- public int getMinorVersion()
- {
- return 0;
- }
-
- public String getMimeType(String file)
- {
- return null;
- }
-
- public String getRealPath(String path)
- {
- return realPath_;
- }
-
- public java.util.Set getResourcePaths(String path)
- {
- return null;
- }
-
- public java.net.URL getResource(String path) throws java.net.MalformedURLException
- {
- return null;
- }
-
- public java.lang.Object getAttribute(java.lang.String name)
- {
- return null;
- }
-
- public java.util.Enumeration getAttributeNames()
- {
- return null;
- }
-
- public java.lang.String getInitParameter(java.lang.String name)
- {
- return null;
- }
-
- public java.util.Enumeration getInitParameterNames()
- {
- return null;
- }
-
- public void log(java.lang.String msg)
- {
- System.out.println(msg);
- }
-
- public void log(java.lang.String message, java.lang.Throwable throwable)
- {
- System.out.println(message);
- throwable.printStackTrace();
- }
-
- public void removeAttribute(java.lang.String name)
- {
- }
-
- public void setAttribute(java.lang.String name, java.lang.Object object)
- {
- }
-
- public String getPortletContextName()
- {
- return contextName_;
- }
-
- public void setPortletContextName(String name)
- {
- contextName_ = name;
- }
-
- public MockServletContext getWrappedServletContext()
- {
- return new MockServletContext(contextName_);
- }
-
- public java.util.Enumeration<String> getContainerRuntimeOptions()
- {
- return java.util.Collections.enumeration(new java.util.ArrayList<java.lang.String>());
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletContext.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,149 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import org.exoplatform.test.mocks.servlet.MockServletContext;
+
+import javax.portlet.PortletContext;
+import javax.portlet.PortletRequestDispatcher;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Tuan Nguyen
+ * tuan08(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockPortletContext implements PortletContext
+{
+
+ private String realPath_ = "./";
+
+ private String contextName_;
+
+ public String getServerInfo()
+ {
+ return null;
+ }
+
+ public PortletRequestDispatcher getRequestDispatcher(String path)
+ {
+ return null;
+ }
+
+ public PortletRequestDispatcher getNamedDispatcher(String name)
+ {
+ return null;
+ }
+
+ public java.io.InputStream getResourceAsStream(String path)
+ {
+ return null;
+ }
+
+ public int getMajorVersion()
+ {
+ return 1;
+ }
+
+ public int getMinorVersion()
+ {
+ return 0;
+ }
+
+ public String getMimeType(String file)
+ {
+ return null;
+ }
+
+ public String getRealPath(String path)
+ {
+ return realPath_;
+ }
+
+ public java.util.Set getResourcePaths(String path)
+ {
+ return null;
+ }
+
+ public java.net.URL getResource(String path) throws java.net.MalformedURLException
+ {
+ return null;
+ }
+
+ public java.lang.Object getAttribute(java.lang.String name)
+ {
+ return null;
+ }
+
+ public java.util.Enumeration getAttributeNames()
+ {
+ return null;
+ }
+
+ public java.lang.String getInitParameter(java.lang.String name)
+ {
+ return null;
+ }
+
+ public java.util.Enumeration getInitParameterNames()
+ {
+ return null;
+ }
+
+ public void log(java.lang.String msg)
+ {
+ System.out.println(msg);
+ }
+
+ public void log(java.lang.String message, java.lang.Throwable throwable)
+ {
+ System.out.println(message);
+ throwable.printStackTrace();
+ }
+
+ public void removeAttribute(java.lang.String name)
+ {
+ }
+
+ public void setAttribute(java.lang.String name, java.lang.Object object)
+ {
+ }
+
+ public String getPortletContextName()
+ {
+ return contextName_;
+ }
+
+ public void setPortletContextName(String name)
+ {
+ contextName_ = name;
+ }
+
+ public MockServletContext getWrappedServletContext()
+ {
+ return new MockServletContext(contextName_);
+ }
+
+ public java.util.Enumeration<String> getContainerRuntimeOptions()
+ {
+ return java.util.Collections.enumeration(new java.util.ArrayList<java.lang.String>());
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,93 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import java.util.Hashtable;
-
-import javax.portlet.PortletPreferences;
-import javax.portlet.ReadOnlyException;
-import javax.portlet.ValidatorException;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Tuan Nguyen
- * tuan08(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockPortletPreferences implements PortletPreferences
-{
- private Hashtable map_;
-
- public MockPortletPreferences()
- {
- map_ = new Hashtable();
- }
-
- public boolean isReadOnly(String key)
- {
- return true;
- }
-
- public String getValue(String key, String def)
- {
- String value = (String)map_.get(key);
- if (value == null)
- value = def;
- return value;
- }
-
- public String[] getValues(String key, String[] def)
- {
- String[] values = (String[])map_.get(key);
- if (values == null)
- values = def;
- return values;
- }
-
- public void setValue(String key, String value) throws ReadOnlyException
- {
- map_.put(key, value);
- }
-
- public void setValues(String key, String[] values) throws ReadOnlyException
- {
- map_.put(key, values);
- }
-
- public java.util.Enumeration getNames()
- {
- return map_.keys();
- }
-
- public java.util.Map getMap()
- {
- return map_;
- }
-
- public void reset(String key) throws ReadOnlyException
- {
- map_.remove(key);
- }
-
- public void store() throws java.io.IOException, ValidatorException
- {
-
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletPreferences.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,93 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import java.util.Hashtable;
+
+import javax.portlet.PortletPreferences;
+import javax.portlet.ReadOnlyException;
+import javax.portlet.ValidatorException;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Tuan Nguyen
+ * tuan08(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockPortletPreferences implements PortletPreferences
+{
+ private Hashtable map_;
+
+ public MockPortletPreferences()
+ {
+ map_ = new Hashtable();
+ }
+
+ public boolean isReadOnly(String key)
+ {
+ return true;
+ }
+
+ public String getValue(String key, String def)
+ {
+ String value = (String)map_.get(key);
+ if (value == null)
+ value = def;
+ return value;
+ }
+
+ public String[] getValues(String key, String[] def)
+ {
+ String[] values = (String[])map_.get(key);
+ if (values == null)
+ values = def;
+ return values;
+ }
+
+ public void setValue(String key, String value) throws ReadOnlyException
+ {
+ map_.put(key, value);
+ }
+
+ public void setValues(String key, String[] values) throws ReadOnlyException
+ {
+ map_.put(key, values);
+ }
+
+ public java.util.Enumeration getNames()
+ {
+ return map_.keys();
+ }
+
+ public java.util.Map getMap()
+ {
+ return map_;
+ }
+
+ public void reset(String key) throws ReadOnlyException
+ {
+ map_.remove(key);
+ }
+
+ public void store() throws java.io.IOException, ValidatorException
+ {
+
+ }
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,273 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import java.util.Hashtable;
-import java.util.Locale;
-import java.util.Map;
-
-import javax.portlet.PortalContext;
-import javax.portlet.PortletMode;
-import javax.portlet.PortletPreferences;
-import javax.portlet.PortletRequest;
-import javax.portlet.PortletSession;
-import javax.portlet.WindowState;
-import javax.servlet.http.Cookie;
-
-public class MockPortletRequest implements PortletRequest
-{
- private Map parameters_;
-
- private Map attributes_;
-
- private PortletSession session_;
-
- private PortletMode portletMode_;
-
- private String role_ = "none";
-
- private String remoteUser_;
-
- private PortletPreferences prefs_;
-
- public MockPortletRequest()
- {
- parameters_ = new Hashtable();
- attributes_ = new Hashtable();
- session_ = new MockPortletSession();
- portletMode_ = PortletMode.VIEW;
- prefs_ = new MockPortletPreferences();
-
- }
-
- public boolean isWindowStateAllowed(WindowState state)
- {
- return true;
- }
-
- public boolean isPortletModeAllowed(PortletMode mode)
- {
- return true;
- }
-
- public PortletMode getPortletMode()
- {
- return portletMode_;
- }
-
- public void setPortletMode(PortletMode mode)
- {
- portletMode_ = mode;
- }
-
- public WindowState getWindowState()
- {
- return WindowState.NORMAL;
- }
-
- public void setPreferences(PortletPreferences prefs)
- {
- prefs_ = prefs;
- }
-
- public PortletPreferences getPreferences()
- {
- return prefs_;
- }
-
- public PortletSession getPortletSession()
- {
- return session_;
- }
-
- public PortletSession getPortletSession(boolean create)
- {
- return session_;
- }
-
- public String getProperty(String name)
- {
- return "not support";
- }
-
- public java.util.Enumeration getProperties(String name)
- {
- return null;
- }
-
- public java.util.Enumeration getPropertyNames()
- {
- return null;
- }
-
- public PortalContext getPortalContext()
- {
- return null;
- }
-
- public java.lang.String getAuthType()
- {
- return null;
- }
-
- public String getContextPath()
- {
- return null;
- }
-
- public void setRemoteUser(String user)
- {
- remoteUser_ = user;
- }
-
- public java.lang.String getRemoteUser()
- {
- return remoteUser_;
- }
-
- public java.security.Principal getUserPrincipal()
- {
- return null;
- }
-
- public void setUserInRole(String role)
- {
- role_ = role;
- }
-
- public boolean isUserInRole(java.lang.String role)
- {
- return role_.equals(role);
- }
-
- public Object getAttribute(String name)
- {
- return attributes_.get(name);
- }
-
- public java.util.Enumeration getAttributeNames()
- {
- return null;
- }
-
- public String getParameter(String name)
- {
- return (String)parameters_.get(name);
- }
-
- public void setParameter(String name, Object value)
- {
- parameters_.put(name, value);
- }
-
- public java.util.Enumeration getParameterNames()
- {
- return null;
- }
-
- public String[] getParameterValues(String name)
- {
- return (String[])parameters_.get(name);
- }
-
- public java.util.Map getParameterMap()
- {
- return parameters_;
- }
-
- public java.util.Map getPublicParameterMap()
- {
- return parameters_;
- }
-
- public boolean isSecure()
- {
- return false;
- }
-
- public void setAttribute(String name, Object o)
- {
- attributes_.put(name, o);
- }
-
- public void removeAttribute(String name)
- {
- attributes_.remove(name);
- }
-
- public String getRequestedSessionId()
- {
- return session_.getId();
- }
-
- public boolean isRequestedSessionIdValid()
- {
- return true;
- }
-
- public String getResponseContentType()
- {
- return "txt/html";
- }
-
- public java.util.Enumeration getResponseContentTypes()
- {
- return null;
- }
-
- public java.util.Locale getLocale()
- {
- return Locale.US;
- }
-
- public java.util.Enumeration getLocales()
- {
- return null;
- }
-
- public String getScheme()
- {
- return "http://";
- }
-
- public String getServerName()
- {
- return "localhost";
- }
-
- public int getServerPort()
- {
- return 8080;
- }
-
- public Cookie[] getCookies()
- {
- return null;
- }
-
- public Map<String, String[]> getPrivateParameterMap()
- {
- return null;
- }
-
- public String getWindowID()
- {
- return null;
- }
-}
\ No newline at end of file
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,273 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import java.util.Hashtable;
+import java.util.Locale;
+import java.util.Map;
+
+import javax.portlet.PortalContext;
+import javax.portlet.PortletMode;
+import javax.portlet.PortletPreferences;
+import javax.portlet.PortletRequest;
+import javax.portlet.PortletSession;
+import javax.portlet.WindowState;
+import javax.servlet.http.Cookie;
+
+public class MockPortletRequest implements PortletRequest
+{
+ private Map parameters_;
+
+ private Map attributes_;
+
+ private PortletSession session_;
+
+ private PortletMode portletMode_;
+
+ private String role_ = "none";
+
+ private String remoteUser_;
+
+ private PortletPreferences prefs_;
+
+ public MockPortletRequest()
+ {
+ parameters_ = new Hashtable();
+ attributes_ = new Hashtable();
+ session_ = new MockPortletSession();
+ portletMode_ = PortletMode.VIEW;
+ prefs_ = new MockPortletPreferences();
+
+ }
+
+ public boolean isWindowStateAllowed(WindowState state)
+ {
+ return true;
+ }
+
+ public boolean isPortletModeAllowed(PortletMode mode)
+ {
+ return true;
+ }
+
+ public PortletMode getPortletMode()
+ {
+ return portletMode_;
+ }
+
+ public void setPortletMode(PortletMode mode)
+ {
+ portletMode_ = mode;
+ }
+
+ public WindowState getWindowState()
+ {
+ return WindowState.NORMAL;
+ }
+
+ public void setPreferences(PortletPreferences prefs)
+ {
+ prefs_ = prefs;
+ }
+
+ public PortletPreferences getPreferences()
+ {
+ return prefs_;
+ }
+
+ public PortletSession getPortletSession()
+ {
+ return session_;
+ }
+
+ public PortletSession getPortletSession(boolean create)
+ {
+ return session_;
+ }
+
+ public String getProperty(String name)
+ {
+ return "not support";
+ }
+
+ public java.util.Enumeration getProperties(String name)
+ {
+ return null;
+ }
+
+ public java.util.Enumeration getPropertyNames()
+ {
+ return null;
+ }
+
+ public PortalContext getPortalContext()
+ {
+ return null;
+ }
+
+ public java.lang.String getAuthType()
+ {
+ return null;
+ }
+
+ public String getContextPath()
+ {
+ return null;
+ }
+
+ public void setRemoteUser(String user)
+ {
+ remoteUser_ = user;
+ }
+
+ public java.lang.String getRemoteUser()
+ {
+ return remoteUser_;
+ }
+
+ public java.security.Principal getUserPrincipal()
+ {
+ return null;
+ }
+
+ public void setUserInRole(String role)
+ {
+ role_ = role;
+ }
+
+ public boolean isUserInRole(java.lang.String role)
+ {
+ return role_.equals(role);
+ }
+
+ public Object getAttribute(String name)
+ {
+ return attributes_.get(name);
+ }
+
+ public java.util.Enumeration getAttributeNames()
+ {
+ return null;
+ }
+
+ public String getParameter(String name)
+ {
+ return (String)parameters_.get(name);
+ }
+
+ public void setParameter(String name, Object value)
+ {
+ parameters_.put(name, value);
+ }
+
+ public java.util.Enumeration getParameterNames()
+ {
+ return null;
+ }
+
+ public String[] getParameterValues(String name)
+ {
+ return (String[])parameters_.get(name);
+ }
+
+ public java.util.Map getParameterMap()
+ {
+ return parameters_;
+ }
+
+ public java.util.Map getPublicParameterMap()
+ {
+ return parameters_;
+ }
+
+ public boolean isSecure()
+ {
+ return false;
+ }
+
+ public void setAttribute(String name, Object o)
+ {
+ attributes_.put(name, o);
+ }
+
+ public void removeAttribute(String name)
+ {
+ attributes_.remove(name);
+ }
+
+ public String getRequestedSessionId()
+ {
+ return session_.getId();
+ }
+
+ public boolean isRequestedSessionIdValid()
+ {
+ return true;
+ }
+
+ public String getResponseContentType()
+ {
+ return "txt/html";
+ }
+
+ public java.util.Enumeration getResponseContentTypes()
+ {
+ return null;
+ }
+
+ public java.util.Locale getLocale()
+ {
+ return Locale.US;
+ }
+
+ public java.util.Enumeration getLocales()
+ {
+ return null;
+ }
+
+ public String getScheme()
+ {
+ return "http://";
+ }
+
+ public String getServerName()
+ {
+ return "localhost";
+ }
+
+ public int getServerPort()
+ {
+ return 8080;
+ }
+
+ public Cookie[] getCookies()
+ {
+ return null;
+ }
+
+ public Map<String, String[]> getPrivateParameterMap()
+ {
+ return null;
+ }
+
+ public String getWindowID()
+ {
+ return null;
+ }
+}
\ No newline at end of file
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,65 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import javax.portlet.PortletResponse;
-import javax.servlet.http.Cookie;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Tuan Nguyen
- * tuan08(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockPortletResponse implements PortletResponse
-{
-
- public void addProperty(String key, String value)
- {
- }
-
- public void setProperty(String key, String value)
- {
- }
-
- public String encodeURL(String path)
- {
- return path;
- }
-
- public void addProperty(String key, org.w3c.dom.Element element)
- {
- }
-
- public void addProperty(Cookie arg0)
- {
- }
-
- public String getNamespace()
- {
- return null;
- }
-
- public org.w3c.dom.Element createElement(String tagName) throws org.w3c.dom.DOMException
- {
- return null;
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,65 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import javax.portlet.PortletResponse;
+import javax.servlet.http.Cookie;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Tuan Nguyen
+ * tuan08(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockPortletResponse implements PortletResponse
+{
+
+ public void addProperty(String key, String value)
+ {
+ }
+
+ public void setProperty(String key, String value)
+ {
+ }
+
+ public String encodeURL(String path)
+ {
+ return path;
+ }
+
+ public void addProperty(String key, org.w3c.dom.Element element)
+ {
+ }
+
+ public void addProperty(Cookie arg0)
+ {
+ }
+
+ public String getNamespace()
+ {
+ return null;
+ }
+
+ public org.w3c.dom.Element createElement(String tagName) throws org.w3c.dom.DOMException
+ {
+ return null;
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,165 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.portlet.PortletContext;
-import javax.portlet.PortletSession;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Tuan Nguyen
- * tuan08(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockPortletSession implements PortletSession
-{
- HashMap attributes_;
-
- HashMap appAttributes_;
-
- public MockPortletSession()
- {
- super();
- attributes_ = new HashMap();
- appAttributes_ = new HashMap();
- }
-
- public Object getAttribute(String name)
- {
- return attributes_.get(name);
- }
-
- public Object getAttribute(String name, int scope)
- {
- if (scope == PortletSession.APPLICATION_SCOPE)
- {
- return appAttributes_.get(name);
- }
- else
- {
- return attributes_.get(name);
- }
- }
-
- public void setAttribute(String name, Object obj)
- {
- attributes_.put(name, obj);
- }
-
- public void setAttribute(String name, Object obj, int scope)
- {
- if (scope == PortletSession.APPLICATION_SCOPE)
- {
- appAttributes_.put(name, obj);
- }
- else
- {
- attributes_.put(name, obj);
- }
- }
-
- public void removeAttribute(String name)
- {
- attributes_.remove(name);
- }
-
- public void removeAttribute(String name, int scope)
- {
- if (scope == PortletSession.APPLICATION_SCOPE)
- {
- appAttributes_.remove(name);
- }
- else
- {
- attributes_.remove(name);
- }
- }
-
- public Map getAttributeMap()
- {
- return getAttributeMap(PortletSession.PORTLET_SCOPE);
- }
-
- public Map getAttributeMap(int scope)
- {
- if (scope == PortletSession.APPLICATION_SCOPE)
- {
- return Collections.unmodifiableMap(appAttributes_);
- }
- else
- {
- return Collections.unmodifiableMap(attributes_);
- }
- }
-
- public java.util.Enumeration getAttributeNames()
- {
- return null;
- }
-
- public java.util.Enumeration getAttributeNames(int scope)
- {
- return null;
- }
-
- public long getCreationTime()
- {
- return 0;
- }
-
- public java.lang.String getId()
- {
- return new String(Integer.toString(this.hashCode()));
- }
-
- public long getLastAccessedTime()
- {
- return 0;
- }
-
- public int getMaxInactiveInterval()
- {
- return 0;
- }
-
- public void invalidate()
- {
- }
-
- public boolean isNew()
- {
- return false;
- }
-
- public void setMaxInactiveInterval(int interval)
- {
-
- }
-
- public PortletContext getPortletContext()
- {
- return null;
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockPortletSession.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,165 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.portlet.PortletContext;
+import javax.portlet.PortletSession;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Tuan Nguyen
+ * tuan08(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockPortletSession implements PortletSession
+{
+ HashMap attributes_;
+
+ HashMap appAttributes_;
+
+ public MockPortletSession()
+ {
+ super();
+ attributes_ = new HashMap();
+ appAttributes_ = new HashMap();
+ }
+
+ public Object getAttribute(String name)
+ {
+ return attributes_.get(name);
+ }
+
+ public Object getAttribute(String name, int scope)
+ {
+ if (scope == PortletSession.APPLICATION_SCOPE)
+ {
+ return appAttributes_.get(name);
+ }
+ else
+ {
+ return attributes_.get(name);
+ }
+ }
+
+ public void setAttribute(String name, Object obj)
+ {
+ attributes_.put(name, obj);
+ }
+
+ public void setAttribute(String name, Object obj, int scope)
+ {
+ if (scope == PortletSession.APPLICATION_SCOPE)
+ {
+ appAttributes_.put(name, obj);
+ }
+ else
+ {
+ attributes_.put(name, obj);
+ }
+ }
+
+ public void removeAttribute(String name)
+ {
+ attributes_.remove(name);
+ }
+
+ public void removeAttribute(String name, int scope)
+ {
+ if (scope == PortletSession.APPLICATION_SCOPE)
+ {
+ appAttributes_.remove(name);
+ }
+ else
+ {
+ attributes_.remove(name);
+ }
+ }
+
+ public Map getAttributeMap()
+ {
+ return getAttributeMap(PortletSession.PORTLET_SCOPE);
+ }
+
+ public Map getAttributeMap(int scope)
+ {
+ if (scope == PortletSession.APPLICATION_SCOPE)
+ {
+ return Collections.unmodifiableMap(appAttributes_);
+ }
+ else
+ {
+ return Collections.unmodifiableMap(attributes_);
+ }
+ }
+
+ public java.util.Enumeration getAttributeNames()
+ {
+ return null;
+ }
+
+ public java.util.Enumeration getAttributeNames(int scope)
+ {
+ return null;
+ }
+
+ public long getCreationTime()
+ {
+ return 0;
+ }
+
+ public java.lang.String getId()
+ {
+ return new String(Integer.toString(this.hashCode()));
+ }
+
+ public long getLastAccessedTime()
+ {
+ return 0;
+ }
+
+ public int getMaxInactiveInterval()
+ {
+ return 0;
+ }
+
+ public void invalidate()
+ {
+ }
+
+ public boolean isNew()
+ {
+ return false;
+ }
+
+ public void setMaxInactiveInterval(int interval)
+ {
+
+ }
+
+ public PortletContext getPortletContext()
+ {
+ return null;
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import javax.portlet.RenderRequest;
-
-/**
- * @author Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- * Date: 10 fev. 2004
- * Time: 19:57:18
- */
-public class MockRenderRequest extends MockPortletRequest implements RenderRequest
-{
-
- public String getETag()
- {
- return null;
- }
-
-}
\ No newline at end of file
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import javax.portlet.RenderRequest;
+
+/**
+ * @author Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ * Date: 10 fev. 2004
+ * Time: 19:57:18
+ */
+public class MockRenderRequest extends MockPortletRequest implements RenderRequest
+{
+
+ public String getETag()
+ {
+ return null;
+ }
+
+}
\ No newline at end of file
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,137 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.portlet;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.PrintWriter;
-import java.util.Locale;
-
-import javax.portlet.CacheControl;
-import javax.portlet.PortletMode;
-import javax.portlet.PortletURL;
-import javax.portlet.RenderResponse;
-import javax.portlet.ResourceURL;
-
-/**
- * @author Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- * Date: 10 feb. 2004
- * Time: 19:58:17
- */
-public class MockRenderResponse extends MockPortletResponse implements RenderResponse
-{
-
- public String getContentType()
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public PortletURL createRenderURL()
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public PortletURL createActionURL()
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public String getNamespace()
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void setTitle(String string)
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void setContentType(String string)
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public String getCharacterEncoding()
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public PrintWriter getWriter() throws IOException
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public Locale getLocale()
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void setBufferSize(int i)
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public int getBufferSize()
- {
- return 0; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void flushBuffer() throws IOException
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void resetBuffer()
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public boolean isCommitted()
- {
- return false; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void reset()
- {
- //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public OutputStream getPortletOutputStream() throws IOException
- {
- return null; //To change body of implemented methods use File | Settings | File Templates.
- }
-
- public void setNextPossiblePortletModes(java.util.Collection<PortletMode> portletModes)
- {
- }
-
- public ResourceURL createResourceURL() throws IllegalStateException
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public CacheControl getCacheControl()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
-}
\ No newline at end of file
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/portlet/MockRenderResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,137 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.portlet;
+
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.PrintWriter;
+import java.util.Locale;
+
+import javax.portlet.CacheControl;
+import javax.portlet.PortletMode;
+import javax.portlet.PortletURL;
+import javax.portlet.RenderResponse;
+import javax.portlet.ResourceURL;
+
+/**
+ * @author Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ * Date: 10 feb. 2004
+ * Time: 19:58:17
+ */
+public class MockRenderResponse extends MockPortletResponse implements RenderResponse
+{
+
+ public String getContentType()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public PortletURL createRenderURL()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public PortletURL createActionURL()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public String getNamespace()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void setTitle(String string)
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void setContentType(String string)
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public String getCharacterEncoding()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public PrintWriter getWriter() throws IOException
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public Locale getLocale()
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void setBufferSize(int i)
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public int getBufferSize()
+ {
+ return 0; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void flushBuffer() throws IOException
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void resetBuffer()
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public boolean isCommitted()
+ {
+ return false; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void reset()
+ {
+ //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public OutputStream getPortletOutputStream() throws IOException
+ {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public void setNextPossiblePortletModes(java.util.Collection<PortletMode> portletModes)
+ {
+ }
+
+ public ResourceURL createResourceURL() throws IllegalStateException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public CacheControl getCacheControl()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
\ No newline at end of file
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet)
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,178 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Locale;
-
-import javax.servlet.ServletOutputStream;
-import javax.servlet.http.Cookie;
-import javax.servlet.http.HttpServletResponse;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- * Date: Jul 29, 2003
- * Time: 5:44:28 PM
- */
-public class EmptyResponse implements HttpServletResponse
-{
-
- public void addCookie(Cookie cookie)
- {
- }
-
- public boolean containsHeader(String s)
- {
- return false;
- }
-
- public String encodeURL(String s)
- {
- return null;
- }
-
- public String encodeRedirectURL(String s)
- {
- return null;
- }
-
- public String encodeUrl(String s)
- {
- return null;
- }
-
- public String encodeRedirectUrl(String s)
- {
- return null;
- }
-
- public void sendError(int i, String s) throws IOException
- {
- }
-
- public void sendError(int i) throws IOException
- {
- }
-
- public void sendRedirect(String s) throws IOException
- {
- }
-
- public void setDateHeader(String s, long l)
- {
- }
-
- public void addDateHeader(String s, long l)
- {
- }
-
- public void setHeader(String s, String s1)
- {
- }
-
- public void addHeader(String s, String s1)
- {
- }
-
- public void setIntHeader(String s, int i)
- {
- }
-
- public void addIntHeader(String s, int i)
- {
- }
-
- public void setStatus(int i)
- {
- }
-
- public void setStatus(int i, String s)
- {
- }
-
- public String getCharacterEncoding()
- {
- return null;
- }
-
- public ServletOutputStream getOutputStream() throws IOException
- {
- return null;
- }
-
- public PrintWriter getWriter() throws IOException
- {
- return null;
- }
-
- public void setContentLength(int i)
- {
- }
-
- public void setContentType(String s)
- {
- }
-
- public void setBufferSize(int i)
- {
- }
-
- public int getBufferSize()
- {
- return 0;
- }
-
- public void flushBuffer() throws IOException
- {
- }
-
- public void resetBuffer()
- {
- }
-
- public boolean isCommitted()
- {
- return false;
- }
-
- public void reset()
- {
- }
-
- public void setLocale(Locale locale)
- {
- }
-
- public Locale getLocale()
- {
- return null;
- }
-
- public void setCharacterEncoding(String charset)
- {
- }
-
- public String getContentType()
- {
- return null;
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/EmptyResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,178 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.Locale;
+
+import javax.servlet.ServletOutputStream;
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ * Date: Jul 29, 2003
+ * Time: 5:44:28 PM
+ */
+public class EmptyResponse implements HttpServletResponse
+{
+
+ public void addCookie(Cookie cookie)
+ {
+ }
+
+ public boolean containsHeader(String s)
+ {
+ return false;
+ }
+
+ public String encodeURL(String s)
+ {
+ return null;
+ }
+
+ public String encodeRedirectURL(String s)
+ {
+ return null;
+ }
+
+ public String encodeUrl(String s)
+ {
+ return null;
+ }
+
+ public String encodeRedirectUrl(String s)
+ {
+ return null;
+ }
+
+ public void sendError(int i, String s) throws IOException
+ {
+ }
+
+ public void sendError(int i) throws IOException
+ {
+ }
+
+ public void sendRedirect(String s) throws IOException
+ {
+ }
+
+ public void setDateHeader(String s, long l)
+ {
+ }
+
+ public void addDateHeader(String s, long l)
+ {
+ }
+
+ public void setHeader(String s, String s1)
+ {
+ }
+
+ public void addHeader(String s, String s1)
+ {
+ }
+
+ public void setIntHeader(String s, int i)
+ {
+ }
+
+ public void addIntHeader(String s, int i)
+ {
+ }
+
+ public void setStatus(int i)
+ {
+ }
+
+ public void setStatus(int i, String s)
+ {
+ }
+
+ public String getCharacterEncoding()
+ {
+ return null;
+ }
+
+ public ServletOutputStream getOutputStream() throws IOException
+ {
+ return null;
+ }
+
+ public PrintWriter getWriter() throws IOException
+ {
+ return null;
+ }
+
+ public void setContentLength(int i)
+ {
+ }
+
+ public void setContentType(String s)
+ {
+ }
+
+ public void setBufferSize(int i)
+ {
+ }
+
+ public int getBufferSize()
+ {
+ return 0;
+ }
+
+ public void flushBuffer() throws IOException
+ {
+ }
+
+ public void resetBuffer()
+ {
+ }
+
+ public boolean isCommitted()
+ {
+ return false;
+ }
+
+ public void reset()
+ {
+ }
+
+ public void setLocale(Locale locale)
+ {
+ }
+
+ public Locale getLocale()
+ {
+ return null;
+ }
+
+ public void setCharacterEncoding(String charset)
+ {
+ }
+
+ public String getContentType()
+ {
+ return null;
+ }
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,65 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.util.Enumeration;
-
-import javax.servlet.FilterConfig;
-import javax.servlet.ServletContext;
-
-/**
- * Created by The eXo Platform SAS .
- * @author Gennady Azarenkov
- * @version $Id: $
- */
-
-public class MockFilterConfig implements FilterConfig
-{
-
- private ServletContext servletContext;
-
- public MockFilterConfig(ServletContext servletContext)
- {
- super();
- this.servletContext = servletContext;
- }
-
- public String getFilterName()
- {
- return "mock-filter";
- }
-
- public String getInitParameter(String arg0)
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public Enumeration getInitParameterNames()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public ServletContext getServletContext()
- {
- return servletContext;
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockFilterConfig.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,65 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.util.Enumeration;
+
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletContext;
+
+/**
+ * Created by The eXo Platform SAS .
+ * @author Gennady Azarenkov
+ * @version $Id: $
+ */
+
+public class MockFilterConfig implements FilterConfig
+{
+
+ private ServletContext servletContext;
+
+ public MockFilterConfig(ServletContext servletContext)
+ {
+ super();
+ this.servletContext = servletContext;
+ }
+
+ public String getFilterName()
+ {
+ return "mock-filter";
+ }
+
+ public String getInitParameter(String arg0)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Enumeration getInitParameterNames()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public ServletContext getServletContext()
+ {
+ return servletContext;
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,260 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Locale;
-
-import javax.servlet.ServletOutputStream;
-import javax.servlet.http.Cookie;
-import javax.servlet.http.HttpServletResponse;
-
-/**
- * Created by The eXo Platform SAS .
- * @author Gennady Azarenkov
- * @version $Id: $
- */
-
-public class MockHttpServletResponse implements HttpServletResponse
-{
-
- private PrintWriter writer;
-
- private ByteArrayOutputStream stream;
-
- private ByteArrayServletOutputStream output;
-
- public MockHttpServletResponse()
- {
- stream = new ByteArrayOutputStream();
- writer = new PrintWriter(stream);
- output = new ByteArrayServletOutputStream(stream);
- }
-
- public String getOutputContent()
- {
- return new String(stream.toByteArray());
- }
-
- public void flushBuffer() throws IOException
- {
- // TODO Auto-generated method stub
-
- }
-
- public int getBufferSize()
- {
- // TODO Auto-generated method stub
- return 0;
- }
-
- public ServletOutputStream getOutputStream() throws IOException
- {
- return this.output;
- }
-
- public PrintWriter getWriter() throws IOException
- {
- return this.writer;
- }
-
- public boolean isCommitted()
- {
- return false;
- }
-
- public void reset()
- {
- // TODO Auto-generated method stub
-
- }
-
- public void resetBuffer()
- {
- // TODO Auto-generated method stub
-
- }
-
- public void addCookie(Cookie arg0)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void addDateHeader(String arg0, long arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void addHeader(String arg0, String arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void addIntHeader(String arg0, int arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public boolean containsHeader(String arg0)
- {
- // TODO Auto-generated method stub
- return false;
- }
-
- public String encodeRedirectURL(String arg0)
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public String encodeRedirectUrl(String arg0)
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public String encodeURL(String arg0)
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public String encodeUrl(String arg0)
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public void sendError(int arg0) throws IOException
- {
- // TODO Auto-generated method stub
-
- }
-
- public void sendError(int arg0, String arg1) throws IOException
- {
- // TODO Auto-generated method stub
-
- }
-
- public void sendRedirect(String arg0) throws IOException
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setDateHeader(String arg0, long arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setHeader(String arg0, String arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setIntHeader(String arg0, int arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setStatus(int arg0)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setStatus(int arg0, String arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public String getCharacterEncoding()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public Locale getLocale()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public void setBufferSize(int arg0)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setContentLength(int arg0)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setContentType(String arg0)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void setLocale(Locale arg0)
- {
- // TODO Auto-generated method stub
-
- }
-
- private static class ByteArrayServletOutputStream extends ServletOutputStream
- {
- ByteArrayOutputStream baos;
-
- public ByteArrayServletOutputStream(ByteArrayOutputStream baos)
- {
- this.baos = baos;
- }
-
- public void write(int i) throws IOException
- {
- baos.write(i);
- }
- }
-
- public String getContentType()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- public void setCharacterEncoding(String arg0)
- {
- // TODO Auto-generated method stub
-
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpServletResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,260 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.Locale;
+
+import javax.servlet.ServletOutputStream;
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Created by The eXo Platform SAS .
+ * @author Gennady Azarenkov
+ * @version $Id: $
+ */
+
+public class MockHttpServletResponse implements HttpServletResponse
+{
+
+ private PrintWriter writer;
+
+ private ByteArrayOutputStream stream;
+
+ private ByteArrayServletOutputStream output;
+
+ public MockHttpServletResponse()
+ {
+ stream = new ByteArrayOutputStream();
+ writer = new PrintWriter(stream);
+ output = new ByteArrayServletOutputStream(stream);
+ }
+
+ public String getOutputContent()
+ {
+ return new String(stream.toByteArray());
+ }
+
+ public void flushBuffer() throws IOException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public int getBufferSize()
+ {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ public ServletOutputStream getOutputStream() throws IOException
+ {
+ return this.output;
+ }
+
+ public PrintWriter getWriter() throws IOException
+ {
+ return this.writer;
+ }
+
+ public boolean isCommitted()
+ {
+ return false;
+ }
+
+ public void reset()
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void resetBuffer()
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addCookie(Cookie arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addDateHeader(String arg0, long arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addHeader(String arg0, String arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addIntHeader(String arg0, int arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean containsHeader(String arg0)
+ {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public String encodeRedirectURL(String arg0)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String encodeRedirectUrl(String arg0)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String encodeURL(String arg0)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String encodeUrl(String arg0)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void sendError(int arg0) throws IOException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void sendError(int arg0, String arg1) throws IOException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void sendRedirect(String arg0) throws IOException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setDateHeader(String arg0, long arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setHeader(String arg0, String arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setIntHeader(String arg0, int arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setStatus(int arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setStatus(int arg0, String arg1)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public String getCharacterEncoding()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Locale getLocale()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void setBufferSize(int arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setContentLength(int arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setContentType(String arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void setLocale(Locale arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ private static class ByteArrayServletOutputStream extends ServletOutputStream
+ {
+ ByteArrayOutputStream baos;
+
+ public ByteArrayServletOutputStream(ByteArrayOutputStream baos)
+ {
+ this.baos = baos;
+ }
+
+ public void write(int i) throws IOException
+ {
+ baos.write(i);
+ }
+ }
+
+ public String getContentType()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void setCharacterEncoding(String arg0)
+ {
+ // TODO Auto-generated method stub
+
+ }
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,123 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.servlet.ServletContext;
-import javax.servlet.http.HttpSession;
-import javax.servlet.http.HttpSessionContext;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- * Date: Jul 27, 2003
- * Time: 2:13:09 AM
- */
-public class MockHttpSession implements HttpSession
-{
-
- private Map map = new HashMap();
-
- public long getCreationTime()
- {
- return 0;
- }
-
- public String getId()
- {
- return "MockSessionId";
- }
-
- public long getLastAccessedTime()
- {
- return 0;
- }
-
- public ServletContext getServletContext()
- {
- return null;
- }
-
- public void setMaxInactiveInterval(int i)
- {
- }
-
- public int getMaxInactiveInterval()
- {
- return 0;
- }
-
- public HttpSessionContext getSessionContext()
- {
- return null;
- }
-
- public Object getAttribute(String s)
- {
- return map.get(s);
- }
-
- public Object getValue(String s)
- {
- return null;
- }
-
- public Enumeration getAttributeNames()
- {
- return new Vector(map.keySet()).elements();
- }
-
- public String[] getValueNames()
- {
- return new String[0];
- }
-
- public void setAttribute(String s, Object o)
- {
- map.put(s, o);
- }
-
- public void putValue(String s, Object o)
- {
- }
-
- public void removeAttribute(String s)
- {
- map.remove(s);
- }
-
- public void removeValue(String s)
- {
- }
-
- public void invalidate()
- {
- }
-
- public boolean isNew()
- {
- return false;
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockHttpSession.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,123 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Vector;
+
+import javax.servlet.ServletContext;
+import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpSessionContext;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ * Date: Jul 27, 2003
+ * Time: 2:13:09 AM
+ */
+public class MockHttpSession implements HttpSession
+{
+
+ private Map map = new HashMap();
+
+ public long getCreationTime()
+ {
+ return 0;
+ }
+
+ public String getId()
+ {
+ return "MockSessionId";
+ }
+
+ public long getLastAccessedTime()
+ {
+ return 0;
+ }
+
+ public ServletContext getServletContext()
+ {
+ return null;
+ }
+
+ public void setMaxInactiveInterval(int i)
+ {
+ }
+
+ public int getMaxInactiveInterval()
+ {
+ return 0;
+ }
+
+ public HttpSessionContext getSessionContext()
+ {
+ return null;
+ }
+
+ public Object getAttribute(String s)
+ {
+ return map.get(s);
+ }
+
+ public Object getValue(String s)
+ {
+ return null;
+ }
+
+ public Enumeration getAttributeNames()
+ {
+ return new Vector(map.keySet()).elements();
+ }
+
+ public String[] getValueNames()
+ {
+ return new String[0];
+ }
+
+ public void setAttribute(String s, Object o)
+ {
+ map.put(s, o);
+ }
+
+ public void putValue(String s, Object o)
+ {
+ }
+
+ public void removeAttribute(String s)
+ {
+ map.remove(s);
+ }
+
+ public void removeValue(String s)
+ {
+ }
+
+ public void invalidate()
+ {
+ }
+
+ public boolean isNew()
+ {
+ return false;
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,37 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-/**
- * @author Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- *
- */
-public class MockPrincipal implements java.security.Principal
-{
-
- /*
- * @see java.security.Principal#getName()
- */
- public String getName()
- {
- return "PrincipalMackName";
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockPrincipal.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+/**
+ * @author Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ *
+ */
+public class MockPrincipal implements java.security.Principal
+{
+
+ /*
+ * @see java.security.Principal#getName()
+ */
+ public String getName()
+ {
+ return "PrincipalMackName";
+ }
+
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,196 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.Vector;
-
-import javax.servlet.RequestDispatcher;
-import javax.servlet.Servlet;
-import javax.servlet.ServletContext;
-import javax.servlet.ServletException;
-
-/**
- * Created by The eXo Platform SARL . Author : Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net Date: Jul 25, 2003 Time: 12:26:58 AM
- */
-public class MockServletContext implements ServletContext {
-
- private String name_;
-
- private HashMap initParams_;
-
- private HashMap attributes_;
-
- private String contextPath_;
-
- private StringBuffer logBuffer = new StringBuffer();
-
- public MockServletContext() {
- this("portlet_app_1");
- }
-
- public MockServletContext(String name) {
- name_ = name;
- initParams_ = new HashMap();
- attributes_ = new HashMap();
- }
-
- public MockServletContext(String name, String path) {
- this(name);
- contextPath_ = path;
- attributes_.put("javax.servlet.context.tempdir", path);
- }
-
- public void setName(String name) {
- name_ = name;
- }
-
- public String getLogBuffer() {
- try {
- return logBuffer.toString();
- } finally {
- logBuffer = new StringBuffer();
- }
- }
-
- public ServletContext getContext(String s) {
- return null;
- }
-
- public int getMajorVersion() {
- return 2;
- }
-
- public int getMinorVersion() {
- return 3;
- }
-
- public String getMimeType(String s) {
- return "text/html";
- }
-
- public Set getResourcePaths(String s) {
- Set set = new HashSet();
- set.add("/test1");
- set.add("/WEB-INF");
- set.add("/test2");
- return set;
- }
-
- public URL getResource(String s) throws MalformedURLException {
- String path = "file:" + contextPath_ + s;
- URL url = new URL(path);
- return url;
- }
-
- public InputStream getResourceAsStream(String s) {
- try {
- return getResource(s).openStream();
- } catch (IOException e) {
- e.printStackTrace();
- }
- return null;
- }
-
- public RequestDispatcher getRequestDispatcher(String s) {
- return null;
- }
-
- public RequestDispatcher getNamedDispatcher(String s) {
- return null;
- }
-
- public Servlet getServlet(String s) throws ServletException {
- return null;
- }
-
- public Enumeration getServlets() {
- return null;
- }
-
- public Enumeration getServletNames() {
- return null;
- }
-
- public void log(String s) {
- logBuffer.append(s);
- }
-
- public void log(Exception e, String s) {
- logBuffer.append(s + e.getMessage());
- }
-
- public void log(String s, Throwable throwable) {
- logBuffer.append(s + throwable.getMessage());
- }
-
- public void setContextPath(String s) {
- contextPath_ = s;
- }
-
- public String getRealPath(String s) {
- return contextPath_ + s;
- }
-
- public String getServerInfo() {
- return null;
- }
-
- public void setInitParameter(String name, String value) {
- initParams_.put(name, value);
- }
-
- public String getInitParameter(String name) {
- return (String) initParams_.get(name);
- }
-
- public Enumeration getInitParameterNames() {
- Vector keys = new Vector(initParams_.keySet());
- return keys.elements();
- }
-
- public Object getAttribute(String name) {
- return attributes_.get(name);
- }
-
- public Enumeration getAttributeNames() {
- Vector keys = new Vector(attributes_.keySet());
- return keys.elements();
- }
-
- public void setAttribute(String name, Object value) {
- attributes_.put(name, value);
- }
-
- public void removeAttribute(String name) {
- attributes_.remove(name);
- }
-
- public String getServletContextName() {
- return name_;
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletContext.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,196 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Set;
+import java.util.Vector;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.Servlet;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+
+/**
+ * Created by The eXo Platform SARL . Author : Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net Date: Jul 25, 2003 Time: 12:26:58 AM
+ */
+public class MockServletContext implements ServletContext {
+
+ private String name_;
+
+ private HashMap initParams_;
+
+ private HashMap attributes_;
+
+ private String contextPath_;
+
+ private StringBuffer logBuffer = new StringBuffer();
+
+ public MockServletContext() {
+ this("portlet_app_1");
+ }
+
+ public MockServletContext(String name) {
+ name_ = name;
+ initParams_ = new HashMap();
+ attributes_ = new HashMap();
+ }
+
+ public MockServletContext(String name, String path) {
+ this(name);
+ contextPath_ = path;
+ attributes_.put("javax.servlet.context.tempdir", path);
+ }
+
+ public void setName(String name) {
+ name_ = name;
+ }
+
+ public String getLogBuffer() {
+ try {
+ return logBuffer.toString();
+ } finally {
+ logBuffer = new StringBuffer();
+ }
+ }
+
+ public ServletContext getContext(String s) {
+ return null;
+ }
+
+ public int getMajorVersion() {
+ return 2;
+ }
+
+ public int getMinorVersion() {
+ return 3;
+ }
+
+ public String getMimeType(String s) {
+ return "text/html";
+ }
+
+ public Set getResourcePaths(String s) {
+ Set set = new HashSet();
+ set.add("/test1");
+ set.add("/WEB-INF");
+ set.add("/test2");
+ return set;
+ }
+
+ public URL getResource(String s) throws MalformedURLException {
+ String path = "file:" + contextPath_ + s;
+ URL url = new URL(path);
+ return url;
+ }
+
+ public InputStream getResourceAsStream(String s) {
+ try {
+ return getResource(s).openStream();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ public RequestDispatcher getRequestDispatcher(String s) {
+ return null;
+ }
+
+ public RequestDispatcher getNamedDispatcher(String s) {
+ return null;
+ }
+
+ public Servlet getServlet(String s) throws ServletException {
+ return null;
+ }
+
+ public Enumeration getServlets() {
+ return null;
+ }
+
+ public Enumeration getServletNames() {
+ return null;
+ }
+
+ public void log(String s) {
+ logBuffer.append(s);
+ }
+
+ public void log(Exception e, String s) {
+ logBuffer.append(s + e.getMessage());
+ }
+
+ public void log(String s, Throwable throwable) {
+ logBuffer.append(s + throwable.getMessage());
+ }
+
+ public void setContextPath(String s) {
+ contextPath_ = s;
+ }
+
+ public String getRealPath(String s) {
+ return contextPath_ + s;
+ }
+
+ public String getServerInfo() {
+ return null;
+ }
+
+ public void setInitParameter(String name, String value) {
+ initParams_.put(name, value);
+ }
+
+ public String getInitParameter(String name) {
+ return (String) initParams_.get(name);
+ }
+
+ public Enumeration getInitParameterNames() {
+ Vector keys = new Vector(initParams_.keySet());
+ return keys.elements();
+ }
+
+ public Object getAttribute(String name) {
+ return attributes_.get(name);
+ }
+
+ public Enumeration getAttributeNames() {
+ Vector keys = new Vector(attributes_.keySet());
+ return keys.elements();
+ }
+
+ public void setAttribute(String name, Object value) {
+ attributes_.put(name, value);
+ }
+
+ public void removeAttribute(String name) {
+ attributes_.remove(name);
+ }
+
+ public String getServletContextName() {
+ return name_;
+ }
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,380 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.security.Principal;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Locale;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.servlet.RequestDispatcher;
-import javax.servlet.ServletInputStream;
-import javax.servlet.http.Cookie;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpSession;
-
-/**
- * Created by The eXo Platform SARL Author : Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net Date: Jul 29, 2003 Time: 12:44:53 PM
- */
-
-public class MockServletRequest implements HttpServletRequest {
-
- private Map parameters;
-
- private Map attributes;
-
- private HttpSession session;
-
- private Locale locale;
-
- private boolean secure;
-
- private Map headers;
-
- private String enc = "ISO-8859-1";
-
- private String pathInfo_;
-
- private String requestURI_;
-
- private URL url;
-
- private String method = "GET";
-
- private String contextPath = "";
-
- private String remoteUser = "REMOTE USER FROM MOCK";
-
- public MockServletRequest(HttpSession session, Locale locale) {
-
- this(session, locale, false);
-
- }
-
- public MockServletRequest(HttpSession session, Locale locale, boolean secure) {
-
- this(session, null, null, locale, secure);
- }
-
- public MockServletRequest(HttpSession session,
- URL url,
- String contextPath,
- Locale locale,
- boolean secure) {
- this.session = session;
- this.locale = locale;
- headers = new HashMap();
- Collection headersMultiple = new ArrayList();
- headersMultiple.add("header-value3-1");
- headersMultiple.add("header-value3-2");
- headersMultiple.add("header-value3-3");
- headers.put("header1", "header-value1");
- headers.put("header2", "header-value2");
- headers.put("header3", headersMultiple);
- parameters = new HashMap();
- attributes = new HashMap();
- this.secure = secure;
- if (url == null) {
- try {
- this.url = new URL("http://exoplatform.com:80/context/path?q=v");
- this.contextPath = "/context";
- } catch (MalformedURLException e) {
- }
- } else {
- this.url = url;
- this.contextPath = contextPath;
- }
- }
-
- public void reset() {
- parameters = new HashMap();
- attributes = new HashMap();
- }
-
- public String getAuthType() {
- return DIGEST_AUTH;
- }
-
- public Cookie[] getCookies() {
- return new Cookie[0];
- }
-
- public long getDateHeader(String s) {
- return 0;
- }
-
- public String getHeader(String s) {
- return (String) headers.get(s);
- }
-
- public Enumeration getHeaders(String s) {
- if (headers.get(s) instanceof Collection)
- return Collections.enumeration((Collection) headers.get(s));
- else {
- Vector v = new Vector();
- v.add(headers.get(s));
- return v.elements();
- }
- }
-
- public Enumeration getHeaderNames() {
- return Collections.enumeration(headers.keySet());
- }
-
- public int getIntHeader(String s) {
- return 0;
- }
-
- public String getMethod() {
-
- return method;
- }
-
- public String getPathInfo() {
- return pathInfo_;
- }
-
- public void setPathInfo(String s) {
- pathInfo_ = s;
- }
-
- public String getPathTranslated() {
- return null;
- }
-
- public String getContextPath() {
- return contextPath;
- }
-
- public String getQueryString() {
- return url.getQuery();
- }
-
- public String getRemoteUser() {
- return remoteUser;
- }
-
- public void setRemoteUser(String remoteUser) {
- this.remoteUser = remoteUser;
- }
-
- public boolean isUserInRole(String s) {
- if ("auth-user".equals(s))
- return true;
- else
- return false;
- }
-
- public Principal getUserPrincipal() {
- return new MockPrincipal();
- }
-
- public String getRequestedSessionId() {
- return null;
- }
-
- public String getRequestURI() {
- if (this.requestURI_ == null)
- return url.getPath();
- else
- return requestURI_;
- }
-
- public void setRequestURI(String s) {
- this.requestURI_ = s;
- }
-
- public StringBuffer getRequestURL() {
- return new StringBuffer(url.toString());
- }
-
- public String getServletPath() {
- return url.getPath();
- }
-
- public HttpSession getSession(boolean b) {
- return session;
- }
-
- public HttpSession getSession() {
- return session;
- }
-
- public boolean isRequestedSessionIdValid() {
- return false;
- }
-
- public boolean isRequestedSessionIdFromCookie() {
- return false;
- }
-
- public boolean isRequestedSessionIdFromURL() {
- return false;
- }
-
- public boolean isRequestedSessionIdFromUrl() {
- return false;
- }
-
- public Object getAttribute(String s) {
- return attributes.get(s);
- }
-
- public Enumeration getAttributeNames() {
- return new Vector(attributes.keySet()).elements();
- }
-
- public String getCharacterEncoding() {
- return enc;
- }
-
- public void setCharacterEncoding(String s) throws UnsupportedEncodingException {
- enc = s;
- }
-
- public int getContentLength() {
- return 0;
- }
-
- public String getContentType() {
- return null;
- }
-
- public ServletInputStream getInputStream() throws IOException {
- return null;
- }
-
- public String getParameter(String s) {
- return (String) parameters.get(s);
- }
-
- public void setParameter(String s, Object value) {
- parameters.put(s, value);
- }
-
- public Enumeration getParameterNames() {
- return new Vector(parameters.keySet()).elements();
- }
-
- public String[] getParameterValues(String s) {
-
- ArrayList<String> arr = new ArrayList<String>();
- Iterator it = parameters.keySet().iterator();
- while (it.hasNext()) {
-
- String pname = (String) it.next();
- if (pname.equals(s))
- arr.add((String) parameters.get(s));
- }
- return arr.toArray(new String[arr.size()]);
-
- }
-
- public Map getParameterMap() {
- return parameters;
- }
-
- public String getProtocol() {
- return null;
- }
-
- public String getScheme() {
- return url.getProtocol();
- }
-
- public String getServerName() {
- return url.getHost();
- }
-
- public int getServerPort() {
- return url.getPort();
- }
-
- public BufferedReader getReader() throws IOException {
- return null;
- }
-
- public String getRemoteAddr() {
- return null;
- }
-
- public String getRemoteHost() {
- return null;
- }
-
- public void setAttribute(String s, Object o) {
- attributes.put(s, o);
- }
-
- public void removeAttribute(String s) {
- attributes.remove(s);
- }
-
- public Locale getLocale() {
- return locale;
- }
-
- public Enumeration getLocales() {
- System.out.println("MOCK get Locale : " + locale);
- Vector v = new Vector();
- v.add(locale);
- return v.elements();
- }
-
- public boolean isSecure() {
- return secure;
- }
-
- public RequestDispatcher getRequestDispatcher(String s) {
- return null;
- }
-
- public String getRealPath(String s) {
- return null;
- }
-
- // servlet 2.4 method
- public int getLocalPort() {
- return 0;
- }
-
- public String getLocalAddr() {
- return "127.0.0.1";
- }
-
- public String getLocalName() {
- return "localhost";
- }
-
- public int getRemotePort() {
- return 0;
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletRequest.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,380 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.security.Principal;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Vector;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletInputStream;
+import javax.servlet.http.Cookie;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpSession;
+
+/**
+ * Created by The eXo Platform SARL Author : Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net Date: Jul 29, 2003 Time: 12:44:53 PM
+ */
+
+public class MockServletRequest implements HttpServletRequest {
+
+ private Map parameters;
+
+ private Map attributes;
+
+ private HttpSession session;
+
+ private Locale locale;
+
+ private boolean secure;
+
+ private Map headers;
+
+ private String enc = "ISO-8859-1";
+
+ private String pathInfo_;
+
+ private String requestURI_;
+
+ private URL url;
+
+ private String method = "GET";
+
+ private String contextPath = "";
+
+ private String remoteUser = "REMOTE USER FROM MOCK";
+
+ public MockServletRequest(HttpSession session, Locale locale) {
+
+ this(session, locale, false);
+
+ }
+
+ public MockServletRequest(HttpSession session, Locale locale, boolean secure) {
+
+ this(session, null, null, locale, secure);
+ }
+
+ public MockServletRequest(HttpSession session,
+ URL url,
+ String contextPath,
+ Locale locale,
+ boolean secure) {
+ this.session = session;
+ this.locale = locale;
+ headers = new HashMap();
+ Collection headersMultiple = new ArrayList();
+ headersMultiple.add("header-value3-1");
+ headersMultiple.add("header-value3-2");
+ headersMultiple.add("header-value3-3");
+ headers.put("header1", "header-value1");
+ headers.put("header2", "header-value2");
+ headers.put("header3", headersMultiple);
+ parameters = new HashMap();
+ attributes = new HashMap();
+ this.secure = secure;
+ if (url == null) {
+ try {
+ this.url = new URL("http://exoplatform.com:80/context/path?q=v");
+ this.contextPath = "/context";
+ } catch (MalformedURLException e) {
+ }
+ } else {
+ this.url = url;
+ this.contextPath = contextPath;
+ }
+ }
+
+ public void reset() {
+ parameters = new HashMap();
+ attributes = new HashMap();
+ }
+
+ public String getAuthType() {
+ return DIGEST_AUTH;
+ }
+
+ public Cookie[] getCookies() {
+ return new Cookie[0];
+ }
+
+ public long getDateHeader(String s) {
+ return 0;
+ }
+
+ public String getHeader(String s) {
+ return (String) headers.get(s);
+ }
+
+ public Enumeration getHeaders(String s) {
+ if (headers.get(s) instanceof Collection)
+ return Collections.enumeration((Collection) headers.get(s));
+ else {
+ Vector v = new Vector();
+ v.add(headers.get(s));
+ return v.elements();
+ }
+ }
+
+ public Enumeration getHeaderNames() {
+ return Collections.enumeration(headers.keySet());
+ }
+
+ public int getIntHeader(String s) {
+ return 0;
+ }
+
+ public String getMethod() {
+
+ return method;
+ }
+
+ public String getPathInfo() {
+ return pathInfo_;
+ }
+
+ public void setPathInfo(String s) {
+ pathInfo_ = s;
+ }
+
+ public String getPathTranslated() {
+ return null;
+ }
+
+ public String getContextPath() {
+ return contextPath;
+ }
+
+ public String getQueryString() {
+ return url.getQuery();
+ }
+
+ public String getRemoteUser() {
+ return remoteUser;
+ }
+
+ public void setRemoteUser(String remoteUser) {
+ this.remoteUser = remoteUser;
+ }
+
+ public boolean isUserInRole(String s) {
+ if ("auth-user".equals(s))
+ return true;
+ else
+ return false;
+ }
+
+ public Principal getUserPrincipal() {
+ return new MockPrincipal();
+ }
+
+ public String getRequestedSessionId() {
+ return null;
+ }
+
+ public String getRequestURI() {
+ if (this.requestURI_ == null)
+ return url.getPath();
+ else
+ return requestURI_;
+ }
+
+ public void setRequestURI(String s) {
+ this.requestURI_ = s;
+ }
+
+ public StringBuffer getRequestURL() {
+ return new StringBuffer(url.toString());
+ }
+
+ public String getServletPath() {
+ return url.getPath();
+ }
+
+ public HttpSession getSession(boolean b) {
+ return session;
+ }
+
+ public HttpSession getSession() {
+ return session;
+ }
+
+ public boolean isRequestedSessionIdValid() {
+ return false;
+ }
+
+ public boolean isRequestedSessionIdFromCookie() {
+ return false;
+ }
+
+ public boolean isRequestedSessionIdFromURL() {
+ return false;
+ }
+
+ public boolean isRequestedSessionIdFromUrl() {
+ return false;
+ }
+
+ public Object getAttribute(String s) {
+ return attributes.get(s);
+ }
+
+ public Enumeration getAttributeNames() {
+ return new Vector(attributes.keySet()).elements();
+ }
+
+ public String getCharacterEncoding() {
+ return enc;
+ }
+
+ public void setCharacterEncoding(String s) throws UnsupportedEncodingException {
+ enc = s;
+ }
+
+ public int getContentLength() {
+ return 0;
+ }
+
+ public String getContentType() {
+ return null;
+ }
+
+ public ServletInputStream getInputStream() throws IOException {
+ return null;
+ }
+
+ public String getParameter(String s) {
+ return (String) parameters.get(s);
+ }
+
+ public void setParameter(String s, Object value) {
+ parameters.put(s, value);
+ }
+
+ public Enumeration getParameterNames() {
+ return new Vector(parameters.keySet()).elements();
+ }
+
+ public String[] getParameterValues(String s) {
+
+ ArrayList<String> arr = new ArrayList<String>();
+ Iterator it = parameters.keySet().iterator();
+ while (it.hasNext()) {
+
+ String pname = (String) it.next();
+ if (pname.equals(s))
+ arr.add((String) parameters.get(s));
+ }
+ return arr.toArray(new String[arr.size()]);
+
+ }
+
+ public Map getParameterMap() {
+ return parameters;
+ }
+
+ public String getProtocol() {
+ return null;
+ }
+
+ public String getScheme() {
+ return url.getProtocol();
+ }
+
+ public String getServerName() {
+ return url.getHost();
+ }
+
+ public int getServerPort() {
+ return url.getPort();
+ }
+
+ public BufferedReader getReader() throws IOException {
+ return null;
+ }
+
+ public String getRemoteAddr() {
+ return null;
+ }
+
+ public String getRemoteHost() {
+ return null;
+ }
+
+ public void setAttribute(String s, Object o) {
+ attributes.put(s, o);
+ }
+
+ public void removeAttribute(String s) {
+ attributes.remove(s);
+ }
+
+ public Locale getLocale() {
+ return locale;
+ }
+
+ public Enumeration getLocales() {
+ System.out.println("MOCK get Locale : " + locale);
+ Vector v = new Vector();
+ v.add(locale);
+ return v.elements();
+ }
+
+ public boolean isSecure() {
+ return secure;
+ }
+
+ public RequestDispatcher getRequestDispatcher(String s) {
+ return null;
+ }
+
+ public String getRealPath(String s) {
+ return null;
+ }
+
+ // servlet 2.4 method
+ public int getLocalPort() {
+ return 0;
+ }
+
+ public String getLocalAddr() {
+ return "127.0.0.1";
+ }
+
+ public String getLocalName() {
+ return "localhost";
+ }
+
+ public int getRemotePort() {
+ return 0;
+ }
+}
Deleted: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,133 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.mocks.servlet;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Locale;
-
-import javax.servlet.ServletOutputStream;
-import javax.servlet.http.HttpServletResponse;
-import javax.servlet.http.HttpServletResponseWrapper;
-
-/**
- * Created by The eXo Platform SARL
- * Author : Mestrallet Benjamin
- * benjmestrallet(a)users.sourceforge.net
- * Date: Jul 29, 2003
- * Time: 6:54:45 PM
- */
-public class MockServletResponse extends HttpServletResponseWrapper
-{
-
- private PrintWriter tmpWriter;
-
- private ByteArrayOutputStream output;
-
- private ByteArrayServletOutputStream servletOutput;
-
- private Locale locale_;
-
- public MockServletResponse(HttpServletResponse httpServletResponse)
- {
- super(httpServletResponse);
- output = new ByteArrayOutputStream();
- tmpWriter = new PrintWriter(output);
- servletOutput = new ByteArrayServletOutputStream(output);
- }
-
- public void finalize() throws Throwable
- {
- super.finalize();
- servletOutput.close();
- output.close();
- tmpWriter.close();
- }
-
- public String getPortletContent()
- {
- String s = output.toString();
- reset();
- return s;
- }
-
- /*
- public PrintWriter getWriter() throws IOException {
- //return servletResponse.getWriter();
- return tmpWriter;
- }
-
- public ServletOutputStream getOutputStream() throws IOException {
- return servletOutput;
- }
- */
-
- public byte[] toByteArray()
- {
- return output.toByteArray();
- }
-
- public String getOutputContent()
- {
- return new String(output.toByteArray());
- }
-
- public void flushBuffer() throws IOException
- {
- tmpWriter.flush();
- servletOutput.flush();
- }
-
- public void reset()
- {
- output.reset();
- }
-
- public void close() throws IOException
- {
- tmpWriter.close();
- }
-
- private static class ByteArrayServletOutputStream extends ServletOutputStream
- {
- ByteArrayOutputStream baos;
-
- public ByteArrayServletOutputStream(ByteArrayOutputStream baos)
- {
- this.baos = baos;
- }
-
- public void write(int i) throws IOException
- {
- baos.write(i);
- }
- }
-
- public Locale getLocale()
- {
- return locale_;
- }
-
- public void setLocale(java.util.Locale loc)
- {
- locale_ = loc;
- }
-
-}
Copied: junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/main/java/org/exoplatform/test/mocks/servlet/MockServletResponse.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,133 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.mocks.servlet;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.Locale;
+
+import javax.servlet.ServletOutputStream;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpServletResponseWrapper;
+
+/**
+ * Created by The eXo Platform SARL
+ * Author : Mestrallet Benjamin
+ * benjmestrallet(a)users.sourceforge.net
+ * Date: Jul 29, 2003
+ * Time: 6:54:45 PM
+ */
+public class MockServletResponse extends HttpServletResponseWrapper
+{
+
+ private PrintWriter tmpWriter;
+
+ private ByteArrayOutputStream output;
+
+ private ByteArrayServletOutputStream servletOutput;
+
+ private Locale locale_;
+
+ public MockServletResponse(HttpServletResponse httpServletResponse)
+ {
+ super(httpServletResponse);
+ output = new ByteArrayOutputStream();
+ tmpWriter = new PrintWriter(output);
+ servletOutput = new ByteArrayServletOutputStream(output);
+ }
+
+ public void finalize() throws Throwable
+ {
+ super.finalize();
+ servletOutput.close();
+ output.close();
+ tmpWriter.close();
+ }
+
+ public String getPortletContent()
+ {
+ String s = output.toString();
+ reset();
+ return s;
+ }
+
+ /*
+ public PrintWriter getWriter() throws IOException {
+ //return servletResponse.getWriter();
+ return tmpWriter;
+ }
+
+ public ServletOutputStream getOutputStream() throws IOException {
+ return servletOutput;
+ }
+ */
+
+ public byte[] toByteArray()
+ {
+ return output.toByteArray();
+ }
+
+ public String getOutputContent()
+ {
+ return new String(output.toByteArray());
+ }
+
+ public void flushBuffer() throws IOException
+ {
+ tmpWriter.flush();
+ servletOutput.flush();
+ }
+
+ public void reset()
+ {
+ output.reset();
+ }
+
+ public void close() throws IOException
+ {
+ tmpWriter.close();
+ }
+
+ private static class ByteArrayServletOutputStream extends ServletOutputStream
+ {
+ ByteArrayOutputStream baos;
+
+ public ByteArrayServletOutputStream(ByteArrayOutputStream baos)
+ {
+ this.baos = baos;
+ }
+
+ public void write(int i) throws IOException
+ {
+ baos.write(i);
+ }
+ }
+
+ public Locale getLocale()
+ {
+ return locale_;
+ }
+
+ public void setLocale(java.util.Locale loc)
+ {
+ locale_ = loc;
+ }
+
+}
Copied: junit.framework/tags/1.2.1-CR2/src/test (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test)
Copied: junit.framework/tags/1.2.1-CR2/src/test/java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java)
Copied: junit.framework/tags/1.2.1-CR2/src/test/java/org (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java/org)
Copied: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform)
Copied: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test)
Copied: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15 (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15)
Deleted: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,59 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.jvm15;
-
-/**
- * Apr 22, 2004
- * @author: Tuan Nguyen
- * @email: tuan08(a)users.sourceforge.net
- * @version: $Id: Dummy.java 5799 2006-05-28 17:55:42Z geaz $
- **/
-public class Dummy
-{
- private String str;
-
- public Dummy()
- {
- this.str = new String("test");
- }
-
- public void setter(String str)
- {
- this.str = str;
- }
-
- public String getter()
- {
- return this.str;
- }
-
- synchronized public String getterSynchronized()
- {
- return str;
- }
-
- synchronized public void setterSynchronized(String s)
- {
- str = s;
- }
-
- public void empty()
- {
- }
-}
\ No newline at end of file
Copied: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/Dummy.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,59 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.jvm15;
+
+/**
+ * Apr 22, 2004
+ * @author: Tuan Nguyen
+ * @email: tuan08(a)users.sourceforge.net
+ * @version: $Id: Dummy.java 5799 2006-05-28 17:55:42Z geaz $
+ **/
+public class Dummy
+{
+ private String str;
+
+ public Dummy()
+ {
+ this.str = new String("test");
+ }
+
+ public void setter(String str)
+ {
+ this.str = str;
+ }
+
+ public String getter()
+ {
+ return this.str;
+ }
+
+ synchronized public String getterSynchronized()
+ {
+ return str;
+ }
+
+ synchronized public void setterSynchronized(String s)
+ {
+ str = s;
+ }
+
+ public void empty()
+ {
+ }
+}
\ No newline at end of file
Deleted: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java 2010-02-12 16:44:20 UTC (rev 1786)
+++ junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -1,211 +0,0 @@
-/*
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.exoplatform.test.jvm15;
-
-import junit.framework.TestCase;
-import net.sf.cglib.reflect.FastClass;
-import net.sf.cglib.reflect.FastMethod;
-
-import java.lang.management.ManagementFactory;
-import java.lang.management.ThreadMXBean;
-import java.lang.reflect.Method;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Apr 22, 2004
- * @author: Tuan Nguyen
- * @email: tuan08(a)users.sourceforge.net
- * @version: $Id: TestMemthodInvokation.java 5799 2006-05-28 17:55:42Z geaz $
- **/
-public class TestMemthodInvokation extends TestCase
-{
- private ThreadMXBean threadBean_;
-
- public TestMemthodInvokation()
- {
- threadBean_ = ManagementFactory.getThreadMXBean();
- }
-
- public void testBenchMark() throws Exception
- {
- for (int i = 0; i < 2; i++)
- {
- int loop = i * 5 + 10;
- singleInstruction(loop);
- emptyMethodCall(loop);
- directCall(loop);
- directSynchronizedCall(loop);
- newObject(loop);
- reflectionCall("setter", loop);
- reflectionCall("setterSynchronized", loop);
- reflectionMethodCall("setter", loop);
- reflectionMethodCall("setterSynchronized", loop);
- reflectionMethodCallCache("setter", loop);
- reflectionMethodCallCache("setterSynchronized", loop);
- reflectionMethodCallCGLIB("getter", loop);
- reflectionFastMethod("getter", loop);
- System.out.println("===========================================================");
- }
- }
-
- private void singleInstruction(int numOfCall)
- {
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- int a = i;
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("singleInstruction()", numOfCall, start, end);
- }
-
- private void emptyMethodCall(int numOfCall)
- {
- Dummy dummy = new Dummy();
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- dummy.empty();
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("emptyMethodCall()", numOfCall, start, end);
- }
-
- private void directCall(int numOfCall)
- {
- Dummy dummy = new Dummy();
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- dummy.setter("dummy");
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("directCall()", numOfCall, start, end);
- }
-
- private void newObject(int numOfCall)
- {
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- Dummy dummy = new Dummy();
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("newObject()", numOfCall, start, end);
- }
-
- private void directSynchronizedCall(int numOfCall)
- {
- Dummy dummy = new Dummy();
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- dummy.setterSynchronized("dummy");
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("directSynchronizedCall()", numOfCall, start, end);
- }
-
- private void reflectionCall(String methodName, int numOfCall) throws Exception
- {
- Object dummy = new Dummy();
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- Class[] types = {String.class};
- Object[] args = {"dummy"};
- for (int i = 0; i < numOfCall; i++)
- {
- Method method = dummy.getClass().getMethod(methodName, types);
- method.invoke(dummy, args);
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("reflectionCall(), method: " + methodName, numOfCall, start, end);
- }
-
- private void reflectionMethodCall(String methodName, int numOfCall) throws Exception
- {
- Dummy dummy = new Dummy();
- Method method = dummy.getClass().getMethod(methodName, new Class[]{String.class});
- Class[] types = {String.class};
- Object[] args = {"dummy"};
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- method.invoke(dummy, args);
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("reflectionMethodCall(), method: " + methodName, numOfCall, start, end);
- }
-
- private void reflectionMethodCallCache(String methodName, int numOfCall) throws Exception
- {
- Dummy dummy = new Dummy();
- Map map = new HashMap();
- Method method = dummy.getClass().getMethod(methodName, new Class[]{String.class});
- map.put(methodName, method);
- Object[] args = {"dummy"};
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- Method m = (Method)map.get(methodName);
- m.invoke(dummy, args);
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("reflectionCallMethodCache(), method: " + methodName, numOfCall, start, end);
- }
-
- private void reflectionMethodCallCGLIB(String methodName, int numOfCall) throws Exception
- {
- FastClass fc = FastClass.create(Dummy.class);
- Dummy dummy = new Dummy();
- Object[] args = {"dummy"};
- Class[] emptyType = {};
- Object[] emptyArgs = {};
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- fc.invoke(methodName, emptyType, dummy, emptyArgs);
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("reflectionCallMethodCGLIB(), method: " + methodName, numOfCall, start, end);
- }
-
- private void reflectionFastMethod(String methodName, int numOfCall) throws Exception
- {
- Class[] emptyType = {};
- Object[] emptyArgs = {};
- FastClass fc = FastClass.create(Dummy.class);
- FastMethod fm = fc.getMethod(methodName, emptyType);
- Dummy dummy = new Dummy();
- Object[] args = {"dummy"};
- long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- for (int i = 0; i < numOfCall; i++)
- {
- Object o = fm.invoke(dummy, null);
- }
- long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
- printInfo("reflectionFastMethod(), method: " + methodName, numOfCall, start, end);
- }
-
- private void printInfo(String method, int numOfCall, long start, long end)
- {
- System.out.println("Call method " + method + " " + numOfCall + " times in " + ((double)(end - start))
- / (1000 * 1000) + "ms");
- }
-}
Copied: junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java (from rev 1786, junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java)
===================================================================
--- junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java (rev 0)
+++ junit.framework/tags/1.2.1-CR2/src/test/java/org/exoplatform/test/jvm15/TestMemthodInvokation.java 2010-02-15 16:56:01 UTC (rev 1827)
@@ -0,0 +1,211 @@
+/*
+ * Copyright (C) 2009 eXo Platform SAS.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.exoplatform.test.jvm15;
+
+import junit.framework.TestCase;
+import net.sf.cglib.reflect.FastClass;
+import net.sf.cglib.reflect.FastMethod;
+
+import java.lang.management.ManagementFactory;
+import java.lang.management.ThreadMXBean;
+import java.lang.reflect.Method;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Apr 22, 2004
+ * @author: Tuan Nguyen
+ * @email: tuan08(a)users.sourceforge.net
+ * @version: $Id: TestMemthodInvokation.java 5799 2006-05-28 17:55:42Z geaz $
+ **/
+public class TestMemthodInvokation extends TestCase
+{
+ private ThreadMXBean threadBean_;
+
+ public TestMemthodInvokation()
+ {
+ threadBean_ = ManagementFactory.getThreadMXBean();
+ }
+
+ public void testBenchMark() throws Exception
+ {
+ for (int i = 0; i < 2; i++)
+ {
+ int loop = i * 5 + 10;
+ singleInstruction(loop);
+ emptyMethodCall(loop);
+ directCall(loop);
+ directSynchronizedCall(loop);
+ newObject(loop);
+ reflectionCall("setter", loop);
+ reflectionCall("setterSynchronized", loop);
+ reflectionMethodCall("setter", loop);
+ reflectionMethodCall("setterSynchronized", loop);
+ reflectionMethodCallCache("setter", loop);
+ reflectionMethodCallCache("setterSynchronized", loop);
+ reflectionMethodCallCGLIB("getter", loop);
+ reflectionFastMethod("getter", loop);
+ System.out.println("===========================================================");
+ }
+ }
+
+ private void singleInstruction(int numOfCall)
+ {
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ int a = i;
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("singleInstruction()", numOfCall, start, end);
+ }
+
+ private void emptyMethodCall(int numOfCall)
+ {
+ Dummy dummy = new Dummy();
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ dummy.empty();
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("emptyMethodCall()", numOfCall, start, end);
+ }
+
+ private void directCall(int numOfCall)
+ {
+ Dummy dummy = new Dummy();
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ dummy.setter("dummy");
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("directCall()", numOfCall, start, end);
+ }
+
+ private void newObject(int numOfCall)
+ {
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ Dummy dummy = new Dummy();
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("newObject()", numOfCall, start, end);
+ }
+
+ private void directSynchronizedCall(int numOfCall)
+ {
+ Dummy dummy = new Dummy();
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ dummy.setterSynchronized("dummy");
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("directSynchronizedCall()", numOfCall, start, end);
+ }
+
+ private void reflectionCall(String methodName, int numOfCall) throws Exception
+ {
+ Object dummy = new Dummy();
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ Class[] types = {String.class};
+ Object[] args = {"dummy"};
+ for (int i = 0; i < numOfCall; i++)
+ {
+ Method method = dummy.getClass().getMethod(methodName, types);
+ method.invoke(dummy, args);
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("reflectionCall(), method: " + methodName, numOfCall, start, end);
+ }
+
+ private void reflectionMethodCall(String methodName, int numOfCall) throws Exception
+ {
+ Dummy dummy = new Dummy();
+ Method method = dummy.getClass().getMethod(methodName, new Class[]{String.class});
+ Class[] types = {String.class};
+ Object[] args = {"dummy"};
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ method.invoke(dummy, args);
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("reflectionMethodCall(), method: " + methodName, numOfCall, start, end);
+ }
+
+ private void reflectionMethodCallCache(String methodName, int numOfCall) throws Exception
+ {
+ Dummy dummy = new Dummy();
+ Map map = new HashMap();
+ Method method = dummy.getClass().getMethod(methodName, new Class[]{String.class});
+ map.put(methodName, method);
+ Object[] args = {"dummy"};
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ Method m = (Method)map.get(methodName);
+ m.invoke(dummy, args);
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("reflectionCallMethodCache(), method: " + methodName, numOfCall, start, end);
+ }
+
+ private void reflectionMethodCallCGLIB(String methodName, int numOfCall) throws Exception
+ {
+ FastClass fc = FastClass.create(Dummy.class);
+ Dummy dummy = new Dummy();
+ Object[] args = {"dummy"};
+ Class[] emptyType = {};
+ Object[] emptyArgs = {};
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ fc.invoke(methodName, emptyType, dummy, emptyArgs);
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("reflectionCallMethodCGLIB(), method: " + methodName, numOfCall, start, end);
+ }
+
+ private void reflectionFastMethod(String methodName, int numOfCall) throws Exception
+ {
+ Class[] emptyType = {};
+ Object[] emptyArgs = {};
+ FastClass fc = FastClass.create(Dummy.class);
+ FastMethod fm = fc.getMethod(methodName, emptyType);
+ Dummy dummy = new Dummy();
+ Object[] args = {"dummy"};
+ long start = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ for (int i = 0; i < numOfCall; i++)
+ {
+ Object o = fm.invoke(dummy, null);
+ }
+ long end = threadBean_.getThreadCpuTime(Thread.currentThread().getId());
+ printInfo("reflectionFastMethod(), method: " + methodName, numOfCall, start, end);
+ }
+
+ private void printInfo(String method, int numOfCall, long start, long end)
+ {
+ System.out.println("Call method " + method + " " + numOfCall + " times in " + ((double)(end - start))
+ / (1000 * 1000) + "ms");
+ }
+}
14 years, 4 months
exo-jcr SVN: r1826 - in jcr/trunk: docs and 7 other directories.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 10:46:28 -0500 (Mon, 15 Feb 2010)
New Revision: 1826
Added:
jcr/trunk/docs/
jcr/trunk/docs/pom.xml
jcr/trunk/docs/reference/
jcr/trunk/docs/reference/en/
jcr/trunk/docs/reference/en/pom.xml
jcr/trunk/docs/reference/en/src/
jcr/trunk/docs/reference/en/src/main/
jcr/trunk/docs/reference/en/src/main/docbook/
jcr/trunk/docs/reference/en/src/main/docbook/master.xml
jcr/trunk/docs/reference/en/src/main/docbook/modules/
jcr/trunk/docs/reference/en/src/main/docbook/modules/architecture.xml
jcr/trunk/docs/reference/en/src/main/docbook/modules/configuration.xml
jcr/trunk/docs/reference/en/src/main/docbook/modules/intro.xml
jcr/trunk/docs/reference/en/src/main/resources/
jcr/trunk/docs/reference/en/src/main/resources/images/
jcr/trunk/docs/reference/pom.xml
Log:
EXOJCR-512 eXoJCR documentation space
Added: jcr/trunk/docs/pom.xml
===================================================================
--- jcr/trunk/docs/pom.xml (rev 0)
+++ jcr/trunk/docs/pom.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,41 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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">
+ <parent>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-GA-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>docs</artifactId>
+
+ <name>eXoJCR project documentation</name>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>reference</module>
+ <!-- module>userguide</module>
+ <module>migrationguide</module>
+ <module>faq</module -->
+ </modules>
+</project>
Property changes on: jcr/trunk/docs/reference/en
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
Added: jcr/trunk/docs/reference/en/pom.xml
===================================================================
--- jcr/trunk/docs/reference/en/pom.xml (rev 0)
+++ jcr/trunk/docs/reference/en/pom.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,61 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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">
+ <parent>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>reference-docs</artifactId>
+ <version>1.12.0-GA-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>reference-docs-${translation}</artifactId>
+
+ <name>eXoJCR reference documentation (${translation})</name>
+ <packaging>jar</packaging>
+
+ <properties>
+ <translation>en</translation>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+
+ <build>
+ <finalName>${project.parent.artifactId}_${translation}-${version}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0-beta-2</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: jcr/trunk/docs/reference/en/src/main/docbook/master.xml
===================================================================
--- jcr/trunk/docs/reference/en/src/main/docbook/master.xml (rev 0)
+++ jcr/trunk/docs/reference/en/src/main/docbook/master.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+<book lang="en">
+
+<!-- DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY intro SYSTEM "modules/intro.xml">
+ <!ENTITY architecture SYSTEM "modules/architecture.xml">
+ <!ENTITY configuration SYSTEM "modules/configuration.xml">
+] -->
+
+<!-- adopted from http://anonsvn.jboss.org/repos/gatein/portal/trunk/docs/reference-guide/e...
+and https://svn.jboss.org/repos/richfaces/tags/3.3.2.GA/docs/userguide/en/src... -->
+
+<book lang="en">
+ <bookinfo>
+ <title>eXoJCR Reference Manual</title>
+ <!-- corpauthor>
+ <inlinemediaobject>
+ <imageobject role="fo">
+ <imagedata format="PNG" fileref="images/richfaces_logo.png" />
+ </imageobject>
+ <imageobject role="html">
+ <imagedata/>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor -->
+ <subtitle>Java Content Repository and Extension services</subtitle>
+ <copyright>
+ <year>2009, 20010</year>
+ <holder>eXoPlatform</holder>
+ </copyright>
+
+<!-- PDF version -->
+<abstract>
+ <title/>
+ <para>
+ <ulink url="../pdf/richfaces_reference.pdf">PDF version</ulink>
+ </para>
+</abstract>
+
+ </bookinfo>
+
+ <toc/>
+
+ <!--
+ Table of content in Wiki Format <xi:include
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="modules/Portal_Manual.xml" />
+ -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modules/intro.xml" />
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modules/architecture.xml" />
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modules/configuration.xml" />
+
+<!--
+ &intro;
+ &architecture;
+ &configuration;
+-->
+
+</book>
+
Added: jcr/trunk/docs/reference/en/src/main/docbook/modules/architecture.xml
===================================================================
--- jcr/trunk/docs/reference/en/src/main/docbook/modules/architecture.xml (rev 0)
+++ jcr/trunk/docs/reference/en/src/main/docbook/modules/architecture.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="architecture" xreflabel="architectural">
+ <?dbhtml filename="architecture.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JCR</keyword>
+ <keyword>eXoJCR</keyword>
+ <keyword>etc</keyword>
+ </keywordset>
+ </chapterinfo>
+ <title>Basic concepts of eXoJCR</title>
+</chapter>
Added: jcr/trunk/docs/reference/en/src/main/docbook/modules/configuration.xml
===================================================================
--- jcr/trunk/docs/reference/en/src/main/docbook/modules/configuration.xml (rev 0)
+++ jcr/trunk/docs/reference/en/src/main/docbook/modules/configuration.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="configuration" xreflabel="configuration">
+ <?dbhtml filename="configuration.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JCR</keyword>
+ <keyword>eXoJCR</keyword>
+ <keyword>etc</keyword>
+ </keywordset>
+ </chapterinfo>
+ <title>Configuration of the eXoJCR</title>
+</chapter>
Added: jcr/trunk/docs/reference/en/src/main/docbook/modules/intro.xml
===================================================================
--- jcr/trunk/docs/reference/en/src/main/docbook/modules/intro.xml (rev 0)
+++ jcr/trunk/docs/reference/en/src/main/docbook/modules/intro.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="Introduction" xreflabel="Introduction">
+<?dbhtml filename="Introduction.html"?>
+
+ <chapterinfo>
+ <keywordset>
+ <keyword>JCR</keyword>
+ <keyword>eXoJCR</keyword>
+ <keyword>etc</keyword>
+ <keyword>developer guide</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Introduction</title>
+
+</chapter>
Added: jcr/trunk/docs/reference/pom.xml
===================================================================
--- jcr/trunk/docs/reference/pom.xml (rev 0)
+++ jcr/trunk/docs/reference/pom.xml 2010-02-15 15:46:28 UTC (rev 1826)
@@ -0,0 +1,38 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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">
+ <parent>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>docs</artifactId>
+ <version>1.12.0-GA-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>reference-docs</artifactId>
+
+ <name>eXoJCR reference documentation</name>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>en</module>
+ </modules>
+</project>
14 years, 4 months
exo-jcr SVN: r1825 - jcr/tags/1.12.0-CR2.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 09:37:51 -0500 (Mon, 15 Feb 2010)
New Revision: 1825
Modified:
jcr/tags/1.12.0-CR2/readme.txt
Log:
EXOJCR-469 readme (2)
Modified: jcr/tags/1.12.0-CR2/readme.txt
===================================================================
--- jcr/tags/1.12.0-CR2/readme.txt 2010-02-15 14:36:26 UTC (rev 1824)
+++ jcr/tags/1.12.0-CR2/readme.txt 2010-02-15 14:37:51 UTC (rev 1825)
@@ -15,6 +15,7 @@
- Lot of WebDAV server bugfixes
- HTTP (RESTful) Backup agent with concole client
- HTTP (RESTful) Repository management service
+- Support of Java6 and Java5 runtime and development environment
eXoJCR 1.12.0 tested in on the many databases:
MySQL 5.1 MYSQL Connector/J 5.1.8
14 years, 4 months
exo-jcr SVN: r1824 - jcr/tags/1.12.0-CR2.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 09:36:26 -0500 (Mon, 15 Feb 2010)
New Revision: 1824
Added:
jcr/tags/1.12.0-CR2/readme.txt
Log:
EXOJCR-469 readme
Added: jcr/tags/1.12.0-CR2/readme.txt
===================================================================
--- jcr/tags/1.12.0-CR2/readme.txt (rev 0)
+++ jcr/tags/1.12.0-CR2/readme.txt 2010-02-15 14:36:26 UTC (rev 1824)
@@ -0,0 +1,106 @@
+JCR 1.12.0-CR2 release notes
+============================
+
+eXoPlatform Java Content Repository (JSR-170) implementation and Extension services with clustering support.
+
+Features of eXoJCR 1.12.0 comparing to 1.11.2:
+- Repository clustering based on JBossCache and JBoss Transactions.
+- Lazy-load option for child nodes and properties read, improved items dataflow for read/write operations
+- Alternative data container optimized for read operations (consuming less database queries)
+- Database dialect can be autodetected (if not pointed in the configuration)
+- Support for Values large of 2GiB
+- Concurrency improvements for Session registry and Values stroage
+- Improved serach based on Lucene 2.4
+- WebDAV server update-policy can be configured to different versioning behaviour
+- Lot of WebDAV server bugfixes
+- HTTP (RESTful) Backup agent with concole client
+- HTTP (RESTful) Repository management service
+
+eXoJCR 1.12.0 tested in on the many databases:
+ MySQL 5.1 MYSQL Connector/J 5.1.8
+ Oracle DB 10g (10.2.0.1) Oracle 10g (10.2.0.1)
+ PostgresSQL 8.3.7 JDBC4 Driver, Version 8.3-605
+ DB2 9,7 IBM Data Server Driver for JDBC and SQLJ (JCC Driver) Version: 9.1 (fixpack 3a)
+ MS SQL Server 2005 SP3 JDBC Driver 2.0
+ MS SQL Server 2008 SP1 JDBC Driver 2.0
+ Sybase 15.0.2 JConnect v6.0.5 (Build 26564 / 11 Jun 2009)
+
+eXoPlatform Java Content Repository (JSR-170) implementation and
+Extension services.
+Includes:
+* eXo JUnit Framework 1.2.1-CR2
+* eXo Kernel 2.2.0-CR2
+* eXo Core 2.3.0-CR2
+* eXo WS 2.1.0-CR2
+* eXo JCR 1.12.0-CR2
+
+Find all 1.12.0 task on JIRA:
+https://jira.jboss.org/jira/browse/EXOJCR
+
+CR2 tasks:
+https://jira.jboss.org/jira/browse/EXOJCR/fixforversion/12314456
+
+
+JCR Samples
+===========
+
+1. Start Up (Tomcat)
+ Tomcat 6 bundled can be started by executing the following commands:
+
+ $CATALINA_HOME\bin\eXo.bat run (Windows)
+
+ $CATALINA_HOME/bin/eXo.sh run (Unix)
+
+2. After startup, the sample applications will be available by visiting:
+
+ http://localhost:8080/browser - Simple JCR browser
+ Browse the JCR repository that was started with Tomcat
+ http://localhost:8080/fckeditor - FCK editor sample
+ Edits the sample node using FCKEditor and browse it JCR browser
+ http://localhost:8080/rest/jcr/repository/production - WebDAV service,
+ Open in Microsoft Explorer, File-Open-OpenAsWebFolder with url http://localhost:8080/rest/jcr/repository/production
+ Add/read/remove files there and browse it in the JCR browser or FTP.
+ User name/password: root/exo
+ ftp://localhost:2121 - FTP server
+ Open the repository in FTP client and browse the JCR repository started with Tomcat as FTP content,
+ add/read/remove files there and browse it in the JCR browser or WebDAV.
+
+EAR deploy
+==========
+
+eXo JCR was tested under JBoss-5.1.0.GA application server
+
+JBoss-5.1.0.GA
+
+ 1. Configuration
+
+ * Copy <jcr.ear> into <%jboss_home%/server/default/deploy>
+ * Put exo-configuration.xml to the root <%jboss_home%/exo-configuration.xml
+ * Configure JAAS by inserting XML fragment shown below into <%jboss_home%/server/default/conf/login-config.xml>
+
+---------
+<application-policy name="exo-domain">
+ <authentication>
+ <login-module code="org.exoplatform.services.security.j2ee.JbossLoginModule" flag="required"></login-module>
+ </authentication>
+ </application-policy>
+---------
+
+ 2. [Only for JBossAS 4.x] replace <%jboss_home%/server/default/lib/hsqldb.jar> with newest one from this distribution (hsqldb-1.8.0.7.jar).
+ 3. Start Up
+
+ Execute
+ * bin/run.bat on Windows
+ or
+ * bin/run.sh on Unix
+
+Resources
+=========
+
+ Company site http://www.exoplatform.com
+ Documentation wiki http://wiki.exoplatform.org
+ Community JIRA https://jira.jboss.org/jira/browse/EXOJCR, http://jira.exoplatform.org
+ Comminity site http://www.exoplatform.org
+ Community forum http://www.exoplatform.com/portal/public/en/forum
+ JavaDoc site http://docs.exoplatform.org
+
\ No newline at end of file
14 years, 4 months
exo-jcr SVN: r1823 - in jcr/tags/1.12.0-CR2: applications/java/exo.jcr.applications.backupconsole/bin and 1 other directories.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 09:32:22 -0500 (Mon, 15 Feb 2010)
New Revision: 1823
Modified:
jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.cmd
jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.sh
jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jboss-ear.xml
jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jonas-ear.xml
jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-tomcat6.xml
jcr/tags/1.12.0-CR2/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml
Log:
EXOJCR-469 versions
Modified: jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.cmd
===================================================================
--- jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.cmd 2010-02-15 14:11:20 UTC (rev 1822)
+++ jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.cmd 2010-02-15 14:32:22 UTC (rev 1823)
@@ -1 +1 @@
-java -jar exo.jcr.applications.backupconsole-1.12.0-GA-SNAPSHOT.jar %*
+java -jar exo.jcr.applications.backupconsole-1.12.0-CR2.jar %*
Modified: jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.sh
===================================================================
--- jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.sh 2010-02-15 14:11:20 UTC (rev 1822)
+++ jcr/tags/1.12.0-CR2/applications/java/exo.jcr.applications.backupconsole/bin/jcrbackup.sh 2010-02-15 14:32:22 UTC (rev 1823)
@@ -1,3 +1,3 @@
#!/bin/sh
-java -jar exo.jcr.applications.backupconsole-1.12.0-GA-SNAPSHOT.jar $*
+java -jar exo.jcr.applications.backupconsole-1.12.0-CR2.jar $*
Modified: jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jboss-ear.xml
===================================================================
--- jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jboss-ear.xml 2010-02-15 14:11:20 UTC (rev 1822)
+++ jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jboss-ear.xml 2010-02-15 14:32:22 UTC (rev 1823)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>exo.jcr.applications.config</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
+ <version>1.12.0-CR2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -40,7 +40,7 @@
<dependency>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>exo.jcr.ear</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
+ <version>1.12.0-CR2</version>
<type>ear</type>
<scope>runtime</scope>
</dependency>
Modified: jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jonas-ear.xml
===================================================================
--- jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jonas-ear.xml 2010-02-15 14:11:20 UTC (rev 1822)
+++ jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-jonas-ear.xml 2010-02-15 14:32:22 UTC (rev 1823)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>exo.jcr.applications.config</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
+ <version>1.12.0-CR2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -40,7 +40,7 @@
<dependency>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>exo.jcr.ear</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
+ <version>1.12.0-CR2</version>
<type>ear</type>
<scope>runtime</scope>
</dependency>
Modified: jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-tomcat6.xml
===================================================================
--- jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-tomcat6.xml 2010-02-15 14:11:20 UTC (rev 1822)
+++ jcr/tags/1.12.0-CR2/applications/product-exo-jcr-as-tomcat6.xml 2010-02-15 14:32:22 UTC (rev 1823)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>exo.jcr.applications.config</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
+ <version>1.12.0-CR2</version>
<relativePath>exo.jcr.applications.config</relativePath>
</parent>
Modified: jcr/tags/1.12.0-CR2/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml
===================================================================
--- jcr/tags/1.12.0-CR2/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml 2010-02-15 14:11:20 UTC (rev 1822)
+++ jcr/tags/1.12.0-CR2/exo.jcr.connectors.localadapter/src/main/rar/META-INF/ra.xml 2010-02-15 14:32:22 UTC (rev 1823)
@@ -25,7 +25,7 @@
<display-name>JCR repository</display-name>
<vendor-name>exoplatform</vendor-name>
<eis-type />
- <resourceadapter-version>1.12.0-GA-SNAPSHOT</resourceadapter-version>
+ <resourceadapter-version>1.12.0-CR2</resourceadapter-version>
<license>
<license-required>false</license-required>
</license>
14 years, 4 months
exo-jcr SVN: r1822 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache.
by do-not-reply@jboss.org
Author: nzamosenchuk
Date: 2010-02-15 09:11:20 -0500 (Mon, 15 Feb 2010)
New Revision: 1822
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ParentNodeEvictionActionPolicy.java
Log:
EXOJCR-507: Fix committed. Need to use PEEK instead of getNode
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ParentNodeEvictionActionPolicy.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ParentNodeEvictionActionPolicy.java 2010-02-15 11:22:21 UTC (rev 1821)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ParentNodeEvictionActionPolicy.java 2010-02-15 14:11:20 UTC (rev 1822)
@@ -78,7 +78,7 @@
// We use the method getChildrenNamesDirect to avoid going through
// the interceptor chain (EXOJCR-460)
- Set<Object> names = ((CacheSPI)cache).getNode(parentFqn).getChildrenNamesDirect();
+ Set<Object> names = ((CacheSPI)cache).peek(parentFqn, false).getChildrenNamesDirect();
if (names.isEmpty() || (names.size() == 1 && names.contains(fqn.get(2))))
{
if (log.isTraceEnabled())
14 years, 4 months
exo-jcr SVN: r1821 - in jcr/trunk: applications/cluster.test.client and 15 other directories.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 06:22:21 -0500 (Mon, 15 Feb 2010)
New Revision: 1821
Modified:
jcr/trunk/applications/cluster.test.client/pom.xml
jcr/trunk/applications/exo.jcr.applications.config/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml
jcr/trunk/applications/java/exo.jcr.ear/pom.xml
jcr/trunk/exo.jcr.component.core/pom.xml
jcr/trunk/exo.jcr.component.ext/pom.xml
jcr/trunk/exo.jcr.component.ftp/pom.xml
jcr/trunk/exo.jcr.component.webdav/pom.xml
jcr/trunk/exo.jcr.connectors.localadapter/pom.xml
jcr/trunk/exo.jcr.framework.command/pom.xml
jcr/trunk/exo.jcr.framework.ftpclient/pom.xml
jcr/trunk/exo.jcr.framework.web/pom.xml
jcr/trunk/packaging/module/pom.xml
jcr/trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: jcr/trunk/applications/cluster.test.client/pom.xml
===================================================================
--- jcr/trunk/applications/cluster.test.client/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/cluster.test.client/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.component.cluster.test.client</artifactId>
<name>eXo JCR :: Cluster :: Test Client</name>
Modified: jcr/trunk/applications/exo.jcr.applications.config/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>exo.jcr.applications.config</artifactId>
Modified: jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.backupconsole</artifactId>
<name>eXo JCR :: Application :: Backup Console</name>
Modified: jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.browser</artifactId>
<packaging>war</packaging>
Modified: jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.fckeditor</artifactId>
<packaging>war</packaging>
Modified: jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.applications.rest</artifactId>
<packaging>war</packaging>
Modified: jcr/trunk/applications/java/exo.jcr.ear/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.ear/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/applications/java/exo.jcr.ear/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.ear</artifactId>
<packaging>ear</packaging>
Modified: jcr/trunk/exo.jcr.component.core/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.component.core/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.component.core</artifactId>
<name>eXo JCR :: Component :: Core Service</name>
Modified: jcr/trunk/exo.jcr.component.ext/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.ext/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.component.ext/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.component.ext</artifactId>
<name>eXo JCR :: Component :: Extension Service</name>
Modified: jcr/trunk/exo.jcr.component.ftp/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.ftp/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.component.ftp/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.component.ftp</artifactId>
<name>eXo JCR :: Component :: FTP Service</name>
Modified: jcr/trunk/exo.jcr.component.webdav/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.webdav/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.component.webdav/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.component.webdav</artifactId>
<name>eXo JCR :: Component :: Webdav Service</name>
Modified: jcr/trunk/exo.jcr.connectors.localadapter/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.connectors.localadapter/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.connectors.localadapter/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.connectors.localadapter</artifactId>
<packaging>rar</packaging>
Modified: jcr/trunk/exo.jcr.framework.command/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.command/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.framework.command/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.framework.command</artifactId>
<name>eXo JCR :: Framework :: Command</name>
Modified: jcr/trunk/exo.jcr.framework.ftpclient/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.ftpclient/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.framework.ftpclient/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.framework.ftpclient</artifactId>
<name>eXo JCR :: Framework :: FTP Client</name>
Modified: jcr/trunk/exo.jcr.framework.web/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.web/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/exo.jcr.framework.web/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>exo.jcr.framework.web</artifactId>
<name>eXo JCR :: Framework :: Web</name>
Modified: jcr/trunk/packaging/module/pom.xml
===================================================================
--- jcr/trunk/packaging/module/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/packaging/module/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
</parent>
<artifactId>jcr.packaging.module</artifactId>
<packaging>pom</packaging>
Modified: jcr/trunk/pom.xml
===================================================================
--- jcr/trunk/pom.xml 2010-02-15 11:21:50 UTC (rev 1820)
+++ jcr/trunk/pom.xml 2010-02-15 11:22:21 UTC (rev 1821)
@@ -28,13 +28,13 @@
</parent>
<groupId>org.exoplatform.jcr</groupId>
<artifactId>jcr-parent</artifactId>
- <version>1.12.0-CR2</version>
+ <version>1.12.0-GA-SNAPSHOT</version>
<packaging>pom</packaging>
<name>eXo JCR</name>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/exo-jcr/jcr/tags/1.12.0-CR2</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/exo-jcr/jcr/tags/1.12.0-CR2</developerConnection>
- <url>https://svn.jboss.org/repos/exo-jcr/jcr/tags/1.12.0-CR2</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/exo-jcr/jcr/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/exo-jcr/jcr/trunk</developerConnection>
+ <url>https://svn.jboss.org/repos/exo-jcr/jcr/trunk</url>
</scm>
<properties>
<exo.product.name>exo-jcr</exo.product.name>
14 years, 4 months
exo-jcr SVN: r1820 - jcr/tags.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 06:21:50 -0500 (Mon, 15 Feb 2010)
New Revision: 1820
Added:
jcr/tags/1.12.0-CR2/
Log:
[maven-scm] copy for tag 1.12.0-CR2
Copied: jcr/tags/1.12.0-CR2 (from rev 1819, jcr/trunk)
14 years, 4 months
exo-jcr SVN: r1819 - in jcr/trunk: applications/cluster.test.client and 15 other directories.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-02-15 06:21:29 -0500 (Mon, 15 Feb 2010)
New Revision: 1819
Modified:
jcr/trunk/applications/cluster.test.client/pom.xml
jcr/trunk/applications/exo.jcr.applications.config/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml
jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml
jcr/trunk/applications/java/exo.jcr.ear/pom.xml
jcr/trunk/exo.jcr.component.core/pom.xml
jcr/trunk/exo.jcr.component.ext/pom.xml
jcr/trunk/exo.jcr.component.ftp/pom.xml
jcr/trunk/exo.jcr.component.webdav/pom.xml
jcr/trunk/exo.jcr.connectors.localadapter/pom.xml
jcr/trunk/exo.jcr.framework.command/pom.xml
jcr/trunk/exo.jcr.framework.ftpclient/pom.xml
jcr/trunk/exo.jcr.framework.web/pom.xml
jcr/trunk/packaging/module/pom.xml
jcr/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 1.12.0-CR2
Modified: jcr/trunk/applications/cluster.test.client/pom.xml
===================================================================
--- jcr/trunk/applications/cluster.test.client/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/cluster.test.client/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,66 +1,66 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.component.cluster.test.client</artifactId>
- <name>eXo JCR :: Cluster :: Test Client</name>
- <description>Cluster test client</description>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.commons</artifactId>
- </dependency>
- </dependencies>
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.component.cluster.test.client</artifactId>
+ <name>eXo JCR :: Cluster :: Test Client</name>
+ <description>Cluster test client</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.commons</artifactId>
+ </dependency>
+ </dependencies>
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/applications/exo.jcr.applications.config/pom.xml
===================================================================
--- jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/exo.jcr.applications.config/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,94 +1,94 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- <relativePath>../../</relativePath>
- </parent>
- <artifactId>exo.jcr.applications.config</artifactId>
- <packaging>pom</packaging>
- <name>eXo JCR :: Application</name>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.fckeditor</artifactId>
- <scope>runtime</scope>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.browser</artifactId>
- <scope>runtime</scope>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.rest</artifactId>
- <scope>runtime</scope>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ftp</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.webdav</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.command</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.web</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.ftpclient</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.frameworks.servlet</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>exo.jcr.applications.config</artifactId>
+ <packaging>pom</packaging>
+ <name>eXo JCR :: Application</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.fckeditor</artifactId>
+ <scope>runtime</scope>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.browser</artifactId>
+ <scope>runtime</scope>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.rest</artifactId>
+ <scope>runtime</scope>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ftp</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.webdav</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.command</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.ftpclient</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.frameworks.servlet</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+</project>
Modified: jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/java/exo.jcr.applications.backupconsole/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,102 +1,102 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.applications.backupconsole</artifactId>
- <name>eXo JCR :: Application :: Backup Console</name>
- <properties>
- <exo.test.includes>*</exo.test.includes>
- <childDelegation>true</childDelegation>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.frameworks.json</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jibx</groupId>
- <artifactId>jibx-run</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- <classpathPrefix>lib</classpathPrefix>
- <mainClass>org.exoplatform.jcr.backupconsole.BackupConsole</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>${basedir}/src/main/assemblies/binary-assembly.xml</descriptor>
- </descriptors>
- <finalName>backupconsole</finalName>
- </configuration>
- <executions>
- <execution>
- <id>binary</id>
- <phase>package</phase>
- <goals>
- <goal>directory-single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.applications.backupconsole</artifactId>
+ <name>eXo JCR :: Application :: Backup Console</name>
+ <properties>
+ <exo.test.includes>*</exo.test.includes>
+ <childDelegation>true</childDelegation>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.frameworks.json</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jibx</groupId>
+ <artifactId>jibx-run</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>jsr311-api</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>lib</classpathPrefix>
+ <mainClass>org.exoplatform.jcr.backupconsole.BackupConsole</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assemblies/binary-assembly.xml</descriptor>
+ </descriptors>
+ <finalName>backupconsole</finalName>
+ </configuration>
+ <executions>
+ <execution>
+ <id>binary</id>
+ <phase>package</phase>
+ <goals>
+ <goal>directory-single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/java/exo.jcr.applications.browser/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,94 +1,94 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.applications.browser</artifactId>
- <packaging>war</packaging>
- <name>eXo JCR :: Application :: Browser Demo</name>
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.web</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>browser</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <!-- This is broken in maven-war-plugin 2.0, works in 2.0.1 -->
- <warSourceExcludes>WEB-INF/no-lib/*.jar</warSourceExcludes>
- <archive>
- <manifest>
- <addClasspath>false</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.applications.browser</artifactId>
+ <packaging>war</packaging>
+ <name>eXo JCR :: Application :: Browser Demo</name>
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>browser</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <!-- This is broken in maven-war-plugin 2.0, works in 2.0.1 -->
+ <warSourceExcludes>WEB-INF/no-lib/*.jar</warSourceExcludes>
+ <archive>
+ <manifest>
+ <addClasspath>false</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/java/exo.jcr.applications.fckeditor/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,65 +1,65 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.applications.fckeditor</artifactId>
- <packaging>war</packaging>
- <name>eXo JCR :: Application :: FCKeditor Sample</name>
- <description>eXo simple CMS web app</description>
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.web</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>fckeditor</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <!-- This is broken in maven-war-plugin 2.0, works in 2.0.1 -->
- <warSourceExcludes>WEB-INF/*.jar</warSourceExcludes>
- <archive>
- <manifest>
- <addClasspath>false</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.applications.fckeditor</artifactId>
+ <packaging>war</packaging>
+ <name>eXo JCR :: Application :: FCKeditor Sample</name>
+ <description>eXo simple CMS web app</description>
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>fckeditor</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <!-- This is broken in maven-war-plugin 2.0, works in 2.0.1 -->
+ <warSourceExcludes>WEB-INF/*.jar</warSourceExcludes>
+ <archive>
+ <manifest>
+ <addClasspath>false</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/java/exo.jcr.applications.rest/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,61 +1,61 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.applications.rest</artifactId>
- <packaging>war</packaging>
- <name>eXo JCR :: Application :: Rest Web</name>
- <description>eXo JCR Rest web application</description>
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.web</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>rest</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <!-- This is broken in maven-war-plugin 2.0, works in 2.0.1 -->
- <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
- <archive>
- <manifest>
- <addClasspath>false</addClasspath>
- <classpathPrefix>lib/</classpathPrefix>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.applications.rest</artifactId>
+ <packaging>war</packaging>
+ <name>eXo JCR :: Application :: Rest Web</name>
+ <description>eXo JCR Rest web application</description>
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>rest</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <!-- This is broken in maven-war-plugin 2.0, works in 2.0.1 -->
+ <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+ <archive>
+ <manifest>
+ <addClasspath>false</addClasspath>
+ <classpathPrefix>lib/</classpathPrefix>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/applications/java/exo.jcr.ear/pom.xml
===================================================================
--- jcr/trunk/applications/java/exo.jcr.ear/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/applications/java/exo.jcr.ear/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,119 +1,119 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.ear</artifactId>
- <packaging>ear</packaging>
- <name>eXo JCR :: EAR</name>
- <properties>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.connectors.localadapter</artifactId>
- <scope>runtime</scope>
- <type>rar</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.rest</artifactId>
- <scope>runtime</scope>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.browser</artifactId>
- <scope>runtime</scope>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.fckeditor</artifactId>
- <scope>runtime</scope>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.webdav</artifactId>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- <build>
- <finalName>exo-jcr-ear</finalName>
- <plugins>
- <plugin>
- <artifactId>maven-ear-plugin</artifactId>
- <configuration>
- <security>
- <security-role id="ID_EXO_USER">
- <description>a simple user role</description>
- <role-name>users</role-name>
- </security-role>
- <security-role id="ID_EXO_ADMIN">
- <description>a simple admin role</description>
- <role-name>administrators</role-name>
- </security-role>
- </security>
- <!-- all deps jars inside the rar, so copy all jars in-self -->
- <defaultLibBundleDir>../APP-INF/lib</defaultLibBundleDir>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- <modules>
- <rarModule>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.connectors.localadapter</artifactId>
- <bundleFileName>exo-jcr.rar</bundleFileName>
- </rarModule>
- <webModule>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.rest</artifactId>
- <bundleFileName>rest.war</bundleFileName>
- <contextRoot>rest</contextRoot>
- </webModule>
- <webModule>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.browser</artifactId>
- <bundleFileName>browser.war</bundleFileName>
- <contextRoot>browser</contextRoot>
- </webModule>
- <webModule>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.fckeditor</artifactId>
- <bundleFileName>fckeditor.war</bundleFileName>
- <contextRoot>fckeditor</contextRoot>
- <excluded>false</excluded>
- </webModule>
- </modules>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.ear</artifactId>
+ <packaging>ear</packaging>
+ <name>eXo JCR :: EAR</name>
+ <properties>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.connectors.localadapter</artifactId>
+ <scope>runtime</scope>
+ <type>rar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.rest</artifactId>
+ <scope>runtime</scope>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.browser</artifactId>
+ <scope>runtime</scope>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.fckeditor</artifactId>
+ <scope>runtime</scope>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.webdav</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>exo-jcr-ear</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <configuration>
+ <security>
+ <security-role id="ID_EXO_USER">
+ <description>a simple user role</description>
+ <role-name>users</role-name>
+ </security-role>
+ <security-role id="ID_EXO_ADMIN">
+ <description>a simple admin role</description>
+ <role-name>administrators</role-name>
+ </security-role>
+ </security>
+ <!-- all deps jars inside the rar, so copy all jars in-self -->
+ <defaultLibBundleDir>../APP-INF/lib</defaultLibBundleDir>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ <modules>
+ <rarModule>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.connectors.localadapter</artifactId>
+ <bundleFileName>exo-jcr.rar</bundleFileName>
+ </rarModule>
+ <webModule>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.rest</artifactId>
+ <bundleFileName>rest.war</bundleFileName>
+ <contextRoot>rest</contextRoot>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.browser</artifactId>
+ <bundleFileName>browser.war</bundleFileName>
+ <contextRoot>browser</contextRoot>
+ </webModule>
+ <webModule>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.fckeditor</artifactId>
+ <bundleFileName>fckeditor.war</bundleFileName>
+ <contextRoot>fckeditor</contextRoot>
+ <excluded>false</excluded>
+ </webModule>
+ </modules>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.component.core/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.component.core/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,703 +1,703 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.component.core</artifactId>
- <name>eXo JCR :: Component :: Core Service</name>
- <description>eXo JCR Service core component</description>
- <properties>
- <jcr.test.configuration.file>/conf/standalone/test-configuration.xml</jcr.test.configuration.file>
- </properties>
- <dependencies>
- <!-- JCR API -->
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.command</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.cache</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.organization.api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.document</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-spellchecker</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-memory</artifactId>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.stream</groupId>
- <artifactId>sjsxp</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <exclusions>
- <exclusion>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>commons-pool</groupId>
- <artifactId>commons-pool</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- </dependency>
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jibx</groupId>
- <artifactId>jibx-run</artifactId>
- </dependency>
- <dependency>
- <groupId>picocontainer</groupId>
- <artifactId>picocontainer</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.resource</groupId>
- <artifactId>connector-api</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- </dependency>
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- </dependency>
- <dependency>
- <groupId>jboss.jbossts</groupId>
- <artifactId>jbossjts</artifactId>
- </dependency>
- <dependency>
- <groupId>jboss.jbossts</groupId>
- <artifactId>jbossts-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.ws.commons</groupId>
- <artifactId>ws-commons-util</artifactId>
- <exclusions>
- <exclusion>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </exclusion>
- <exclusion>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.cluster.test.client</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- TCK binaries and deps for repo stub, some eXo API test -->
- <dependency>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>jackrabbit-jcr-tests</artifactId>
- <classifier>sources</classifier>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- ===== Databases JDBC support for tests ===== -->
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- For MySQL support -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.8</version>
- <scope>test</scope>
- </dependency>
- <!-- For PostgresSQL support -->
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>8.3-603.jdbc3</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <!-- dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>8.2-504.jdbc3</version>
- <scope>test</scope>
- </dependency -->
- <!-- For Oracle 10g support (local-jcr repository) -->
- <!-- dependency>
- <groupId>ojdbc</groupId>
- <artifactId>ojdbc</artifactId>
- <version>14</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>ojdbc</groupId>
- <artifactId>orai18n</artifactId>
- <version>14</version>
- <scope>test</scope>
- </dependency -->
- <!-- For IBM DB2 support (local-jcr repository) -->
- <!-- dependency>
- <groupId>com.ibm.db2</groupId>
- <artifactId>db2jcc</artifactId>
- <version>9.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.ibm.db2</groupId>
- <artifactId>db2jcc_license_cu</artifactId>
- <version>9.1</version>
- <scope>test</scope>
- </dependency -->
- <!-- For MS SQL 7/2000/2005 and Sybase ASE/Anywhere support (jTDS driver) -->
- <!-- dependency>
- <groupId>net.sourceforge.jtds</groupId>
- <artifactId>jtds</artifactId>
- <version>1.2</version>
- <scope>test</scope>
- </dependency -->
- <!-- For MS SQL 2005 support (Microsoft JDBC driver) (local-jcr repository) -->
- <!-- dependency>
- <groupId>com.microsoft.sqlserver</groupId>
- <artifactId>sqljdbc</artifactId>
- <version>9.0</version>
- <scope>test</scope>
- </dependency -->
- <!-- dependency>
- <groupId>com.microsoft</groupId>
- <artifactId>sqljdbc</artifactId>
- <version>2.0</version>
- <scope>test</scope>
- </dependency -->
- <!-- For Apache Derby support (aka JavaDB) -->
- <!-- dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.2.2.0</version>
- <scope>test</scope>
- </dependency -->
- <!-- H2 Database (not supported now) -->
- <!-- dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.0.74</version>
- <scope>test</scope>
- </dependency -->
- <!-- Ingres Database (local repository) -->
- <!-- dependency>
- <groupId>com.ingres.jdbc</groupId>
- <artifactId>iijdbc</artifactId>
- <version>9.2</version>
- <scope>test</scope>
- </dependency -->
- <!-- For Sybase ASE/Anywhere support (jConnect driver) (local-jcr repository) -->
- <!-- dependency>
- <groupId>com.sybase.jdbc3.jdbc</groupId>
- <artifactId>jconn3</artifactId>
- <version>6.05</version>
- <scope>test</scope>
- </dependency -->
- <!-- ======================================================================= -->
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.sql</include>
- <include>**/*.dtd</include>
- </includes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- <includes>
- <include>**/*.properties</include>
- <include>login.conf</include>
- <include>**/*.xml</include>
- <include>**/*.drl</include>
- <include>**/*.vm</include>
- <include>**/*.doc</include>
- <include>**/*.xls</include>
- <include>**/*.ppt</include>
- <include>**/*.txt</include>
- <include>**/*.tiff</include>
- <include>**/*.pdf</include>
- <include>**/*.dtd</include>
- </includes>
- </testResource>
- </testResources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>jackrabbit-jcr-tests</artifactId>
- <classifier>sources</classifier>
- <type>jar</type>
- <overWrite>false</overWrite>
- </artifactItem>
- </artifactItems>
- <outputDirectory>${project.build.testSourceDirectory}</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${env.MAVEN_OPTS}</argLine>
- <systemProperties>
- <property>
- <name>jcr.test.configuration.file</name>
- <value>${jcr.test.configuration.file}</value>
- </property>
- <property>
- <name>emma.coverage.out.file</name>
- <value>target/emma/coverage.ec</value>
- </property>
- </systemProperties>
- <includes>
- <include>org/exoplatform/services/jcr/api/**/Test*.java</include>
- <include>org/exoplatform/services/jcr/usecases/**/Test*.java</include>
- <include>org/exoplatform/services/jcr/usecases/**/*Test.java</include>
- <include>org/exoplatform/services/jcr/impl/**/Test*.java</include>
- </includes>
- <excludes>
- <exclude>org/exoplatform/services/jcr/**/TestQueryUsecases.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/TestImport.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/TestRollbackBigFiles.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/TestErrorMultithreading.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/TestAll.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceManagement.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestRepositoryManagement.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestSaveConfiguration.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/ValueStoragePluginTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionCleaner.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/Base*.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationStream.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationVersionRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/**/RemoveSameNameSiblingTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/**/TestQueryWithNumberAndSpace.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/BaseUsecasesTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/**/ExportWorkspaceSystemViewTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionDataManager.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestLinkedWorkspaceStorageCacheMetrics.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/SQLBenchmarkTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestLockPerstistentDataManager.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jibx</groupId>
- <artifactId>maven-jibx-plugin</artifactId>
- <configuration>
- <directory>src/main/resources</directory>
- <includes>
- <includes>binding*.xml</includes>
- </includes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>bind</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>delete-sources</id>
- <phase>process-sources</phase>
- <configuration>
- <tasks>
- <echo>Remove files that have been customized</echo>
- <delete>
- <fileset dir="${project.build.directory}/generated-sources/javacc/org/exoplatform/services/jcr/impl/core/query">
- <include name="sql/ASTLiteral.java"/>
- <include name="sql/ASTContainsExpression.java"/>
- <include name="sql/ASTPredicate.java"/>
- <include name="sql/ASTIdentifier.java"/>
- <include name="xpath/SimpleNode.java"/>
- </fileset>
- </delete>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant-optional</artifactId>
- <version>1.5.3-1</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javacc-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>fulltext</id>
- <configuration>
- <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
- </configuration>
- <goals>
- <goal>jjtree-javacc</goal>
- </goals>
- </execution>
- <execution>
- <id>sql</id>
- <configuration>
- <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
- </configuration>
- <goals>
- <goal>jjtree-javacc</goal>
- </goals>
- </execution>
- <execution>
- <id>xpath</id>
- <configuration>
- <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
- </configuration>
- <goals>
- <goal>jjtree-javacc</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>net.java.dev.javacc</groupId>
- <artifactId>javacc</artifactId>
- <version>3.2</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <!-- *** -->
- <!-- TCK -->
- <!-- *** -->
- <!-- Use "mvn -Prun-tck" to launch only them -->
- <profile>
- <id>run-tck</id>
- <build>
- <testResources>
- <testResource>
- <directory>src/TCK/java</directory>
- <includes>
- <include>**/org/apache/jackrabbit/test/api/nodetype/spec/*.txt</include>
- </includes>
- </testResource>
- </testResources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- TAKE CARE TO UPDATE ALSO run-all PROFILE -->
- <argLine>${env.MAVEN_OPTS}</argLine>
- <systemProperties>
- <property>
- <name>jcr.test.configuration.file</name>
- <value>${jcr.test.configuration.file}</value>
- </property>
- <property>
- <name>emma.coverage.out.file</name>
- <value>target/emma/coverage.ec</value>
- </property>
- <property>
- <name>known.issues</name>
- <value>org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testBooleanProperty
- org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testMultipleBooleanProperty
- org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreName
- org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder
- org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder2
- org.apache.jackrabbit.test.api.nodetype.PropertyDefTest#testIsRequiredType
- org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest#testBooleanProperty
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testShareable
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testSimpleVersionable
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testActivity
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testConfiguration
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersionable
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersion
- org.apache.jackrabbit.test.api.NamespaceRegistryTest#testRegisterNamespace</value>
- </property>
- </systemProperties>
- <includes>
- <include>org/apache/jackrabbit/test/api/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/observation/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/lock/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/nodetype/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/query/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/version/*Test.java</include>
- </includes>
- <excludes>
- <exclude>org/apache/jackrabbit/test/api/TestAll.java</exclude>
- <exclude>org/apache/jackrabbit/test/api/**/Abstract*.java</exclude>
- <exclude>org/apache/jackrabbit/test/api/**/FrozenNodeTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- *** -->
- <!-- ALL -->
- <!-- *** -->
- <!-- Use "mvn -Prun-all" to launch default tests and TCK -->
- <profile>
- <id>run-all</id>
- <build>
- <testResources>
- <testResource>
- <directory>src/TCK/java</directory>
- <includes>
- <include>**/org/apache/jackrabbit/test/api/nodetype/spec/*.txt</include>
- </includes>
- </testResource>
- </testResources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- TAKE CARE TO UPDATE ALSO run-tck PROFILE -->
- <argLine>${env.MAVEN_OPTS}</argLine>
- <systemProperties>
- <property>
- <name>jcr.test.configuration.file</name>
- <value>${jcr.test.configuration.file}</value>
- </property>
- <property>
- <name>emma.coverage.out.file</name>
- <value>target/emma/coverage.ec</value>
- </property>
- <property>
- <name>known.issues</name>
- <value>org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testBooleanProperty
- org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testMultipleBooleanProperty
- org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreName
- org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder
- org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder2
- org.apache.jackrabbit.test.api.nodetype.PropertyDefTest#testIsRequiredType
- org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest#testBooleanProperty
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testShareable
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testSimpleVersionable
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testActivity
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testConfiguration
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersionable
- org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersion
- org.apache.jackrabbit.test.api.NamespaceRegistryTest#testRegisterNamespace</value>
- </property>
- </systemProperties>
- <includes>
- <!-- From default tests -->
- <include>org/exoplatform/services/jcr/api/**/Test*.java</include>
- <include>org/exoplatform/services/jcr/usecases/**/Test*.java</include>
- <include>org/exoplatform/services/jcr/usecases/**/*Test.java</include>
- <include>org/exoplatform/services/jcr/impl/**/Test*.java</include>
- <!-- From TCK -->
- <include>org/apache/jackrabbit/test/api/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/observation/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/lock/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/nodetype/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/query/*Test.java</include>
- <include>org/apache/jackrabbit/test/api/version/*Test.java</include>
- </includes>
- <excludes>
- <!-- From default tests -->
- <exclude>org/exoplatform/services/jcr/**/TestQueryUsecases.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/TestImport.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/TestRollbackBigFiles.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/TestErrorMultithreading.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/TestAll.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceManagement.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestRepositoryManagement.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestSaveConfiguration.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/ValueStoragePluginTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionCleaner.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/Base*.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationStream.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationVersionRestore.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/**/RemoveSameNameSiblingTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/**/TestQueryWithNumberAndSpace.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/BaseUsecasesTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/usecases/**/ExportWorkspaceSystemViewTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionDataManager.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestLinkedWorkspaceStorageCacheMetrics.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/SQLBenchmarkTest.java</exclude>
- <exclude>org/exoplatform/services/jcr/**/impl/**/TestLockPerstistentDataManager.java</exclude>
- <!-- From TCK -->
- <exclude>org/apache/jackrabbit/test/api/TestAll.java</exclude>
- <exclude>org/apache/jackrabbit/test/api/**/Abstract*.java</exclude>
- <exclude>org/apache/jackrabbit/test/api/**/FrozenNodeTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>run-devtests</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <phase>test</phase>
- <forkMode>${exo.test.forkMode}</forkMode>
- <!-- argLine>${env.MAVEN_OPTS}</argLine -->
- <goals>
- <goal>test</goal>
- </goals>
- <systemProperties>
- <property>
- <name>jcr.test.configuration.file</name>
- <value>${jcr.test.configuration.file}</value>
- </property>
- </systemProperties>
- <includes>
- <include>**/**/reading_/Test*.java</include>
- <include>**/**/writing_/Test*.java</include>
- <include>**/**/TestJBossCacheWorkspaceStorageCache_.java</include>
- <include>**/**/TestSVNodeDataOptimization_.java</include>
- <include>**/**/TestValueConstraints.java</include>
- </includes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.component.core</artifactId>
+ <name>eXo JCR :: Component :: Core Service</name>
+ <description>eXo JCR Service core component</description>
+ <properties>
+ <jcr.test.configuration.file>/conf/standalone/test-configuration.xml</jcr.test.configuration.file>
+ </properties>
+ <dependencies>
+ <!-- JCR API -->
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.command</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.common</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.cache</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.organization.api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.document</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-spellchecker</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-memory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.stream</groupId>
+ <artifactId>sjsxp</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-dbcp</groupId>
+ <artifactId>commons-dbcp</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-chain</groupId>
+ <artifactId>commons-chain</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jibx</groupId>
+ <artifactId>jibx-run</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>picocontainer</groupId>
+ <artifactId>picocontainer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.resource</groupId>
+ <artifactId>connector-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>concurrent</groupId>
+ <artifactId>concurrent</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossts</groupId>
+ <artifactId>jbossjts</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossts</groupId>
+ <artifactId>jbossts-common</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons</groupId>
+ <artifactId>ws-commons-util</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.cluster.test.client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <!-- TCK binaries and deps for repo stub, some eXo API test -->
+ <dependency>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-jcr-tests</artifactId>
+ <classifier>sources</classifier>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <!-- ===== Databases JDBC support for tests ===== -->
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <!-- For MySQL support -->
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.8</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- For PostgresSQL support -->
+ <dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>8.3-603.jdbc3</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <!-- dependency>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>8.2-504.jdbc3</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- For Oracle 10g support (local-jcr repository) -->
+ <!-- dependency>
+ <groupId>ojdbc</groupId>
+ <artifactId>ojdbc</artifactId>
+ <version>14</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>ojdbc</groupId>
+ <artifactId>orai18n</artifactId>
+ <version>14</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- For IBM DB2 support (local-jcr repository) -->
+ <!-- dependency>
+ <groupId>com.ibm.db2</groupId>
+ <artifactId>db2jcc</artifactId>
+ <version>9.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.ibm.db2</groupId>
+ <artifactId>db2jcc_license_cu</artifactId>
+ <version>9.1</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- For MS SQL 7/2000/2005 and Sybase ASE/Anywhere support (jTDS driver) -->
+ <!-- dependency>
+ <groupId>net.sourceforge.jtds</groupId>
+ <artifactId>jtds</artifactId>
+ <version>1.2</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- For MS SQL 2005 support (Microsoft JDBC driver) (local-jcr repository) -->
+ <!-- dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>sqljdbc</artifactId>
+ <version>9.0</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- dependency>
+ <groupId>com.microsoft</groupId>
+ <artifactId>sqljdbc</artifactId>
+ <version>2.0</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- For Apache Derby support (aka JavaDB) -->
+ <!-- dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.2.2.0</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- H2 Database (not supported now) -->
+ <!-- dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.0.74</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- Ingres Database (local repository) -->
+ <!-- dependency>
+ <groupId>com.ingres.jdbc</groupId>
+ <artifactId>iijdbc</artifactId>
+ <version>9.2</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- For Sybase ASE/Anywhere support (jConnect driver) (local-jcr repository) -->
+ <!-- dependency>
+ <groupId>com.sybase.jdbc3.jdbc</groupId>
+ <artifactId>jconn3</artifactId>
+ <version>6.05</version>
+ <scope>test</scope>
+ </dependency -->
+ <!-- ======================================================================= -->
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.sql</include>
+ <include>**/*.dtd</include>
+ </includes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.properties</include>
+ <include>login.conf</include>
+ <include>**/*.xml</include>
+ <include>**/*.drl</include>
+ <include>**/*.vm</include>
+ <include>**/*.doc</include>
+ <include>**/*.xls</include>
+ <include>**/*.ppt</include>
+ <include>**/*.txt</include>
+ <include>**/*.tiff</include>
+ <include>**/*.pdf</include>
+ <include>**/*.dtd</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-jcr-tests</artifactId>
+ <classifier>sources</classifier>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.testSourceDirectory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${env.MAVEN_OPTS}</argLine>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
+ <value>${jcr.test.configuration.file}</value>
+ </property>
+ <property>
+ <name>emma.coverage.out.file</name>
+ <value>target/emma/coverage.ec</value>
+ </property>
+ </systemProperties>
+ <includes>
+ <include>org/exoplatform/services/jcr/api/**/Test*.java</include>
+ <include>org/exoplatform/services/jcr/usecases/**/Test*.java</include>
+ <include>org/exoplatform/services/jcr/usecases/**/*Test.java</include>
+ <include>org/exoplatform/services/jcr/impl/**/Test*.java</include>
+ </includes>
+ <excludes>
+ <exclude>org/exoplatform/services/jcr/**/TestQueryUsecases.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/TestImport.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/TestRollbackBigFiles.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/TestErrorMultithreading.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/TestAll.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceManagement.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestRepositoryManagement.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestSaveConfiguration.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/ValueStoragePluginTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionCleaner.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/Base*.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationStream.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationVersionRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/**/RemoveSameNameSiblingTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/**/TestQueryWithNumberAndSpace.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/BaseUsecasesTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/**/ExportWorkspaceSystemViewTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionDataManager.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestLinkedWorkspaceStorageCacheMetrics.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/SQLBenchmarkTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestLockPerstistentDataManager.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jibx</groupId>
+ <artifactId>maven-jibx-plugin</artifactId>
+ <configuration>
+ <directory>src/main/resources</directory>
+ <includes>
+ <includes>binding*.xml</includes>
+ </includes>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>bind</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>delete-sources</id>
+ <phase>process-sources</phase>
+ <configuration>
+ <tasks>
+ <echo>Remove files that have been customized</echo>
+ <delete>
+ <fileset dir="${project.build.directory}/generated-sources/javacc/org/exoplatform/services/jcr/impl/core/query">
+ <include name="sql/ASTLiteral.java" />
+ <include name="sql/ASTContainsExpression.java" />
+ <include name="sql/ASTPredicate.java" />
+ <include name="sql/ASTIdentifier.java" />
+ <include name="xpath/SimpleNode.java" />
+ </fileset>
+ </delete>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-optional</artifactId>
+ <version>1.5.3-1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javacc-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>fulltext</id>
+ <configuration>
+ <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
+ </configuration>
+ <goals>
+ <goal>jjtree-javacc</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>sql</id>
+ <configuration>
+ <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
+ </configuration>
+ <goals>
+ <goal>jjtree-javacc</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>xpath</id>
+ <configuration>
+ <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
+ </configuration>
+ <goals>
+ <goal>jjtree-javacc</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>net.java.dev.javacc</groupId>
+ <artifactId>javacc</artifactId>
+ <version>3.2</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <profiles>
+ <!-- *** -->
+ <!-- TCK -->
+ <!-- *** -->
+ <!-- Use "mvn -Prun-tck" to launch only them -->
+ <profile>
+ <id>run-tck</id>
+ <build>
+ <testResources>
+ <testResource>
+ <directory>src/TCK/java</directory>
+ <includes>
+ <include>**/org/apache/jackrabbit/test/api/nodetype/spec/*.txt</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- TAKE CARE TO UPDATE ALSO run-all PROFILE -->
+ <argLine>${env.MAVEN_OPTS}</argLine>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
+ <value>${jcr.test.configuration.file}</value>
+ </property>
+ <property>
+ <name>emma.coverage.out.file</name>
+ <value>target/emma/coverage.ec</value>
+ </property>
+ <property>
+ <name>known.issues</name>
+ <value>org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testBooleanProperty
+ org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testMultipleBooleanProperty
+ org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreName
+ org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder
+ org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder2
+ org.apache.jackrabbit.test.api.nodetype.PropertyDefTest#testIsRequiredType
+ org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest#testBooleanProperty
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testShareable
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testSimpleVersionable
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testActivity
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testConfiguration
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersionable
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersion
+ org.apache.jackrabbit.test.api.NamespaceRegistryTest#testRegisterNamespace</value>
+ </property>
+ </systemProperties>
+ <includes>
+ <include>org/apache/jackrabbit/test/api/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/observation/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/lock/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/nodetype/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/query/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/version/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>org/apache/jackrabbit/test/api/TestAll.java</exclude>
+ <exclude>org/apache/jackrabbit/test/api/**/Abstract*.java</exclude>
+ <exclude>org/apache/jackrabbit/test/api/**/FrozenNodeTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!-- *** -->
+ <!-- ALL -->
+ <!-- *** -->
+ <!-- Use "mvn -Prun-all" to launch default tests and TCK -->
+ <profile>
+ <id>run-all</id>
+ <build>
+ <testResources>
+ <testResource>
+ <directory>src/TCK/java</directory>
+ <includes>
+ <include>**/org/apache/jackrabbit/test/api/nodetype/spec/*.txt</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- TAKE CARE TO UPDATE ALSO run-tck PROFILE -->
+ <argLine>${env.MAVEN_OPTS}</argLine>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
+ <value>${jcr.test.configuration.file}</value>
+ </property>
+ <property>
+ <name>emma.coverage.out.file</name>
+ <value>target/emma/coverage.ec</value>
+ </property>
+ <property>
+ <name>known.issues</name>
+ <value>org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testBooleanProperty
+ org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest#testMultipleBooleanProperty
+ org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreName
+ org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder
+ org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreOrder2
+ org.apache.jackrabbit.test.api.nodetype.PropertyDefTest#testIsRequiredType
+ org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest#testBooleanProperty
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testShareable
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testSimpleVersionable
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testActivity
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testConfiguration
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersionable
+ org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest#testVersion
+ org.apache.jackrabbit.test.api.NamespaceRegistryTest#testRegisterNamespace</value>
+ </property>
+ </systemProperties>
+ <includes>
+ <!-- From default tests -->
+ <include>org/exoplatform/services/jcr/api/**/Test*.java</include>
+ <include>org/exoplatform/services/jcr/usecases/**/Test*.java</include>
+ <include>org/exoplatform/services/jcr/usecases/**/*Test.java</include>
+ <include>org/exoplatform/services/jcr/impl/**/Test*.java</include>
+ <!-- From TCK -->
+ <include>org/apache/jackrabbit/test/api/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/observation/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/lock/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/nodetype/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/query/*Test.java</include>
+ <include>org/apache/jackrabbit/test/api/version/*Test.java</include>
+ </includes>
+ <excludes>
+ <!-- From default tests -->
+ <exclude>org/exoplatform/services/jcr/**/TestQueryUsecases.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/TestImport.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/TestRollbackBigFiles.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/TestErrorMultithreading.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/TestAll.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestSameNameItems.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/api/**/TestVersionRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceManagement.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestRepositoryManagement.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestSaveConfiguration.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/ValueStoragePluginTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestWorkspaceRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionCleaner.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/Base*.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationStream.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestJCRSerializationVersionRestore.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/**/RemoveSameNameSiblingTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/**/TestQueryWithNumberAndSpace.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/BaseUsecasesTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/usecases/**/ExportWorkspaceSystemViewTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestSessionDataManager.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestLinkedWorkspaceStorageCacheMetrics.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/SQLBenchmarkTest.java</exclude>
+ <exclude>org/exoplatform/services/jcr/**/impl/**/TestLockPerstistentDataManager.java</exclude>
+ <!-- From TCK -->
+ <exclude>org/apache/jackrabbit/test/api/TestAll.java</exclude>
+ <exclude>org/apache/jackrabbit/test/api/**/Abstract*.java</exclude>
+ <exclude>org/apache/jackrabbit/test/api/**/FrozenNodeTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>run-devtests</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <phase>test</phase>
+ <forkMode>${exo.test.forkMode}</forkMode>
+ <!-- argLine>${env.MAVEN_OPTS}</argLine -->
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <systemProperties>
+ <property>
+ <name>jcr.test.configuration.file</name>
+ <value>${jcr.test.configuration.file}</value>
+ </property>
+ </systemProperties>
+ <includes>
+ <include>**/**/reading_/Test*.java</include>
+ <include>**/**/writing_/Test*.java</include>
+ <include>**/**/TestJBossCacheWorkspaceStorageCache_.java</include>
+ <include>**/**/TestSVNodeDataOptimization_.java</include>
+ <include>**/**/TestValueConstraints.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
Modified: jcr/trunk/exo.jcr.component.ext/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.ext/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.component.ext/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,188 +1,188 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.component.ext</artifactId>
- <name>eXo JCR :: Component :: Extension Service</name>
- <description>eXo JCR Services extension</description>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.command</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.document</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.organization.api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>xerces</groupId>
- <artifactId>xerces</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.script.groovy</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.frameworks.json</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- </dependency>
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- </dependency>
- <dependency>
- <groupId>jgroups</groupId>
- <artifactId>jgroups</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
- <dependency>
- <groupId>picocontainer</groupId>
- <artifactId>picocontainer</artifactId>
- </dependency>
- <dependency>
- <groupId>jtidy</groupId>
- <artifactId>jtidy</artifactId>
- </dependency>
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.xls</include>
- <include>**/*.groovy</include>
- <include>**/login.conf</include>
- </includes>
- </testResource>
- </testResources>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/actions/*Test.java</include>
- <include>**/metadata/*Test.java</include>
- <include>**/owner/*Test.java</include>
- <include>**/registry/*Test.java</include>
- <include>**/app/*Test.java</include>
- <include>**/resource/*Test.java</include>
- <include>**/groovy/*Test.java</include>
- <include>**/replication/*.java</include>
- <include>**/replication/external/*.java</include>
- <include>**/replication/async/**/*.java</include>
- </includes>
- <excludes>
- <exclude>**/BaseStandaloneTest.java</exclude>
- <exclude>**/replication/*.java</exclude>
- <exclude>**/replication/external/*.java</exclude>
- <exclude>**/replication/external/BaseTestCaseChecker.java</exclude>
- <exclude>**/backup/*.java</exclude>
- <exclude>**/access/*.java</exclude>
- <exclude>**/LocalStorageMultithreadTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ <name>eXo JCR :: Component :: Extension Service</name>
+ <description>eXo JCR Services extension</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.command</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.document</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.organization.api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xerces</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.script.groovy</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.frameworks.json</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-chain</groupId>
+ <artifactId>commons-chain</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jgroups</groupId>
+ <artifactId>jgroups</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>jsr311-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>picocontainer</groupId>
+ <artifactId>picocontainer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.xls</include>
+ <include>**/*.groovy</include>
+ <include>**/login.conf</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/actions/*Test.java</include>
+ <include>**/metadata/*Test.java</include>
+ <include>**/owner/*Test.java</include>
+ <include>**/registry/*Test.java</include>
+ <include>**/app/*Test.java</include>
+ <include>**/resource/*Test.java</include>
+ <include>**/groovy/*Test.java</include>
+ <include>**/replication/*.java</include>
+ <include>**/replication/external/*.java</include>
+ <include>**/replication/async/**/*.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/BaseStandaloneTest.java</exclude>
+ <exclude>**/replication/*.java</exclude>
+ <exclude>**/replication/external/*.java</exclude>
+ <exclude>**/replication/external/BaseTestCaseChecker.java</exclude>
+ <exclude>**/backup/*.java</exclude>
+ <exclude>**/access/*.java</exclude>
+ <exclude>**/LocalStorageMultithreadTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.component.ftp/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.ftp/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.component.ftp/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,101 +1,101 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.component.ftp</artifactId>
- <name>eXo JCR :: Component :: FTP Service</name>
- <description>eXo JCR FTP Service</description>
- <properties>
- <exo.test.includes>*</exo.test.includes>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.command</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- <version>${org.exoplatform.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.command</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- </dependency>
- <dependency>
- <groupId>picocontainer</groupId>
- <artifactId>picocontainer</artifactId>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.component.ftp</artifactId>
+ <name>eXo JCR :: Component :: FTP Service</name>
+ <description>eXo JCR FTP Service</description>
+ <properties>
+ <exo.test.includes>*</exo.test.includes>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.command</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ <version>${org.exoplatform.core.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.command</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-chain</groupId>
+ <artifactId>commons-chain</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>picocontainer</groupId>
+ <artifactId>picocontainer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.component.webdav/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.webdav/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.component.webdav/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,117 +1,117 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.component.webdav</artifactId>
- <name>eXo JCR :: Component :: Webdav Service</name>
- <description>eXo JCR Webdav Service</description>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </dependency>
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </dependency>
- <dependency>
- <groupId>jtidy</groupId>
- <artifactId>jtidy</artifactId>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/Test*</include>
- </includes>
- <excludes>
- <exclude>**/TestUtils.java</exclude>
- <!-- Related issue: http://jira.exoplatform.org/browse/JCR-1149 -->
- <exclude>**/TestEncoding.java</exclude>
- <exclude>**/TestPropFindContent.java</exclude>
- <exclude>**/TestPropPatchContent.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.component.webdav</artifactId>
+ <name>eXo JCR :: Component :: Webdav Service</name>
+ <description>eXo JCR Webdav Service</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>jsr311-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/Test*</include>
+ </includes>
+ <excludes>
+ <exclude>**/TestUtils.java</exclude>
+ <!-- Related issue: http://jira.exoplatform.org/browse/JCR-1149 -->
+ <exclude>**/TestEncoding.java</exclude>
+ <exclude>**/TestPropFindContent.java</exclude>
+ <exclude>**/TestPropPatchContent.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.connectors.localadapter/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.connectors.localadapter/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.connectors.localadapter/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,158 +1,158 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.connectors.localadapter</artifactId>
- <packaging>rar</packaging>
- <name>eXo JCR :: Component :: Resource Local Adapter</name>
- <description>eXo JCR resource local adapter</description>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- <scope>runtime</scope>
- <exclusions>
- <exclusion>
- <groupId>com.sun.xml.parsers</groupId>
- <artifactId>jaxp-ri</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.webdav</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ftp</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.command</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.ftpclient</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.web</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.frameworks.servlet</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>javax.resource</groupId>
- <artifactId>connector</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.resource</groupId>
- <artifactId>connector-api</artifactId>
- <version>1.5</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- <executions>
- <!-- We manually ask to create the JAR and it is automatically included in the RAR -->
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-rar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.connectors.localadapter</artifactId>
+ <packaging>rar</packaging>
+ <name>eXo JCR :: Component :: Resource Local Adapter</name>
+ <description>eXo JCR resource local adapter</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>com.sun.xml.parsers</groupId>
+ <artifactId>jaxp-ri</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.webdav</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ftp</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.command</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.ftpclient</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.frameworks.servlet</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.resource</groupId>
+ <artifactId>connector</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.resource</groupId>
+ <artifactId>connector-api</artifactId>
+ <version>1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ <executions>
+ <!-- We manually ask to create the JAR and it is automatically included in the RAR -->
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-rar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.framework.command/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.command/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.framework.command/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,109 +1,109 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.framework.command</artifactId>
- <name>eXo JCR :: Framework :: Command</name>
- <description>eXo JCR command framework</description>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.command</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- </dependency>
- <dependency>
- <groupId>jtidy</groupId>
- <artifactId>jtidy</artifactId>
- </dependency>
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/TestJCRCommands.java</include>
- <include>**/cli/Test*.java</include>
- </includes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.framework.command</artifactId>
+ <name>eXo JCR :: Framework :: Command</name>
+ <description>eXo JCR command framework</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.command</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-chain</groupId>
+ <artifactId>commons-chain</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/TestJCRCommands.java</include>
+ <include>**/cli/Test*.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.framework.ftpclient/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.ftpclient/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.framework.ftpclient/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,58 +1,58 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.framework.ftpclient</artifactId>
- <name>eXo JCR :: Framework :: FTP Client</name>
- <description>eXo FTP Client</description>
- <properties>
- <exo.test.includes>*</exo.test.includes>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.framework.ftpclient</artifactId>
+ <name>eXo JCR :: Framework :: FTP Client</name>
+ <description>eXo FTP Client</description>
+ <properties>
+ <exo.test.includes>*</exo.test.includes>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/exo.jcr.framework.web/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.framework.web/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/exo.jcr.framework.web/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,94 +1,94 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>exo.jcr.framework.web</artifactId>
- <name>eXo JCR :: Framework :: Web</name>
- <description>eXo JCR REST adapter</description>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.command</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.command</artifactId>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- </dependency>
- </dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <name>eXo JCR :: Framework :: Web</name>
+ <description>eXo JCR REST adapter</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.command</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.command</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-chain</groupId>
+ <artifactId>commons-chain</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Modified: jcr/trunk/packaging/module/pom.xml
===================================================================
--- jcr/trunk/packaging/module/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/packaging/module/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,65 +1,65 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- </parent>
- <artifactId>jcr.packaging.module</artifactId>
- <packaging>pom</packaging>
- <name>eXo JCR Build module</name>
- <properties>
- <exobuild.name>jcr</exobuild.name>
- <exobuild.type>module</exobuild.type>
- <enforcer.skip>true</enforcer.skip>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>prepare</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>target</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/javascript</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.3</version>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>target/${exobuild.name}.packaging.${exobuild.type}.js</file>
- <type>js</type>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<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.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ </parent>
+ <artifactId>jcr.packaging.module</artifactId>
+ <packaging>pom</packaging>
+ <name>eXo JCR Build module</name>
+ <properties>
+ <exobuild.name>jcr</exobuild.name>
+ <exobuild.type>module</exobuild.type>
+ <enforcer.skip>true</enforcer.skip>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>prepare</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>target</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/javascript</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>target/${exobuild.name}.packaging.${exobuild.type}.js</file>
+ <type>js</type>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: jcr/trunk/pom.xml
===================================================================
--- jcr/trunk/pom.xml 2010-02-15 11:18:22 UTC (rev 1818)
+++ jcr/trunk/pom.xml 2010-02-15 11:21:29 UTC (rev 1819)
@@ -1,452 +1,452 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.exoplatform</groupId>
- <artifactId>foundation-parent</artifactId>
- <version>4</version>
- </parent>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>jcr-parent</artifactId>
- <version>1.12.0-GA-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>eXo JCR</name>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/exo-jcr/jcr/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/exo-jcr/jcr/trunk</developerConnection>
- <url>https://svn.jboss.org/repos/exo-jcr/jcr/trunk</url>
- </scm>
- <properties>
- <exo.product.name>exo-jcr</exo.product.name>
- <exo.product.specification>1.12</exo.product.specification>
- <org.exoplatform.kernel.version>2.2.0-CR2</org.exoplatform.kernel.version>
- <org.exoplatform.core.version>2.3.0-CR2</org.exoplatform.core.version>
- <org.exoplatform.ws.version>2.1.0-CR2</org.exoplatform.ws.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.commons</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.command</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.container</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.common</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.kernel</groupId>
- <artifactId>exo.kernel.component.cache</artifactId>
- <version>${org.exoplatform.kernel.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.document</artifactId>
- <version>${org.exoplatform.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.organization.api</artifactId>
- <version>${org.exoplatform.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.security.core</artifactId>
- <version>${org.exoplatform.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.script.groovy</artifactId>
- <version>${org.exoplatform.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.core</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.rest.ext</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.commons</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.frameworks.json</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.ws</groupId>
- <artifactId>exo.ws.frameworks.servlet</artifactId>
- <version>${org.exoplatform.ws.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.command</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ftp</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.webdav</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.web</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.framework.ftpclient</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.cluster.test.client</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.fckeditor</artifactId>
- <version>${project.version}</version>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.browser</artifactId>
- <version>${project.version}</version>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.applications.rest</artifactId>
- <version>${project.version}</version>
- <type>war</type>
- </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.connectors.localadapter</artifactId>
- <type>rar</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jibx</groupId>
- <artifactId>jibx-run</artifactId>
- <version>1.2.1</version>
- </dependency>
- <dependency>
- <groupId>picocontainer</groupId>
- <artifactId>picocontainer</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <version>1.0.b2</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.5.8</version>
- </dependency>
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- <version>1.0.1B</version>
- </dependency>
- <dependency>
- <groupId>javax.resource</groupId>
- <artifactId>connector-api</artifactId>
- <version>1.5</version>
- </dependency>
- <dependency>
- <groupId>jtidy</groupId>
- <artifactId>jtidy</artifactId>
- <version>4aug2000r7-dev</version>
- </dependency>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-core</artifactId>
- <version>2.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-spellchecker</artifactId>
- <version>2.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-memory</artifactId>
- <version>2.4.1</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.stream</groupId>
- <artifactId>sjsxp</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <version>1.2.2</version>
- <exclusions>
- <exclusion>
- <groupId>commons-pool</groupId>
- <artifactId>commons-pool</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>commons-pool</groupId>
- <artifactId>commons-pool</artifactId>
- <version>1.5.4</version>
- </dependency>
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- <version>1.3.4</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ws.commons</groupId>
- <artifactId>ws-commons-util</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>jackrabbit-jcr-tests</artifactId>
- <version>1.6.0</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.5.8</version>
- </dependency>
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>1.8.0.7</version>
- </dependency>
- <dependency>
- <groupId>jgroups</groupId>
- <artifactId>jgroups</artifactId>
- <version>2.6.13.GA</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.2.1</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-impl</artifactId>
- <version>2.1.7</version>
- </dependency>
- <dependency>
- <groupId>javax.resource</groupId>
- <artifactId>connector</artifactId>
- <version>1.5</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-core</artifactId>
- <version>3.2.0.GA</version>
- </dependency>
- <dependency>
- <groupId>jboss.jbossts</groupId>
- <artifactId>jbossjts</artifactId>
- <version>4.6.1.GA</version>
- </dependency>
- <dependency>
- <groupId>jboss.jbossts</groupId>
- <artifactId>jbossts-common</artifactId>
- <version>4.6.1.GA</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.xsl</include>
- <include>**/*.properties</include>
- <include>**/*.ion</include>
- <include>**/*.conf</include>
- <include>**/*.config</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.xsl</include>
- <include>**/*.properties</include>
- <include>**/login.conf</include>
- <include>**/*.ion</include>
- <include>**/*.conf</include>
- <include>**/*.config</include>
- </includes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/java</directory>
- <includes>
- <include>**/*.properties</include>
- <include>**/*.xml</include>
- <include>**/*.txt</include>
- <include>**/*.conf</include>
- <include>**/*.config</include>
- </includes>
- </testResource>
- <testResource>
- <directory>src/test/resources</directory>
- <includes>
- <include>**/*.properties</include>
- <include>**/*.xml</include>
- <include>**/*.txt</include>
- <include>**/*.conf</include>
- <include>**/*.config</include>
- </includes>
- </testResource>
- </testResources>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/${exo.test.includes}.java</include>
- </includes>
- <excludes>
- <exclude>**/ftpclient/**/*.java</exclude>
- <exclude>**/TestCleanableFileStreamValueData.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <modules>
- <module>applications/cluster.test.client</module>
- <module>exo.jcr.component.core</module>
- <module>exo.jcr.component.ext</module>
- <module>exo.jcr.component.ftp</module>
- <module>exo.jcr.component.webdav</module>
- <module>exo.jcr.connectors.localadapter</module>
- <module>exo.jcr.framework.command</module>
- <module>exo.jcr.framework.web</module>
- <module>exo.jcr.framework.ftpclient</module>
- <module>applications/exo.jcr.applications.config</module>
- <module>applications/java/exo.jcr.applications.browser</module>
- <module>applications/java/exo.jcr.applications.fckeditor</module>
- <module>applications/java/exo.jcr.applications.rest</module>
- <module>applications/java/exo.jcr.ear</module>
- <module>applications/java/exo.jcr.applications.backupconsole</module>
- <module>packaging/module</module>
- </modules>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
+<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.exoplatform</groupId>
+ <artifactId>foundation-parent</artifactId>
+ <version>4</version>
+ </parent>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>jcr-parent</artifactId>
+ <version>1.12.0-CR2</version>
+ <packaging>pom</packaging>
+ <name>eXo JCR</name>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/exo-jcr/jcr/tags/1.12.0-CR2</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/exo-jcr/jcr/tags/1.12.0-CR2</developerConnection>
+ <url>https://svn.jboss.org/repos/exo-jcr/jcr/tags/1.12.0-CR2</url>
+ </scm>
+ <properties>
+ <exo.product.name>exo-jcr</exo.product.name>
+ <exo.product.specification>1.12</exo.product.specification>
+ <org.exoplatform.kernel.version>2.2.0-CR2</org.exoplatform.kernel.version>
+ <org.exoplatform.core.version>2.3.0-CR2</org.exoplatform.core.version>
+ <org.exoplatform.ws.version>2.1.0-CR2</org.exoplatform.ws.version>
+ </properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.commons</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.command</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.common</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.component.cache</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.document</artifactId>
+ <version>${org.exoplatform.core.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.organization.api</artifactId>
+ <version>${org.exoplatform.core.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.security.core</artifactId>
+ <version>${org.exoplatform.core.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.script.groovy</artifactId>
+ <version>${org.exoplatform.core.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.core</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.rest.ext</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.commons</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.frameworks.json</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.ws</groupId>
+ <artifactId>exo.ws.frameworks.servlet</artifactId>
+ <version>${org.exoplatform.ws.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.command</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ftp</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.webdav</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.web</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.framework.ftpclient</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.cluster.test.client</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.fckeditor</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.browser</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.applications.rest</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.connectors.localadapter</artifactId>
+ <type>rar</type>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-chain</groupId>
+ <artifactId>commons-chain</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jibx</groupId>
+ <artifactId>jibx-run</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>picocontainer</groupId>
+ <artifactId>picocontainer</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ <version>1.0.b2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.5.8</version>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>jsr311-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ <version>1.0.1B</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.resource</groupId>
+ <artifactId>connector-api</artifactId>
+ <version>1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ <version>4aug2000r7-dev</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-core</artifactId>
+ <version>2.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-spellchecker</artifactId>
+ <version>2.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.lucene</groupId>
+ <artifactId>lucene-memory</artifactId>
+ <version>2.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.stream</groupId>
+ <artifactId>sjsxp</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-dbcp</groupId>
+ <artifactId>commons-dbcp</artifactId>
+ <version>1.2.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ <version>1.5.4</version>
+ </dependency>
+ <dependency>
+ <groupId>concurrent</groupId>
+ <artifactId>concurrent</artifactId>
+ <version>1.3.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons</groupId>
+ <artifactId>ws-commons-util</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-jcr-tests</artifactId>
+ <version>1.6.0</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.5.8</version>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.7</version>
+ </dependency>
+ <dependency>
+ <groupId>jgroups</groupId>
+ <artifactId>jgroups</artifactId>
+ <version>2.6.13.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ <version>1.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.7</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.resource</groupId>
+ <artifactId>connector</artifactId>
+ <version>1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-core</artifactId>
+ <version>3.2.0.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossts</groupId>
+ <artifactId>jbossjts</artifactId>
+ <version>4.6.1.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossts</groupId>
+ <artifactId>jbossts-common</artifactId>
+ <version>4.6.1.GA</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.xsl</include>
+ <include>**/*.properties</include>
+ <include>**/*.ion</include>
+ <include>**/*.conf</include>
+ <include>**/*.config</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.xsl</include>
+ <include>**/*.properties</include>
+ <include>**/login.conf</include>
+ <include>**/*.ion</include>
+ <include>**/*.conf</include>
+ <include>**/*.config</include>
+ </includes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**/*.properties</include>
+ <include>**/*.xml</include>
+ <include>**/*.txt</include>
+ <include>**/*.conf</include>
+ <include>**/*.config</include>
+ </includes>
+ </testResource>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.properties</include>
+ <include>**/*.xml</include>
+ <include>**/*.txt</include>
+ <include>**/*.conf</include>
+ <include>**/*.config</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/${exo.test.includes}.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/ftpclient/**/*.java</exclude>
+ <exclude>**/TestCleanableFileStreamValueData.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ <modules>
+ <module>applications/cluster.test.client</module>
+ <module>exo.jcr.component.core</module>
+ <module>exo.jcr.component.ext</module>
+ <module>exo.jcr.component.ftp</module>
+ <module>exo.jcr.component.webdav</module>
+ <module>exo.jcr.connectors.localadapter</module>
+ <module>exo.jcr.framework.command</module>
+ <module>exo.jcr.framework.web</module>
+ <module>exo.jcr.framework.ftpclient</module>
+ <module>applications/exo.jcr.applications.config</module>
+ <module>applications/java/exo.jcr.applications.browser</module>
+ <module>applications/java/exo.jcr.applications.fckeditor</module>
+ <module>applications/java/exo.jcr.applications.rest</module>
+ <module>applications/java/exo.jcr.ear</module>
+ <module>applications/java/exo.jcr.applications.backupconsole</module>
+ <module>packaging/module</module>
+ </modules>
+</project>
14 years, 4 months