Class ProjectPluginResolver
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.ProjectPluginResolver
Resolver for plugins within a project.
- Since:
- 2.7.0
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorsConstructorDescriptionProjectPluginResolver
(io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver binaryPluginResolver, io.github.ascopes.protobufmavenplugin.plugins.JvmPluginResolver jvmPluginResolver) -
Method Summary
Modifier and TypeMethodDescriptionresolveProjectPlugins
(GenerationRequest request) Resolve allprotoc
plugins.
-
Constructor Details
-
ProjectPluginResolver
@Inject public ProjectPluginResolver(io.github.ascopes.protobufmavenplugin.plugins.BinaryPluginResolver binaryPluginResolver, io.github.ascopes.protobufmavenplugin.plugins.JvmPluginResolver jvmPluginResolver)
-
-
Method Details
-
resolveProjectPlugins
public List<ResolvedProtocPlugin> resolveProjectPlugins(GenerationRequest request) throws ResolutionException Resolve allprotoc
plugins.Note that duplicates are allowed.
- Parameters:
request
- the generation request.- Returns:
- the list of plugins.
- Throws:
ResolutionException
- if resolution fails.
-