Class AbstractBanDependencies

    • Constructor Detail

      • AbstractBanDependencies

        public AbstractBanDependencies()
    • Method Detail

      • getErrorMessage

        protected CharSequence getErrorMessage​(org.apache.maven.artifact.Artifact artifact)
      • getDependenciesToCheck

        protected Set<org.apache.maven.artifact.Artifact> getDependenciesToCheck​(org.apache.maven.project.ProjectBuildingRequest projectBuildingRequest)
      • checkDependencies

        protected abstract Set<org.apache.maven.artifact.Artifact> checkDependencies​(Set<org.apache.maven.artifact.Artifact> dependencies,
                                                                                     org.apache.maven.plugin.logging.Log log)
                                                                              throws EnforcerRuleException
        Checks the set of dependencies against the list of excludes.
        Parameters:
        dependencies - the dependencies
        log - the log
        Returns:
        the sets the
        Throws:
        EnforcerRuleException - the enforcer rule exception
      • isSearchTransitive

        public boolean isSearchTransitive()
        Checks if is search transitive.
        Returns:
        the searchTransitive
      • setSearchTransitive

        public void setSearchTransitive​(boolean theSearchTransitive)
        Sets the search transitive.
        Parameters:
        theSearchTransitive - the searchTransitive to set