Desk Java SDK

Working with the SDK Through Maven

To work with the Zoho Desk Java SDK using Maven, perform the following steps:

  • Create a maven project.
  • Include the following code block in the pom.xml file of the project.
    Copy to clipboard
    <repositories> <repository> <id>zohodesksdk</id> <url></url> </repository> </repositories> <dependencies> <dependency> <groupId>com.zoho.desk</groupId> <artifactId>zohodesksdk</artifactId> <version>1.2.0</version> </dependency> </dependencies>
  • Under the Project Explorer pane, right-click the project name and click Maven -> Update project.The JAR files required will be downloaded to the Maven dependencies.
  • In your source code, import the appropriate file from the SDK.
  • You can now access the SDK through Maven. For examples of how to make different API calls through the SDK, refer to the Sample Codes section.