Package org.apache.felix.obrplugin
Class ObrIndex
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.felix.obrplugin.ObrIndex
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="index",
requiresProject=false)
public final class ObrIndex
extends org.apache.maven.plugin.AbstractMojo
Index the content of a maven repository using OBR
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileFilter
private org.apache.maven.artifact.repository.ArtifactRepository
Local Repository.private String
The repository to indexprivate String
OBR Repository.private String
Template for urlsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
obrRepository
OBR Repository. -
urlTemplate
Template for urls -
mavenRepository
The repository to index -
localRepository
@Parameter(defaultValue="${localRepository}", readonly=true, required=true) private org.apache.maven.artifact.repository.ArtifactRepository localRepositoryLocal Repository. -
filter
-
-
Constructor Details
-
ObrIndex
public ObrIndex()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
doTemplate
protected void doTemplate(URI root, File path, org.apache.felix.bundlerepository.impl.ResourceImpl resource) throws IOException, URISyntaxException - Throws:
IOException
URISyntaxException
-
trim
-
findAllJars
-