aboutsummaryrefslogtreecommitdiffstats
path: root/java/pom.xml
diff options
context:
space:
mode:
authorBrian Duff <bduff@google.com>2015-01-09 22:31:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-09 22:31:43 +0000
commitc7c25812eb19d080087b71e08bfe35aff9f21433 (patch)
tree55c02e666ed6f56c3ac9c337cd63e3ac2d6d66e8 /java/pom.xml
parent25794277fd65aabe917fc6c01b3162e243740634 (diff)
parent5537d6fe4af105eb769bacc530e8d5d9e0b027cb (diff)
downloadexternal_protobuf-c7c25812eb19d080087b71e08bfe35aff9f21433.zip
external_protobuf-c7c25812eb19d080087b71e08bfe35aff9f21433.tar.gz
external_protobuf-c7c25812eb19d080087b71e08bfe35aff9f21433.tar.bz2
Merge "When no clear() is generated, still initialize fields."
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 a673f2d..6c7191c 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -211,6 +211,12 @@
<arg value="--proto_path=src/test/java" />
<arg value="../src/google/protobuf/unittest_reference_types_nano.proto" />
</exec>
+ <exec executable="../src/protoc">
+ <arg value="--javanano_out=optional_field_style=reftypes_compat_mode,generate_equals=true,java_outer_classname=google/protobuf/unittest_reference_types_nano.proto|NanoReferenceTypesCompat: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-->