Package org.apache.axis2.maven2.repo
Class CreateTestRepositoryMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.axis2.maven2.repo.AbstractCreateRepositoryMojo
-
- 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 themaven.test.skip
property is set totrue
.
-
-
Constructor Summary
Constructors Constructor Description CreateTestRepositoryMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
protected File[]
getClassDirectories()
protected File
getInputDirectory()
protected File
getOutputDirectory()
protected String
getScope()
-
-
-
Method Detail
-
getScope
protected String getScope()
- Specified by:
getScope
in classAbstractCreateRepositoryMojo
-
getInputDirectory
protected File getInputDirectory()
- Specified by:
getInputDirectory
in classAbstractCreateRepositoryMojo
-
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectory
in classAbstractCreateRepositoryMojo
-
getClassDirectories
protected File[] getClassDirectories()
- Specified by:
getClassDirectories
in classAbstractCreateRepositoryMojo
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Overrides:
execute
in classAbstractCreateRepositoryMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
-