Package com.vaadin.integration.maven
Class Vaadin8UpgradeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.gwt.AbstractGwtMojo
-
- org.codehaus.mojo.gwt.AbstractGwtModuleMojo
-
- org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
-
- com.vaadin.integration.maven.Vaadin8UpgradeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,GwtModuleReader
@Mojo(name="upgrade8", requiresDependencyResolution=COMPILE) public class Vaadin8UpgradeMojo extends AbstractGwtShellMojoUpdates Vaadin 7 class imports to their corresponding compatibility imports in a Vaadin 8 project. Additionally updates declarative files to use the correct versions of components.
-
-
Field Summary
-
Fields inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
widgetsetMode
-
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, artifactMetadataSource, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, VAADIN_GROUP_ID, warSourceDirectory
-
-
Constructor Summary
Constructors Constructor Description Vaadin8UpgradeMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute()protected java.lang.StringgetVaadinVersion()-
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
addArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, createWidgetsetRequest, execute, getExtraJvmArgs, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOut
-
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
getGwtModules, getModules, readModule
-
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, addCompileSourceRoot, getArtifact, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarAndDependencies, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, isGenerator, resolve, setupGenerateDirectory
-
-
-
-
Method Detail
-
doExecute
public void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractGwtShellMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getVaadinVersion
protected java.lang.String getVaadinVersion()
-
-