src/itthat demonstrate dependency handling and other features
src/main/protothat reflects package declarations in your protos
createTemporaryProtoFileDirectory? I really need to use/read the dependecny proto jar. As the above said, when my project have proto file/directory, but I want to check/read proto definition which depended the current project.
maven-dependency-pluginto unpack the protos into the
targetdirectory in the early phase of the build lifecycle. And then point
protobuf-maven-pluginto that directory as a source.
protobuf-maven-pluginalready scans the dependencies for proto files, unpacks them and uses them as imports for the protos in the current project. Using the dependencies as sources would potentially create a lot of confusion and complicate the plugin configuration.