HTTPS SSH

Cumulocity examples

This repository contains example applications created using Cumulocity SDK. For more information on Cumulocity visit http://www.cumulocity.com.

Access to Cumulocity SDK p2 repository is required to build examples with Maven.

Running from Eclipse

Refer to Developer's guide for detailed instructions.

Building with Maven

Maven build is manifest centric and is using Tycho. Please add Cumulocity p2 repository to Your settings.xml like this:

<settings>
  <activeProfiles>
    <activeProfile>cumulocity</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>cumulocity</id>
      <repositories>
        <repository>
          <id>cumulocity-maven-repo</id>
          <url>http://resources.cumulocity.com/maven/repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>cumulocity-plugins-repo</id>
          <url>http://resources.cumulocity.com/maven/repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
</settings>

To built example-packages it may also be necessary to put the current version of Cumulocity in example-packages/examples-repository/category.xml.