michael-o commented on a change in pull request #58:
URL: https://github.com/apache/maven-plugin-tools/pull/58#discussion_r777681736
##########
File path:
maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/AbstractGeneratorMojo.java
##########
@@ -163,7 +164,36 @@
* @since 3.3
*/
@Parameter
- protected List<String> packagingTypes = Arrays.asList( "maven-plugin" );
+ protected List<String> packagingTypes = Collections.singletonList(
"maven-plugin" );
+
+ /**
+ * Flag controlling is "expected dependencies in provided scope" check to
be performed or not. Default value:
+ * {@code true}.
+ *
+ * @since 3.6.3
+ */
+ @Parameter( defaultValue = "true", property =
"maven.plugin.checkExpectedProvidedScope" )
+ private boolean checkExpectedProvidedScope = true;
+
+ /**
+ * List of {@code groupId} strings of artifact coordinates that are
expected to be in "provided" scope. Default
+ * value: {@code ["org.apache.maven"]}.
+ *
+ * @since 3.6.3
+ */
+ @Parameter
+ private List<String> expectedProvidedScopeGroupIds =
Collections.singletonList( "org.apache.maven" );
+
+ /**
+ * List of {@code G:A} strings of artifact coordinates that are to be
excluded from "expected provided scope" check.
+ * Default value: {@code ["org.apache.maven:maven-archiver",
"org.apache.maven:maven-jxr"]}.
+ *
+ * @since 3.6.3
+ */
+ @Parameter
+ private List<String> expectedProvidedScopeExclusions = Arrays.asList(
Review comment:
But those aren't expected to be in provided scope, are they? They are
just int he wrong group id.
--
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]