org.apache.felix.dm.annotation.plugin.mvn
Class AnnotationMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.felix.dm.annotation.plugin.mvn.AnnotationMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

The AnnotationMojo generates a Dependency Manager component descriptor file based on annotations found from java classes.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AnnotationMojo()
           
 
Method Summary
 void execute()
          Executes this mojo.
 
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

AnnotationMojo

public AnnotationMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Executes this mojo. We'll use the bnd library in order to scan classes from our target bundle.

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2011 Apache Software Foundation. All Rights Reserved.