diff --git a/java/pom.xml b/java/pom.xml
index 881473f..e56bd94 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -29,7 +29,7 @@
${project.basedir}/../..
${protobuf.basedir}/src
- ${protobuf.source.dir}/protoc
+ protoc
src/test/proto
${project.build.directory}/generated-sources
${project.build.directory}/generated-test-sources