Closed leo-cai-timeplus closed 11 months ago
After clone the repository, first set up the toolchain in ~/.m2/toolchains.xml
:
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>11</version>
</provides>
<configuration>
<jdkHome>/path/to/jdk-11</jdkHome>
</configuration>
</toolchain>
</toolchains>
then run in the folder proton-java-driver
cd third-party-libraries
mvn -Drelease clean install
cd ..
cd proton-client
mvn -Drelease clean install
cd ..
cd proton-grpc-client
mvn -Drelease clean install
cd ..
cd proton-http-client
mvn -Drelease clean install
cd ..
cd proton-jdbc
mvn -Drelease clean install
cd ..
cd proton-tcp-client
mvn -Drelease clean install
cd ..
<dependency>
<groupId>com.proton</groupId>
<artifactId>proton-jdbc</artifactId>
<version>0.3.3-SNAPSHOT</version>
</dependency>
now,
examples/jdbc
can run.