diff options
Diffstat (limited to 'java/pom.xml')
-rw-r--r-- | java/pom.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/pom.xml b/java/pom.xml index a34c164..1f43670 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -171,6 +171,12 @@ <arg value="../src/google/protobuf/unittest_enum_class_nano.proto" /> <arg value="../src/google/protobuf/unittest_enum_class_multiple_nano.proto" /> </exec> + <exec executable="../src/protoc"> + <arg value="--javanano_out=optional_field_style=reftypes:target/generated-test-sources" /> + <arg value="--proto_path=../src" /> + <arg value="--proto_path=src/test/java" /> + <arg value="../src/google/protobuf/unittest_reference_types_nano.proto" /> + </exec> </tasks> <testSourceRoot>target/generated-test-sources</testSourceRoot> <!--testSourceRoot>target/generated-test-sources/opt-space</testSourceRoot--> |