aboutsummaryrefslogtreecommitdiffstats
path: root/java/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'java/pom.xml')
-rw-r--r--java/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/pom.xml b/java/pom.xml
index 46fc764..0b9f6e4 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -138,6 +138,12 @@
<arg value="../src/google/protobuf/unittest_import_nano.proto" />
<arg value="../src/google/protobuf/unittest_enum_multiplejava_nano.proto" />
</exec>
+ <exec executable="../src/protoc">
+ <arg value="--javanano_out=store_unknown_fields=true:target/generated-test-sources" />
+ <arg value="--proto_path=../src" />
+ <arg value="--proto_path=src/test/java" />
+ <arg value="../src/google/protobuf/unittest_extension_nano.proto" />
+ </exec>
</tasks>
<testSourceRoot>target/generated-test-sources</testSourceRoot>
<!--testSourceRoot>target/generated-test-sources/opt-space</testSourceRoot-->