Closed FrVaBe closed 5 years ago
I noticed that the artifact is not generated in the target folder but somehow gets deployed to the repository in the deploy phase. Thus the attachDescriptorSet option has the expected effect. Sorry for this issue.
I find that the descriptor set is generated when using:
<writeDescriptorSet>true</writeDescriptorSet>
This may then be included into the deployed archive given that it is a generated resource.
However, attachDescriptorSet
does not appear to be used anywhere.
Description Using the
attachDescriptorSet
option has no effect. The generated DescriptorSet is not included in the main artifact and also no additional artifact with the descriptorSet included is generated.Environment
Standalone or IDE Standalone
Plugin configuration https://github.com/FrVaBe/protobuf/blob/0.0.1/protobuf-showcase/pom.xml
To Reproduce Issue can be reproduced using the
protobuf-showcase
project (tag 0.0.1) in this repository: https://github.com/FrVaBe/protobuf/tree/0.0.1Run
mvn clean verify
to reproduce the behaviour.Expected behavior The FileDescriptorSet file is generated as expected at
target\generated-resources\protobuf\descriptor-sets\protobuf-showcase-0.0.1.protobin
. I also expected to have an (extra) artifact with the FileDescriptorSet generated but no extra artifact is build and the FileDescriptorSet is also not included in the main artifact (like the.proto
files).Additional context