Package net.jangaroo.jooc.mvnplugin
Class RunMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- net.jangaroo.jooc.mvnplugin.AbstractSenchaMojo
-
- net.jangaroo.jooc.mvnplugin.RunMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="run", requiresDependencyResolution=TEST) public class RunMojo extends AbstractSenchaMojoStarts a Jetty server serving the static resources of the workspace of an app or unit test app.
If the parametersjooProxyTargetUriandjooProxyPathSpecare provided, all requests matching thejooProxyPathSpecare proxied to thejooProxyTargetUri. This is convenient to proxy-in some HTTP(S)-based service.
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.mvnplugin.AbstractSenchaMojo
APP_MANIFEST_CROSS_MODULE_MERGE_STRATEGY, APP_MANIFEST_LOCALIZATION_MERGE_STRATEGY, project, session
-
-
Constructor Summary
Constructors Constructor Description RunMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidsetJooProxyTargetUri(String jooProxyTargetUri)-
Methods inherited from class net.jangaroo.jooc.mvnplugin.AbstractSenchaMojo
getAppDirOrJar, getAppManifestFileNameForLocale, getAppManifestFragmentFileNameForLocale, getArtifactFile, getExtFrameworkArtifactPattern, getExtFrameworkArtifactRegexp, getInputStreamForDirOrJar, getManifestEntries, getRootApp, getSenchaJvmArgs, getSenchaLogLevel, getToolkit, isExtFrameworkArtifact, isExtFrameworkDependency, prepareAppManifestByLocale, prepareFile
-
-
-
-
Method Detail
-
setJooProxyTargetUri
public void setJooProxyTargetUri(String jooProxyTargetUri)
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-