Package org.eclipse.cbi.mojo
Class PluginVersionsMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.cbi.mojo.PluginVersionsMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="plugin-versions") public class PluginVersionsMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.tycho.core.osgitools.BundleReader
bundleReader
protected File
destination
protected File
repository
igorf: as of 2012-01-05, generated repository location is hardcoded to target/repository in tycho
-
Constructor Summary
Constructors Constructor Description PluginVersionsMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
protected File
getDestination()
protected void
processPlugins(Properties properties, Map<File,org.eclipse.tycho.core.osgitools.OsgiManifest> plugins)
-
-
-
Field Detail
-
destination
@Parameter(defaultValue="${project.build.directory}/plugin-versions.properties") protected File destination
-
repository
@Parameter(defaultValue="${project.build.directory}/repository") protected File repository
igorf: as of 2012-01-05, generated repository location is hardcoded to target/repository in tycho
-
bundleReader
@Component protected org.eclipse.tycho.core.osgitools.BundleReader bundleReader
-
-
Method Detail
-
processPlugins
protected void processPlugins(Properties properties, Map<File,org.eclipse.tycho.core.osgitools.OsgiManifest> plugins)
-
getDestination
protected File getDestination()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-