org.mule.devkit.maven
Class GitHubDocMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.mule.devkit.maven.AbstractGitHubMojo
org.mule.devkit.maven.GitHubDocMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="github-upload-doc")
public class GitHubDocMojo
- extends AbstractGitHubMojo
Based on Maven plugin by Kevin Sawicki (kevin@github.com)
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.mule.devkit.maven.AbstractGitHubMojo |
createClient, debug, debug, error, error, getRepository, info, info, isDebug, isInfo, warn, warn |
| 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 |
GitHubDocMojo
public GitHubDocMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
removeEmpties
public static String[] removeEmpties(String... values)
- Create an array with only the non-null and non-empty values
- Parameters:
values -
- Returns:
- non-null but possibly empty array of non-null/non-empty strings
getMatchingPaths
public static String[] getMatchingPaths(String[] includes,
String[] excludes,
String baseDir)
- Get matching paths found in given base directory
- Parameters:
includes - excludes - baseDir -
- Returns:
- non-null but possibly empty array of string paths relative to the
base directory
Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.