Package org.apache.felix.bundleplugin
Class VersionCleanerPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.felix.bundleplugin.VersionCleanerPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="cleanVersions",
threadSafe=true)
public class VersionCleanerPlugin
extends org.apache.maven.plugin.AbstractMojo
Clean OSGi versions, ie convert a group of versions to OSGi format.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Maven2OsgiConverter
private org.apache.maven.project.MavenProject
The Maven project.The BND instructions for the bundle.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
void
setMaven2OsgiConverter
(Maven2OsgiConverter maven2OsgiConverter) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
versions
The BND instructions for the bundle. -
project
@Parameter(defaultValue="${project}", readonly=true, required=true) private org.apache.maven.project.MavenProject projectThe Maven project. -
maven2OsgiConverter
-
-
Constructor Details
-
VersionCleanerPlugin
public VersionCleanerPlugin()
-
-
Method Details
-
getMaven2OsgiConverter
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-