You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by sk...@apache.org on 2011/08/03 09:20:57 UTC

svn commit: r1153369 - in /chemistry/opencmis/trunk/chemistry-opencmis-osgi: ./ chemistry-opencmis-osgi-client/ chemistry-opencmis-osgi-client/src/ chemistry-opencmis-osgi-client/src/main/ chemistry-opencmis-osgi-server/ chemistry-opencmis-osgi-server/...

Author: sklevenz
Date: Wed Aug  3 07:20:56 2011
New Revision: 1153369

URL: http://svn.apache.org/viewvc?rev=1153369&view=rev
Log:
CMIS-400 merge branch into trunk

Added:
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/src/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/src/main/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/resources/
    chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/resources/repository.properties

Added: chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml?rev=1153369&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml Wed Aug  3 07:20:56 2011
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you 
+	may not use this file except in compliance with the License. You may obtain 
+	a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless 
+	required by applicable law or agreed to in writing, software distributed 
+	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
+	OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
+	the specific language governing permissions and limitations under the License. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.apache.chemistry.opencmis</groupId>
+		<artifactId>chemistry-opencmis</artifactId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../pom.xml</relativePath>
+	</parent>
+
+	<artifactId>chemistry-opencmis-osgi-client</artifactId>
+	<name>OpenCMIS OSGi Client Wrapper</name>
+
+	<packaging>bundle</packaging>
+
+	<properties>
+		<parentBasedir>../../</parentBasedir>
+	</properties>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<version>2.0.1</version>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+						<Embed-Dependency>
+							*;scope=compile,runtime;inline=false
+						</Embed-Dependency>
+						<Embed-Transitive>false</Embed-Transitive>
+						<Embed-Directory>lib</Embed-Directory>
+						<Import-Package>
+							org.apache.log;resolution:=optional,
+						    org.apache.avalon.framework.logger;resolution:=optional,
+							org.apache.commons.codec.*;version="[1.4,2.0)",
+							org.apache.commons.logging.*;version="[1.1,2.0)",
+							com.sun.xml.ws.*;version="[2.1.7,3.0)";resolution:=optional,
+							*
+						</Import-Package>
+						<_exportcontents>
+							org.apache.chemistry.opencmis.client.api.*;version=${project.version},
+							org.apache.chemistry.opencmis.client.bindings;version=${project.version},
+							org.apache.chemistry.opencmis.client.bindings.spi.*;version=${project.version}
+							org.apache.chemistry.opencmis.commons.impl.*;version=${project.version};-noimport:=true,
+							org.apache.chemistry.opencmis.commons.*;version=${project.version};-noimport:=true,
+							com.sun.xml.ws.*;version="[2.1.7,3.0)";resolution:=optional
+						</_exportcontents>
+						<Bundle-DocURL>${project.url}</Bundle-DocURL>
+						<Bundle-Activator>org.apache.chemistry.opencmis.client.osgi.Activator</Bundle-Activator>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+	<dependencies>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-commons-api</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-commons-impl</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-client-api</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-client-impl</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-client-bindings</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+	</dependencies>
+
+</project>
\ No newline at end of file

Added: chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml?rev=1153369&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml Wed Aug  3 07:20:56 2011
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you 
+	may not use this file except in compliance with the License. You may obtain 
+	a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless 
+	required by applicable law or agreed to in writing, software distributed 
+	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
+	OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
+	the specific language governing permissions and limitations under the License. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.apache.chemistry.opencmis</groupId>
+		<artifactId>chemistry-opencmis</artifactId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../pom.xml</relativePath>
+	</parent>
+
+	<artifactId>chemistry-opencmis-osgi-server</artifactId>
+	<name>OpenCMIS OSGi Server Wrapper</name>
+
+	<packaging>bundle</packaging>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<version>2.0.1</version>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+						<Embed-Dependency>
+							*;scope=compile,runtime;inline=false
+						</Embed-Dependency>
+						<Embed-Transitive>false</Embed-Transitive>
+						<Import-Package>
+							!org.apache.chemistry.opencmis.client.bindings;version=${project.version},
+							!antlr.collections.impl,
+							!org.antlr.*,
+							org.apache.avalon.framework.logger;resolution:=optional,
+							org.json.simple;resolution:=optional,
+							org.apache.log;resolution:=optional,
+							com.sun.xml.ws.*;resolution:=optional,
+							joptsimple;resolution:=optional,
+							org.apache.commons.codec.*;version="[1.4,2.0)",
+							org.apache.commons.logging.*;version="[1.1,2.0)",
+							org.apache.commons.fileupload.*;version="[1.2.0,2.0)";resolution:=optional,
+							org.apache.commons.lang.*;version="[2.5.0,3.0)";resolution:=optional,
+							*
+						</Import-Package>
+						<_exportcontents>
+							org.apache.chemistry.opencmis.commons.impl.*;version=${project.version};-noimport:=true,
+							org.apache.chemistry.opencmis.commons.*;version=${project.version};-noimport:=true,
+							org.apache.chemistry.opencmis.server.shared.*;version=${project.version};-noimport:=true,
+							org.apache.chemistry.opencmis.server.impl.*;version=${project.version};-noimport:=true,
+							org.apache.chemistry.opencmis.inmemory.server.*;version=${project.version};-noimport:=true,
+							com.sun.xml.ws.*;version="[2.1.7,3.0)";resolution:=optional
+						</_exportcontents>
+						<Embed-Directory>lib</Embed-Directory>
+						<Bundle-DocURL>${project.url}</Bundle-DocURL>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+	<dependencies>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-commons-api</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-commons-impl</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-server-support</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-server-bindings</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-server-inmemory</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-test-util</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.antlr</groupId>
+			<artifactId>antlr-runtime</artifactId>
+			<version>3.2</version>
+		</dependency>
+	</dependencies>
+
+</project>
\ No newline at end of file

Added: chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/resources/repository.properties
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/resources/repository.properties?rev=1153369&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/resources/repository.properties (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/src/main/resources/repository.properties Wed Aug  3 07:20:56 2011
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+class=org.apache.chemistry.opencmis.inmemory.server.InMemoryServiceFactoryImpl
+
+repository.id=dummy-rep
+repository.name=Dummy Repository
+
+# In Memory Settings
+InMemoryServer.RepositoryId=A1
+# InMemoryServer.RepositoryInfoCreatorClass=org.apache.chemistry.opencmis.client.provider.inmemory.UnitTestRepositoryInfo
+InMemoryServer.User=dummyuser
+InMemoryServer.Password=dummysecret
+InMemoryServer.TypesCreatorClass=org.apache.chemistry.opencmis.inmemory.types.DefaultTypeSystemCreator
+
+# settings for init repository with data
+  # enable or disable
+RepositoryFiller.Enable=true
+  # Type id of documents that are created
+RepositoryFiller.DocumentTypeId=ComplexType
+  # Type id of folders that are created
+RepositoryFiller.FolderTypeId=cmis:folder
+  # Number of documents created per folder
+RepositoryFiller.DocsPerFolder=3
+  # Number of folders created per folder
+RepositoryFiller.FolderPerFolder=2
+  # number of folder levels created (depth of hierarchy)
+RepositoryFiller.Depth=3
+  # Size of content for documents (0=do not create content), default=0
+RepositoryFiller.ContentSizeInKB=32
+  # properties to set for a document
+RepositoryFiller.DocumentProperty.0=StringProp
+#RepositoryFiller.DocumentProperty.1=StringPropMV
+  # properties to set for a folder
+#RepositoryFiller.FolderProperty.0=StringFolderProp
+# InMemoryServer.MaxContentSizeKB=4096
+# InMemoryServer.CleanIntervalMinutes=240
+