Package org.apache.axis2.maven.xsd2java
Class GenerateTestSourcesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.axis2.maven.xsd2java.AbstractXSD2JavaMojo
-
- org.apache.axis2.maven.xsd2java.GenerateTestSourcesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class GenerateTestSourcesMojo extends AbstractXSD2JavaMojo
Generates Java classes from the specified schema files, for use in unit tests. This goal binds by default to the generate-test-sources phase and adds the sources to the test sources of the project; it is otherwise identical to the axis2-xsd2java:generate-sources goal.
-
-
Constructor Summary
Constructors Constructor Description GenerateTestSourcesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddSourceRoot(org.apache.maven.project.MavenProject project)protected FilegetOutputDirectory()-
Methods inherited from class org.apache.axis2.maven.xsd2java.AbstractXSD2JavaMojo
execute
-
-
-
-
Method Detail
-
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectoryin classAbstractXSD2JavaMojo
-
addSourceRoot
protected void addSourceRoot(org.apache.maven.project.MavenProject project)
- Specified by:
addSourceRootin classAbstractXSD2JavaMojo
-
-