@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
style
artifactFactory, 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, isWebXmlServletPathAsIs
addArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, execute, getExtraJvmArgs, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOut
getGwtModules, getModules, readModule
addClasspathElements, addCompileSourceRoot, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarFiles, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, resolve, setupGenerateDirectory
protected boolean isGenerator()
AbstractGwtMojo
false
), or raw resources (true
).isGenerator
in class AbstractGwtMojo
public void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
doExecute
in class AbstractGwtShellMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2007–2017 MojoHaus. All rights reserved.