Class DependencyExcluder

java.lang.Object
org.apache.felix.bundleplugin.AbstractDependencyFilter
org.apache.felix.bundleplugin.DependencyExcluder

public final class DependencyExcluder extends AbstractDependencyFilter
Exclude selected dependencies from the classpath passed to BND.
  • Field Details

    • m_excludedArtifacts

      private final Collection<org.apache.maven.artifact.Artifact> m_excludedArtifacts
      Excluded artifacts.
  • Constructor Details

    • DependencyExcluder

      public DependencyExcluder(Collection<org.apache.maven.artifact.Artifact> dependencyArtifacts)
  • Method Details

    • processHeaders

      public void processHeaders(String excludeDependencies) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • processDependencies

      protected void processDependencies(Collection<org.apache.maven.artifact.Artifact> dependencies, String inline)
      Specified by:
      processDependencies in class AbstractDependencyFilter
    • getExcludedArtifacts

      public Collection<org.apache.maven.artifact.Artifact> getExcludedArtifacts()