Help Center/ Graph Engine Service/ devg/ Importing a Project
Updated on 2022-09-14 GMT+08:00

Importing a Project

Importing External Jar Packages to the Local Maven Repository

  1. Decompress huaweicloud-ges-sdk-java-2.3.2.zip, open it, go to the maven-install directory, and execute the ges-sdk-java-maven-install.bat or ges-sdk-java-maven-install.sh file to install ges-sdk-1.1.11.jar, graph-sdk-1.1.24.jar, and java-sdk-core-2.0.1.jar to the local Maven repository.
  2. Create a Maven project and add the following dependency to the POM file.
    <dependency>
        <groupId>com.huawei.ges</groupId>
        <artifactId>ges-sdk</artifactId>
        <version>1.1.11</version>
    </dependency>
     
    <dependency>
        <groupId>com.huawei.ges.graph</groupId>
        <artifactId>graph-sdk</artifactId>
        <version>1.1.24</version>
    </dependency>

Importing the JAR Package from the Local PC

Create a project, decompress the huaweicloud-ges-sdk-java-2.3.2.zip package, open it, and import ges-sdk-1.1.11-jar-with-dependencies.jar and graph-sdk-1.1.24-jar-with-dependencies.jar files in the jars directory to the project or import all packages in the ges-sdk-1.1.11.jar, graph-sdk-1.1.24.jar, and libs directories to the project.