diff --git a/pom.xml b/pom.xml index d4755ceb..1b38ece1 100644 --- a/pom.xml +++ b/pom.xml @@ -73,6 +73,9 @@ Marek Kedzierski (kedzie) + + Alexander Torstling (atorstling) + diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6a877faf..8ddcb57e 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -7,6 +7,12 @@ + + + Added support for including source info in descriptor sets. + + + Added support for JavaNano generator (requires protobuf compiler version 3 or above). diff --git a/src/main/java/com/google/protobuf/maven/AbstractProtocMojo.java b/src/main/java/com/google/protobuf/maven/AbstractProtocMojo.java index 9230b2d2..2f7f37fd 100644 --- a/src/main/java/com/google/protobuf/maven/AbstractProtocMojo.java +++ b/src/main/java/com/google/protobuf/maven/AbstractProtocMojo.java @@ -324,6 +324,7 @@ abstract class AbstractProtocMojo extends AbstractMojo { * If {@code true} and {@code writeDescriptorSet} has been set, do not strip SourceCodeInfo * from the FileDescriptorProto. This results in vastly larger descriptors that include information * about the original location of each decl in the source file as well as surrounding comments. + * * @since 0.4.4 */ @Parameter( diff --git a/src/site/apt/usage.apt.vm b/src/site/apt/usage.apt.vm index ccaf052e..26e918d1 100644 --- a/src/site/apt/usage.apt.vm +++ b/src/site/apt/usage.apt.vm @@ -202,6 +202,10 @@ mvn toolchains:toolchain protoc:test-compile * <<>> - if <<>>, all imports are included in the descriptor set; default is <<>>. + * <<>> - if <<>>, source code information will be included in the + descriptor set; default is <<>>. Please note that the size of the description set may increase significantly + if this option is enabled. + * <<>> - the file name of the descriptor set; default is the artifact name with the <<<.protobin>>> extension.