|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.jvnet.jaxb2.maven2.AbstractXJC2Mojo<O>
org.jvnet.jaxb2.maven2.RawXJC2Mojo<O>
public abstract class RawXJC2Mojo<O>
Maven JAXB 2.x Mojo.
| Field Summary |
|---|
| Fields inherited from class org.jvnet.jaxb2.maven2.AbstractXJC2Mojo |
|---|
catalogResolver, plugins |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
RawXJC2Mojo()
|
|
| Method Summary | |
|---|---|
protected List<URI> |
createBindingURIs()
|
protected com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver |
createCatalogResolver()
Creates an instance of catalog resolver. |
protected ClassLoader |
createClassLoader(ClassLoader parent)
|
protected EntityResolver |
createEntityResolver(com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver catalogResolver)
|
OptionsConfiguration |
createOptionsConfiguration()
|
protected List<URI> |
createProducesURIs()
|
protected void |
doExecute()
|
abstract void |
doExecute(O options)
|
void |
execute()
Execute the maven2 mojo to invoke the xjc2 compiler based on any configuration settings. |
protected List<String> |
getArguments()
Returns array of command line arguments for XJC. |
protected List<InputSource> |
getBindFiles()
|
List<File> |
getBindingFiles()
|
protected List<URI> |
getBindingURIs()
|
protected com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver |
getCatalogResolverInstance()
|
protected List<URI> |
getCatalogURIs()
|
List<URI> |
getDependsURIs()
|
protected EntityResolver |
getEntityResolver()
|
Collection<org.apache.maven.artifact.Artifact> |
getEpisodeArtifacts()
|
Collection<File> |
getEpisodeFiles()
|
protected List<InputSource> |
getGrammars()
|
List<URI> |
getProducesURIs()
|
protected List<URI> |
getResolvedBindingURIs()
|
protected List<URI> |
getResolvedCatalogURIs()
|
protected List<URI> |
getResolvedSchemaURIs()
|
List<File> |
getSchemaFiles()
|
protected List<URI> |
getSchemaURIs()
|
protected URILastModifiedResolver |
getURILastModifiedResolver()
|
Collection<org.apache.maven.artifact.Artifact> |
getXjcPluginArtifacts()
|
Collection<File> |
getXjcPluginFiles()
|
List<URL> |
getXjcPluginURLs()
|
protected void |
injectDependencyDefaults()
************************************************************************* * |
protected void |
injectDependencyDefaults(org.apache.maven.model.Dependency[] dependencies)
|
protected boolean |
isUpToDate()
|
protected void |
logConfiguration()
Log the configuration settings. |
protected void |
resolveArtifacts()
|
protected void |
resolveEpisodeArtifacts()
|
protected void |
resolveXJCPluginArtifacts()
|
protected void |
setupBindingFiles()
|
protected void |
setupDependsURIs()
|
protected void |
setupDirectories()
|
protected void |
setupLogging()
Initializes logging. |
protected void |
setupMavenPaths()
Augments Maven paths with generated resources. |
protected void |
setupSchemaFiles()
|
| 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 |
|---|
public RawXJC2Mojo()
| Method Detail |
|---|
public Collection<org.apache.maven.artifact.Artifact> getXjcPluginArtifacts()
public Collection<File> getXjcPluginFiles()
public List<URL> getXjcPluginURLs()
public Collection<org.apache.maven.artifact.Artifact> getEpisodeArtifacts()
public Collection<File> getEpisodeFiles()
public List<File> getSchemaFiles()
protected List<URI> getSchemaURIs()
protected List<URI> getResolvedSchemaURIs()
protected List<InputSource> getGrammars()
public List<File> getBindingFiles()
protected List<URI> getBindingURIs()
protected List<URI> getResolvedBindingURIs()
protected List<InputSource> getBindFiles()
protected List<URI> createBindingURIs()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic List<URI> getDependsURIs()
public List<URI> getProducesURIs()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void injectDependencyDefaults()
protected void injectDependencyDefaults(org.apache.maven.model.Dependency[] dependencies)
protected void resolveArtifacts()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void resolveXJCPluginArtifacts()
throws org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.artifact.resolver.ArtifactNotFoundException,
org.apache.maven.project.artifact.InvalidDependencyVersionException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.project.artifact.InvalidDependencyVersionException
protected void resolveEpisodeArtifacts()
throws org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.artifact.resolver.ArtifactNotFoundException,
org.apache.maven.project.artifact.InvalidDependencyVersionException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.project.artifact.InvalidDependencyVersionExceptionprotected ClassLoader createClassLoader(ClassLoader parent)
protected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected URILastModifiedResolver getURILastModifiedResolver()
public abstract void doExecute(O options)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void setupLogging()
com.sun.tools.xjc.Options.findServices system property on to
enable debuggin of XJC plugins.
protected void setupMavenPaths()
protected void setupDirectories()
protected void setupSchemaFiles()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void setupBindingFiles()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void setupDependsURIs()
protected List<URI> createProducesURIs()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void logConfiguration()
throws org.apache.maven.plugin.MojoExecutionException
logConfiguration in class AbstractXJC2Mojo<O>org.apache.maven.plugin.MojoExecutionExceptionprotected List<URI> getCatalogURIs()
protected List<URI> getResolvedCatalogURIs()
protected com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver getCatalogResolverInstance()
protected EntityResolver getEntityResolver()
protected EntityResolver createEntityResolver(com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver catalogResolver)
protected com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver createCatalogResolver()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected boolean isUpToDate()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected List<String> getArguments()
AbstractXJC2Mojo.getArgs()) but also
include episode arguments.
org.apache.maven.plugin.MojoExecutionException
public OptionsConfiguration createOptionsConfiguration()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||