@Mojo(name="mergewebxml",
defaultPhase=PROCESS_RESOURCES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class MergeWebXmlMojo
extends AbstractGwtWebMojo
If you use scanRemoteServiceRelativePathAnnotation you must bind this mojo to at least compile phase
Because the classpath scanner need to see compile classes
styleartifactFactory, artifactMetadataSource, classpathBuilder, GWT_DEV, GWT_GROUP_ID, GWT_USER, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, warSourceDirectory| Constructor and Description |
|---|
MergeWebXmlMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute() |
protected boolean |
isGenerator()
Whether to use processed resources and compiled classes (
false), or raw resources (true ). |
getWebXml, isWebXmlServletPathAsIsaddArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, execute, getExtraJvmArgs, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOutgetGwtModules, getModules, readModuleaddClasspathElements, addCompileSourceRoot, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarFiles, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, resolve, setupGenerateDirectoryprotected boolean isGenerator()
AbstractGwtMojofalse), or raw resources (true ).isGenerator in class AbstractGwtMojopublic void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractGwtShellMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2007–2017 MojoHaus. All rights reserved.