slawekjaranowski commented on code in PR #126:
URL: https://github.com/apache/maven-plugin-tools/pull/126#discussion_r931468010
##########
maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Parameter.java:
##########
@@ -72,6 +72,13 @@
*/
String defaultValue() default "";
+ /**
+ * Defines the implementation in the case the parameter type is an
interface.
+ *
+ * @return the implementation class name
+ */
+ Class<?> implementation() default Object.class;
Review Comment:
I think that if implementation class will not be on plugin classpath, author
of plugin must instruct users how to deliver implementation.
So it will be the same as not use `implementation` attribute in plugin code
and inform user that must deliver implementation to plugin runtime by
dependency and use `implementation` attribute in configuration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]