diff --git a/hugegraph-core/pom.xml b/hugegraph-core/pom.xml
index e0e3a887c6..0be30c9f01 100644
--- a/hugegraph-core/pom.xml
+++ b/hugegraph-core/pom.xml
@@ -280,6 +280,7 @@
com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
protoc-java
${project.basedir}/src/main/resources/proto
+ ${basedir}/target/generated-sources/protobuf/java