Class AbstractPluginScannerMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    PluginVersionsMojo, TestPropertiesMojo

    abstract class AbstractPluginScannerMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.tycho.core.osgitools.BundleReader bundleReader  
      protected java.io.File repository
      igorf: as of 2012-01-05, generated repository location is hardcoded to target/repository in tycho
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      protected abstract java.io.File getDestination()  
      protected abstract void processPlugins​(java.util.Properties properties, java.util.Map<java.io.File,​org.eclipse.tycho.core.osgitools.OsgiManifest> plugins)  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • repository

        @Parameter(defaultValue="${project.build.directory}/repository")
        protected java.io.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
    • Constructor Detail

      • AbstractPluginScannerMojo

        AbstractPluginScannerMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • processPlugins

        protected abstract void processPlugins​(java.util.Properties properties,
                                               java.util.Map<java.io.File,​org.eclipse.tycho.core.osgitools.OsgiManifest> plugins)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDestination

        protected abstract java.io.File getDestination()