org.apache.maven.plugin.eclipse.osgiplugin
Class AbstractEclipseOsgiPlugin
java.lang.Object
org.apache.maven.plugin.eclipse.osgiplugin.AbstractEclipseOsgiPlugin
- All Implemented Interfaces:
- EclipseOsgiPlugin
- Direct Known Subclasses:
- ExplodedPlugin, PackagedPlugin
public abstract class AbstractEclipseOsgiPlugin
- extends Object
- implements EclipseOsgiPlugin
Common functionality for both exploded and packaged plugins.
- Version:
- $Id: AbstractEclipseOsgiPlugin.java 728546 2008-12-21 22:56:51Z bentmann $
- Author:
- Carlos Sanchez
AbstractEclipseOsgiPlugin
public AbstractEclipseOsgiPlugin(File file)
setFile
public void setFile(File file)
getFile
public File getFile()
toString
public String toString()
- Overrides:
toString
in class Object
getPluginProperties
public Properties getPluginProperties()
throws IOException
- Description copied from interface:
EclipseOsgiPlugin
- Loads the plugin.properties file from a the plugin, usually needed in order to resolve the artifact name.
- Specified by:
getPluginProperties
in interface EclipseOsgiPlugin
- Returns:
- loaded Properties (or an empty properties if no plugin.properties is found)
- Throws:
IOException
- for exceptions while reading the file
getPomProperties
public Properties getPomProperties()
- Description copied from interface:
EclipseOsgiPlugin
- Properties to add to the pom
- Specified by:
getPomProperties
in interface EclipseOsgiPlugin
- Returns:
- pom properties
getManifestAttribute
public String getManifestAttribute(String key)
throws IOException
- Specified by:
getManifestAttribute
in interface EclipseOsgiPlugin
- Throws:
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.