Full name:
com.github.igor-petruk.protobuf:protobuf-maven-plugin:0.6.4-SNAPSHOT:run
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
addSources | String | - | Specifies a mode for plugin whether it should add outputDirectory
to sources that are going to be compiled Can be "main", "test" or
"none" Default value is: main. |
cleanOutputFolder | boolean | - | If this parameter is set to "true" output folder is cleaned prior
to build. This will not let old and new classes coexist after
package or class rename in your IDE cache or after non-clean
rebuild. Set this to "false" if you are doing multiple plugin
invocations per build and it is important to preserve output folder
contents Default value is: true. |
extension | String | - | Default extension for protobuf files Default value is: .proto. |
ignoreVersions | boolean | - | Setting to "true" disables version check between 'protoc' and the
protobuf library used by module Default value is: false. |
Name | Type | Since | Description |
---|---|---|---|
includeDirectories | File[] | - | This parameter lets you specify additional include paths to protoc. |
inputDirectories | File[] | - | Input directories that have *.protoc files (or the configured
extension). If none specified then src/main/protobuf is
used. |
outputDirectory | File | - | Output directory, that generated java files would be stored
Defaults to "${project.build.directory}/generated-sources/protobuf"
or "${project.build.directory}/generated-test-sources/protobuf"
depending addSources parameter |
protobufArtifactId | String | - | This parameter allows to override protobuf library artifactId Default value is: protobuf-java. |
protobufGroupId | String | - | This parameter allows to override protobuf library groupId Default value is: com.google.protobuf. |
protocCommand | String | - | This parameter allows to override the protoc command that is going
to be used. Default value is: protoc. |