Skip to content

Commit fb62712

Browse files
author
Furkan Danismaz
committed
Protobuf compiler readme
1 parent f1c3031 commit fb62712

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

protobuf/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Compiling .proto files manually
2+
If you want to use the protocol buffers compiler `protoc` manually, navigate to the folder of the source code and
3+
execute the command below:
4+
5+
> protoc -I=./main/resources --java_out=./main/java ./main/resources/adressbook.proto
6+
7+
8+
## Protobuf Maven Plugin
9+
With the `protoc-jar-maven-plugin` in the `pom.xml` the .proto files are searched under the `src/main/resources` folder
10+
and compiled automatically during the `generate-sources` phase of maven build lifecycle
11+
12+

0 commit comments

Comments
 (0)