org.apache.activemq.maven
Class ServerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.activemq.maven.ServerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Goal which starts activemq broker.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ServerMojo()
           
 
Method Summary
 File copy(File source)
          Copy activemq configuration file to output directory.
 void execute()
           
 
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

ServerMojo

public ServerMojo()
Method Detail

execute

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

copy

public File copy(File source)
          throws IOException
Copy activemq configuration file to output directory.

Parameters:
source -
Returns:
Throws:
IOException


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.