mvn install -D maven.test.skip=true -D env=release
......
Downloaded from central: https://repo.maven.apache.org/maven2/mysql/mysql-connector-java/5.1.49/mysql-connector-java-5.1.49.jar (1.0 MB at 117 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.11.1/protobuf-java-3.11.1.jar (1.7 MB at 148 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.502 s
[INFO] Finished at: 2024-04-30T08:51:18Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project polardbx-rpc: Could not resolve dependencies for project com.alibaba.polardbx:polardbx-rpc:jar:5.4.19-SNAPSHOT: Could not find artifact com.alibaba.polardbx:polardbx-common:jar:5.4.19-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
apt install maven
下载分支
git clone https://github.com/polardb/polardbx-sql.git
git clone https://github.com/polardb/polardbx-glue.git cp -a polardbx-glue/* polardbx-sql/polardbx-rpc/
编译打包
mvn install -D maven.test.skip=true -D env=release ...... Downloaded from central: https://repo.maven.apache.org/maven2/mysql/mysql-connector-java/5.1.49/mysql-connector-java-5.1.49.jar (1.0 MB at 117 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.11.1/protobuf-java-3.11.1.jar (1.7 MB at 148 kB/s) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 46.502 s [INFO] Finished at: 2024-04-30T08:51:18Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project polardbx-rpc: Could not resolve dependencies for project com.alibaba.polardbx:polardbx-rpc:jar:5.4.19-SNAPSHOT: Could not find artifact com.alibaba.polardbx:polardbx-common:jar:5.4.19-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
使用系统为Ubuntu2004,试了好多次无法编译安装,有知道原因的 麻烦告知下 多谢!