Skip to content

Commit

Permalink
[GAE-Java] Fix : can not compile the submodule of GAE Java SDK (#2146)
Browse files Browse the repository at this point in the history
* Add relative path of parent pom  in GAE Java SDK submodule
* Make GAE Java SDK version align with VERSION
  • Loading branch information
zhanglei1949 committed Oct 19, 2022
1 parent 3220a7f commit 0c5a4b5
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion analytical_engine/CMakeLists.txt
Expand Up @@ -423,7 +423,7 @@ if(ENABLE_JAVA_SDK)
set(GAE_JAVA_GRAPHX_JAR "${GAE_JAVA_DIR}/graphx-on-graphscope/target/graphx-on-graphscope-${GRAPHSCOPE_ANALYTICAL_JAR_VERSION}-shaded.jar")
add_custom_command(
OUTPUT "${GAE_JAVA_RUNTIME_DIR}/target/native/libgrape-jni.so"
COMMAND mvn clean install -DskipTests --quiet
COMMAND mvn -Drevision=${GRAPHSCOPE_ANALYTICAL_JAR_VERSION} clean install -DskipTests --quiet
DEPENDS gs_proto
WORKING_DIRECTORY ${GAE_JAVA_DIR}
COMMENT "Building GAE-java..."
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/java/giraph-on-grape/pom.xml
Expand Up @@ -21,6 +21,7 @@
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>giraph-on-grape</artifactId>
Expand Down Expand Up @@ -58,7 +59,6 @@
<dependency>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk</artifactId>
<classifier>shaded</classifier>
</dependency>
<dependency>
<groupId>io.netty</groupId>
Expand Down
1 change: 1 addition & 0 deletions analytical_engine/java/grape-annotation/pom.xml
Expand Up @@ -6,6 +6,7 @@
<artifactId>grape-jdk-parent</artifactId>
<groupId>com.alibaba.graphscope</groupId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/java/grape-demo/pom.xml
Expand Up @@ -22,6 +22,7 @@
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>grape-demo</artifactId>
Expand All @@ -41,7 +42,6 @@
<dependency>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk</artifactId>
<classifier>shaded</classifier>
</dependency>
<dependency>
<groupId>com.alibaba.graphscope</groupId>
Expand Down
1 change: 1 addition & 0 deletions analytical_engine/java/grape-jdk/pom.xml
Expand Up @@ -21,6 +21,7 @@
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>grape-jdk</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/java/grape-runtime/pom.xml
Expand Up @@ -22,6 +22,7 @@
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>grape-runtime</artifactId>
Expand Down Expand Up @@ -54,7 +55,6 @@
<dependency>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk</artifactId>
<classifier>shaded</classifier>
</dependency>
<dependency>
<groupId>com.alibaba.graphscope</groupId>
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/java/graphx-on-graphscope/pom.xml
Expand Up @@ -20,6 +20,7 @@
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>graphx-on-graphscope</artifactId>
Expand Down Expand Up @@ -58,7 +59,6 @@
<dependency>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk</artifactId>
<classifier>shaded</classifier>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 0 additions & 2 deletions analytical_engine/java/pom.xml
Expand Up @@ -18,7 +18,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk-parent</artifactId>

<version>${revision}</version>

<packaging>pom</packaging>
Expand Down Expand Up @@ -72,7 +71,6 @@
<dependency>
<groupId>com.alibaba.graphscope</groupId>
<artifactId>grape-jdk</artifactId>
<classifier>shaded</classifier>
<version>${revision}</version>
</dependency>
<dependency>
Expand Down

0 comments on commit 0c5a4b5

Please sign in to comment.