debezium 1.6.4.Final windows 编译

下载:https://download.oracle.com/otn_software/linux/instantclient/2110000/instantclient-basic-linux.x64-21.10.0.0.0dbru.zip

xstreams.jar

然后在debezium 目录下创建shell

#!/bin/bash

SHELL_DIR=`pwd`
#/e/soft/jdk11
export JAVA_HOME=$SHELL_DIR/jdk11
export PATH=$JAVA_HOME/bin:$PATH

export MAVEN_HOME=$SHELL_DIR/maven363
export PATH=$MAVEN_HOME/bin:$PATH


echo "---------------java version---------------"

java -version

echo "---------------mvn version---------------"
 mvn -v
 
 mvn install:install-file -Dfile=xstreams.jar -DgroupId=com.oracle.instantclient -DartifactId=xstreams -Dversion=21.1.0.0 -Dpackaging=jar
 

cd ../debezium-core/
mvn clean install -Dmaven.test.skip=true

cd ../debezium-connector-mysql/
mvn clean install -Dmaven.test.skip=true  -Denforcer.skip=true -Ddocker.skip=true
  
cd ../debezium-connector-oracle/
mvn clean install -Dmaven.test.skip=true

你可能感兴趣的:(windows,java,开发语言)