Class ExcludeReactorProjectsArtifactFilter

  • All Implemented Interfaces:
    org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter

    public class ExcludeReactorProjectsArtifactFilter
    extends org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
    ArtifactFilter implementation that excludes artifacts found in the Reactor.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.plugin.logging.Log log  
      private java.util.Set<java.lang.String> reactorArtifactKeys  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExcludeReactorProjectsArtifactFilter​(java.util.List<org.apache.maven.project.MavenProject> reactorProjects, org.apache.maven.plugin.logging.Log log)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<org.apache.maven.artifact.Artifact> filter​(java.util.Set<org.apache.maven.artifact.Artifact> artifacts)  
      private boolean isArtifactInReactor​(org.apache.maven.artifact.Artifact artifact)  
      • Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter

        isArtifactIncluded
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        private final org.apache.maven.plugin.logging.Log log
      • reactorArtifactKeys

        private final java.util.Set<java.lang.String> reactorArtifactKeys
    • Constructor Detail

      • ExcludeReactorProjectsArtifactFilter

        public ExcludeReactorProjectsArtifactFilter​(java.util.List<org.apache.maven.project.MavenProject> reactorProjects,
                                                    org.apache.maven.plugin.logging.Log log)
    • Method Detail

      • filter

        public java.util.Set<org.apache.maven.artifact.Artifact> filter​(java.util.Set<org.apache.maven.artifact.Artifact> artifacts)
                                                                 throws org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
        Throws:
        org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
      • isArtifactInReactor

        private boolean isArtifactInReactor​(org.apache.maven.artifact.Artifact artifact)