0

I would like to develop for cumulocity and I wanted to try the demos from bitbucket (https://bitbucket.org/m2m/cumulocity-clients-java). Unfortunatelly, in order to run these, I need access to the Cumulocity Maven repository.

I also need access for writing new code as well.

Where can I find the relevant informations (Credentials/addresses)?

Mircea
  • 61
  • 1
  • 6
  • In their README it says you need to visit this page: https://www.softwareag.cloud/site/product/cumulocity-iot.html#/ – vc73 Apr 23 '19 at 09:57

1 Answers1

0

As described in the README.md please configure the Cumulocity repositories for your maven. Released dependencies to build the cumulocity-clients-java repo are available there without specific access permissions.

Make sure your build only refereces released cumulocity dependencies, not snapshots. You can easily distinguish them by the -SNAPSHOT suffix to their versions.

l2p
  • 420
  • 3
  • 9
  • Thank you for your response. I have downloaded a release branch (r1004.4.0) but it still refernced some SNAPSHOT versions. I have run `mvn versions:set -DnewVersion=1004.4.0` and now when I run `mvn clean install` I have the following error `Could not find artifact com.nsn.cumulocity.dependencies.osgi:svenson:jar:1.5.8-1004.4.0 in cumulocity-maven-repo (http://resources.cumulocity.com/maven/repository)`. The good news is that some jars (core-model) were downloaded. – Mircea Apr 23 '19 at 11:38
  • Do you specifically require such new versions? Otherwise I would recommend going with the platform release you are targeting or the latest generally available release, which is 10.4.0.0 at the moment. – l2p Apr 23 '19 at 15:09
  • Thank you. It now compiles. Last question: Is it compatible with java 11? – Mircea Apr 24 '19 at 08:31