presto-jdbc二次开发基础环境配置

背景:为了集成权限系统以便对请求用户进行鉴权以及对请求进行加密解密,所以对presto-jdbc客户端进行改造

git:https://github.com/prestodb/presto.git

下载presto源码

git clone https://github.com/prestodb/presto.git

切换到最新的tag:0.218

git checkout 0.218

修改根目录的pom,跳过检查

删除
true
true
true

修改presto-jdbc 下的pom文件,修改artifactId,改成presto-jdbc-hhz

presto-jdbc-hhz
presto-jdbc

设置私服仓库地址


    
        nexus-releases
        http://172.16.4.146:8081/repository/maven-releases/
    
    
        nexus-snapshots
        http://172.16.4.146:8081/repository/maven-snapshots/
    

配置maven 的settings.xml


nexus-releases
presto-hhz
123456

 

nexus-snapshots
presto-hhz
123456

将presto-jdbc jar上传的私服

 mvn clean deploy -DskipTests -pl presto-jdbc -Dair.check.skip-all=true -Dmaven.javadoc.skip=true

presto-jdbc二次开发基础环境配置_第1张图片

你可能感兴趣的:(presto)