org.apache.axis2.maven2.repo
Class CreateTestRepositoryMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.axis2.maven2.repo.AbstractCreateRepositoryMojo
          extended by org.apache.axis2.maven2.repo.CreateTestRepositoryMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CreateTestRepositoryMojo
extends AbstractCreateRepositoryMojo

Creates an Axis2 repository from the project's dependencies in scope test. This goal is typically used to build an Axis2 repository for use during unit tests. Note that this goal is skipped if the maven.test.skip property is set to true.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CreateTestRepositoryMojo()
           
 
Method Summary
 void execute()
           
protected  File getOutputDirectory()
           
protected  String getScope()
           
 
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

CreateTestRepositoryMojo

public CreateTestRepositoryMojo()
Method Detail

getScope

protected String getScope()
Specified by:
getScope in class AbstractCreateRepositoryMojo

getOutputDirectory

protected File getOutputDirectory()
Specified by:
getOutputDirectory in class AbstractCreateRepositoryMojo

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractCreateRepositoryMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.