After some digging and researching, I found the way to get the gridstore.jar dependency. Here are the steps listed below:
- Go to https://github.com/griddb/griddb and clone the repository down into your local machine. Open your terminal and navigate to the folder, run the following command:
cd java_client
./make_source_for_mvn.sh
mvn clean
mvn install
After the Maven has done the compilation, it could create a gridstore JAR file located under the java_client/target path, the name would be something like this: gridstore-x.x.x
Then go to the terminal and navigate to your own repository that you want to install this dependency, run the following command:
mvn install:install-file -Dfile=/path_to_the_griddb_folder/java_client/target/gridstore-x.x.x.jar
-DgroupId=com.toshiba.mwcloud -DartifactId=gs -Dversion=4.0 -Dpackaging=jar
- It should install the dependency into your repository. Then inside your pom.xml file, add the following dependency:
<dependency>
<groupId>com.toshiba.mwcloud</groupId>
<artifactId>gs</artifactId>
<version>4.0</version>
</dependency>
And then you should be able to import the libraries now.