Hi, everybody.

I'm working on test project while learning protobuf and I've faced a 
problem when I wanted to use one of the google proto files.
In such case I have to import them manually, so I need to copy them to my 
project or compile my project with additional proto_path option.

I've chosen second option. I use maven protoc plugin so I've configured it 
with hardcoded protobuf source path to have my *.proto compiled.

In opposite to this in the same pom I have maven dependency on protobuf 
with all compiled java classes made from google *.proto files.
And this seems little strange to me. Why there are no proto files in 
protobuf jar if I need them on compile step?
Is there a correct way to include standard google *.proto files?

Can you point me to the right way, please, if I'm doing something wrong. 
Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to