Before started, maven should be installed. See How to install maven
There are two ways to use TsFile in your own project.
Using as jars:
Compile the source codes and build to jars
git clone https://github.com/thulab/tsfile.git cd tsfile/ sh package.sh
Then, all the jars can be get in folder named lib/. Import lib/*.jar to your project.
lib/
lib/*.jar
Using as a maven dependency:
Comiple source codes and deploy to your local repository in three steps:
Get the source codes
git clone https://github.com/thulab/tsfile.git
Compile the source codes and deploy
cd tsfile/ mvn clean install -Dmaven.test.skip=true
add dependencies into your project:
<dependency> <groupId>cn.edu.tsinghua</groupId> <artifactId>tsfile</artifactId> <version>0.4.0</version> </dependency>
Or, you can download the dependencies from official Maven reporistory:
There was an error while loading. Please reload this page.