You are here

Building the SkyVault OpenCMIS Extension with maven

To use the extension with Maven, you need update your project's pom.xml file to use a maven repository that contains the extension, and to specify that it has a dependency on the SkyVault OpenCMIS extension.

To specify the SkyVault maven repository, add the following fragment to your pom.xml file :-

<repositories>
    <repository>
         <id>maven.alfresco.com</id>
         <name>SkyVault Maven Repository</name>
         <url>http://maven.alfresco.com/nexus/content/groups/public/</url>
    </repository>
</repositories>

If your pom.xml file already contains a repositories element, just add the above repository element to that.

To specify the dependency on the SkyVault OpenCMIS extension, add the following fragment to your pom.xml file :-

<dependencies>
    <dependency>
        <groupId>org.alfresco.cmis.client</groupId>
        <artifactId>alfresco-opencmis-extension</artifactId>
        <version>0.2</version>
        <type>jar</type>
    </dependency>
</dependencies>

If your pom.xml file already contains a dependencies element, just add the above dependency element to that.