Apache Chemistry openCMIS offers a good way of accessing CMIS. One has to download the openCMIS src code and build the same using maven before starting to use it. I followed the below given approach. Also, see the attached files for the sample code
http://incubator.apache.org/chemistry/opencmis-how-to-build.html
There
is no official release of OpenCMIS, yet. In order to use it, you have to build it. That's a simple task:
Make sure you have JDK 1.5 or higher, Maven and a Subversion client installed.
Fetch the source code via Subversion from here:
https://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk
And finally run:
mvn clean install -Dmaven.test.skip=true
Build the Client Libraries
If you need the OpenCMIS client libraries with all dependencies, change to the trunk directory and run:
mvn package assembly:assembly -Dmaven.test.skip=true
This will create a zip file in the /target directory with all requires JAR files.
Build JavaDoc
There is not much OpenCMIS documentation available, yet. This Wiki and the JavaDoc are the major sources for information. The JavaDoc can be build by running:
mvn javadoc:aggregate
The JavaDoc will be created in /target/site/apidocs.
My Notes
---------
1. For both the svn and maven, the following proxy settings were used. You do not need any user/passwd
host:10.10.9.100
port:8080
proto:http
2. For svn, the following command worked and downloaded all src code
svn checkout https://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk
3
. The proxy info was set into the svn while installing it and into the maven in <maven_root>/conf/settings.xml
Sample CMIS code: See the attached files