Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

How to build OpenCMIS

There is no official release of OpenCMIS, yet. In order to use it, you have to build it. That's a simple taskOpenCMIS releases are available here. If you want to build the latest and greatest instead, follow these simple steps:

  • Make sure you have JDK 1.5 or higher, Maven 2.2 and a Subversion client installed. (The CMIS Workbench requires JDK 1.6!)
  • Fetch the source code via Subversion from here: https://svn.apache.org/repos/asf/incubatorchemistry/chemistryopencmis/trunk/opencmis
  • And finally Change to the trunk directory and run:
No Format
mvn clean install -Dmaven.test.skip=true

Build the Client Libraries

Note, you will likely run into https://issues.apache.org/jira/browse/CMIS-322 if you're using Maven 3.0+.

The Client Libraries

After the build If you need the OpenCMIS client libraries (with all dependencies, change to the trunk directory and run:

No Format

mvn package assembly:assembly

This will create a zip file in the /target directory with all requires JAR files.

Build the Server Framework

) reside in the /chemistry-opencmis-client/chemistry-opencmis-client-impl/target directory. The zip file contains all libraries necessary to build a CMIS client.

The Server Framework

The server framework will be build with the whole project. There are no additional steps necessary. Please refer to the Server Framework page for more information where to find it and how to use it.

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:

No Format

mvn javadoc:aggregate

The JavaDoc will be created in /target/site/apidocs.