org.plasma.mojo
Class XSDMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.plasma.mojo.ClassRealmMojo
          extended by org.plasma.mojo.XSDMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class XSDMojo
extends ClassRealmMojo

Mojo implementation for generating SDO model artifacts from XML Schema, such as UML/XMI. Sets up the mojo environment and then calls the Plasma XSD command-line (CLI) tool, passing it mojo args.

Since:
1.1.3
Author:
Scott Cinnamond
See Also:
XSDTool

Field Summary
 
Fields inherited from class org.plasma.mojo.ClassRealmMojo
additionalClasspathElements, classRealm, project, systemProperties
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
XSDMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.plasma.mojo.ClassRealmMojo
addURL, getProject, getSystemProperties
 
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

XSDMojo

public XSDMojo()
Method Detail

execute

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


Copyright © 2013. All Rights Reserved.