diff --git a/README.md b/README.md index d81520c..86ee846 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ Here are some external resources for the development: Generating the Java classes for the given `*.proto` is quite simple. The project contain a Maven `pom.xml` which references a simple plugin to generate the classes. Just call
-`mvn clean package -Pgenerate-protobuf-api` +`mvn clean install` -and the generated source files will be placed underneath `src/main/generated`. Additional references - like native Google APIs - are resolved by the plugin itself. +and the generated source files will be placed underneath `target/generated-sources`. Additional references - like native Google APIs - are resolved by the plugin itself. ### C++ diff --git a/pom.xml b/pom.xml index f2f95df..d7ed40d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,13 +5,16 @@ AGRIROUTER - API Protobuf Definitions com.dke.data.api.protobuf - definitions + agrirouter-api-protobuf-definitions 0.0.1-SNAPSHOT 3.5.1 3.5.1.1 - + 1.8 + 1.8 + UTF-8 + @@ -21,44 +24,32 @@ - - - generate-protobuf-api - - - - com.github.os72 - protoc-jar-maven-plugin - ${protoc-jar-maven-plugin.version} - - - generate-sources - - run - - - all - true - - src/main/resources/com/dke/data/agrirouter/proto - - - src/main/resources/com/dke/data/agrirouter/proto - - - - java - none - src/main/generated - - - - - - - - - - + + + + com.github.os72 + protoc-jar-maven-plugin + ${protoc-jar-maven-plugin.version} + + + generate-sources + + run + + + all + true + + src/main/resources/com/dke/data/agrirouter/proto + + + src/main/resources/com/dke/data/agrirouter/proto + + + + + + +