Skip to content

Instantly share code, notes, and snippets.

@wey-gu
Created February 8, 2022 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wey-gu/5b7b4024bff536bfab99b0770f500d2a to your computer and use it in GitHub Desktop.
Save wey-gu/5b7b4024bff536bfab99b0770f500d2a to your computer and use it in GitHub Desktop.
Build a nebula-algo jar package with a local nebula-java jar package

How I built this nebula-algorithm-2.6.1-patched-domain-name.jar ./*:

  • Checkout vesoft-inc/nebula-java#437 and build nebula-java client: mvn -B package -Dmaven.test.skip
  • Download nebula-algo 2.6.1 jar package
  • cd temp_algo;jar -xvf nebula-algorithm-2.6.1.jar
  • cd ../temp_client;jar -xvf client-2.6.1.jar
  • cd ../temp_algo;cp -r ../temp_client/com/vesoft/nebula/* com/vesoft/nebula;rm nebula-algorithm-2.6.1.jar
  • jar -cfM0 nebula-algorithm-2.6.1-patched-domain-name.jar ./*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment