public class KSDictionaryDocMojo extends AbstractKSMojo
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>maven-kscontractdoc-plugin</artifactId>
<execution>
<id>generate-dictionary-documentation</id>
<phase>site</phase>
<goals>
<goal>ksdictionarydoc</goal>
</goals>
<configuration>
<supportFiles>
<supportFile>commonApplicationContext.xml</supportFile>
</supportFiles>
</configuration>
</execution>
</plugin>
We use the QDox model to read the class files present and to enumerate the list of Message Structure objects. Then for each identified type we build an application context that includes the union of that
file plus any files specified using the localPackages
Constructor and Description |
---|
KSDictionaryDocMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getHtmlDirectory() |
org.apache.maven.project.MavenProject |
getProject() |
List<String> |
getSupportFiles() |
void |
setHtmlDirectory(File htmlDirectory) |
void |
setSupportFiles(List<String> supportFiles) |
void |
setTestDictionaryFile(String dictionaryFile)
Used for testing to hard code a single dictionary file to use.
|
getContextSourceDirs, getModel, getSourceDirs, setContextSourceDirs, setSourceDirs, validate
public KSDictionaryDocMojo()
public void setHtmlDirectory(File htmlDirectory)
public File getHtmlDirectory()
public org.apache.maven.project.MavenProject getProject()
public List<String> getSupportFiles()
public void setSupportFiles(List<String> supportFiles)
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void setTestDictionaryFile(String dictionaryFile)
string
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.