Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuf-maven-plugin gives error "unable to clean up temporary proto file directory" #113

Open
ananta-code opened this issue Apr 12, 2023 · 0 comments

Comments

@ananta-code
Copy link

Hi,

i am using protobuf-maven-plugin in my application and i am using bazel to build the app .
suprisingly intermitently i am getting issue unable to clean up temporary proto file directory.

this is my protobuf plugin.

<plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.6.1</version> <configuration> <writeDescriptorSet>true</writeDescriptorSet> <includeDependenciesInDescriptorSet>true</includeDependenciesInDescriptorSet> <descriptorSetOutputDirectory>${project.build.directory}</descriptorSetOutputDirectory> <descriptorSetFileName>total_trip_proto-descriptor-set.proto.bin</descriptorSetFileName> <clearOutputDirectory>false</clearOutputDirectory> <protocArtifact> com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier} </protocArtifact> <pluginId>grpc-java</pluginId> <pluginArtifact> io.grpc:protoc-gen-grpc-java:1.33.0:exe:${os.detected.classifier} </pluginArtifact> </configuration> <executions> <execution> <goals> <goal>compile</goal> <goal>compile-custom</goal> </goals> </execution> </executions> </plugin> </plugins>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant