org.apache.felix.ipojo.junit4osgi.plugin
Class Junit4osgiPlugin

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Junit4osgiPlugin
extends org.apache.maven.plugin.AbstractMojo

Goal starting Felix and executing junit4osgi tests.

Author:
Felix Project Team

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Junit4osgiPlugin()
           
 
Method Summary
 void dumpBundles(BundleContext bc)
          Prints the bundle list.
 void execute()
          Executes the plug-in.
 LogServiceImpl getLogService()
           
 
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
 

Constructor Detail

Junit4osgiPlugin

public Junit4osgiPlugin()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoFailureException
Executes the plug-in.

Throws:
org.apache.maven.plugin.MojoFailureException - when the test execution failed.
See Also:
Mojo.execute()

dumpBundles

public void dumpBundles(BundleContext bc)
Prints the bundle list.

Parameters:
bc - the bundle context.

getLogService

public LogServiceImpl getLogService()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.