Understand Apache Maven Targets for Analytics

Use these Apache Maven targets from your IDE or from the command line to develop and deploy your analytics project.

Maven Target Description
clean

Removes all the automatically generated files.

package

Builds the project and create the project artifacts.

deploy

Deploys analytics to Oracle Internet of Things Cloud Service. If the application is already deployed, it redeploys it.

iotanalytics:undeploy

Undeploys analytics from Oracle Internet of Things Cloud Service.

iotanalytics:sync

Synchronized the changes between your local sources and Oracle Internet of Things Cloud Service.

If there is a conflict between your changes and the changes in the Cloud:
  • If the conflict is in the analytics processor code, the changes in your local sources overwrite the changes in the Cloud.

  • If the conflict is in the metadata, the changes in the Cloud overwrite the changes in your local sources. You must not edit your metadata using an IDE, instead use the Management Console.