org.apache.felix.bundleplugin
Class DependencyEmbedder

java.lang.Object
  extended by org.apache.felix.bundleplugin.AbstractDependencyFilter
      extended by org.apache.felix.bundleplugin.DependencyEmbedder

public final class DependencyEmbedder
extends AbstractDependencyFilter

Add BND directives to embed selected dependencies inside a bundle

Author:
stuart.mcculloch@jayway.net (Stuart McCulloch)

Field Summary
static String EMBED_DEPENDENCY
           
static String EMBED_DIRECTORY
           
static String EMBED_STRIP_GROUP
           
static String EMBED_STRIP_VERSION
           
static String EMBED_TRANSITIVE
           
 
Constructor Summary
DependencyEmbedder(Collection dependencyArtifacts)
           
 
Method Summary
 Collection getEmbeddedArtifacts()
           
 Collection getInlinedPaths()
           
protected  void processDependencies(String inline, Collection filteredDependencies)
           
 void processHeaders(aQute.lib.osgi.Analyzer analyzer)
           
 
Methods inherited from class org.apache.felix.bundleplugin.AbstractDependencyFilter
processInstructions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMBED_DEPENDENCY

public static final String EMBED_DEPENDENCY
See Also:
Constant Field Values

EMBED_DIRECTORY

public static final String EMBED_DIRECTORY
See Also:
Constant Field Values

EMBED_STRIP_GROUP

public static final String EMBED_STRIP_GROUP
See Also:
Constant Field Values

EMBED_STRIP_VERSION

public static final String EMBED_STRIP_VERSION
See Also:
Constant Field Values

EMBED_TRANSITIVE

public static final String EMBED_TRANSITIVE
See Also:
Constant Field Values
Constructor Detail

DependencyEmbedder

public DependencyEmbedder(Collection dependencyArtifacts)
Method Detail

processHeaders

public void processHeaders(aQute.lib.osgi.Analyzer analyzer)
                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

processDependencies

protected void processDependencies(String inline,
                                   Collection filteredDependencies)
Specified by:
processDependencies in class AbstractDependencyFilter

getInlinedPaths

public Collection getInlinedPaths()

getEmbeddedArtifacts

public Collection getEmbeddedArtifacts()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.