public class MungeMojo
extends org.apache.maven.plugin.AbstractMojo
http://blog.publicobject.com/2009/02/preprocessing-java-with-munge.html
,
http://weblogs.java.net/blog/2006/09/05/munge-swings-secret-preprocessor
Constructor and Description |
---|
MungeMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
static void |
munge(String from,
String to,
String includes,
String excludes)
Munges source files found in
from and places them in to , honoring any includes or excludes. |
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public static void munge(String from, String to, String includes, String excludes) throws org.apache.maven.plugin.MojoExecutionException
from
and places them in to
, honoring any includes or excludes.from
- The original source directoryto
- The munged source directoryincludes
- Comma-separated list of files to includeexcludes
- Comma-separated list of files to excludeorg.apache.maven.plugin.MojoExecutionException
Copyright © 2008–2016 Sonatype, Inc.. All rights reserved.