desruisseaux commented on code in PR #508:
URL: https://github.com/apache/maven-jar-plugin/pull/508#discussion_r3891607447
##########
src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java:
##########
@@ -108,13 +105,22 @@ public abstract class AbstractJarMojo implements
org.apache.maven.api.plugin.Moj
@Parameter
protected MavenArchiveConfiguration archive = new
MavenArchiveConfiguration();
+ /**
+ * The service to use for attaching the artifacts produced by this plugin.
+ */
@Inject
protected ProjectManager projectManager;
/**
- * Require the jar plugin to build a new JAR even if none of the contents
appear to have changed.
- * By default, this plugin looks to see if the output JAR exists and
inputs have not changed.
- * If these conditions are true, the plugin skips creation of the JAR file.
+ * The service to use for creating include and exclude filters.
Review Comment:
`PathMatcherFactory` is an interface from the
`org.apache.maven.api.services` package and extends the `Service` interface. It
can be obtained by `Session.getService(PathMatcherFactory.class)`.
--
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]