net.jangaroo.jooc.mvnplugin
Class WarPackageMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.jangaroo.jooc.mvnplugin.PackageApplicationMojo
net.jangaroo.jooc.mvnplugin.WarPackageMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class WarPackageMojo
- extends PackageApplicationMojo
The war-package goal extracts all dependent jangaroo artifacts into
the web application to make them accessible from HTML
pages during execution of the webapp. It also copies optional Jangaroo compiler
output from the current module into the web application.
This goal is NOT bound to the jangaroo lifecycle. It is aimed to be used in conjunction with
the war lifecycle and, optionally, the Jangaroo compile goal by defining its execution
as shown in the following snippet
...
<plugin>
<groupId>net.jangaroo</groupId>
<artifactId>jangaroo-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>war-package</goal>
</goals>
</execution>
</executions>
</plugin>
...
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarPackageMojo
public WarPackageMojo()
getPackageSourceDirectory
public File getPackageSourceDirectory()
- Specified by:
getPackageSourceDirectory in class PackageApplicationMojo
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException- See Also:
Mojo.execute()
Copyright © 2002–2013 CoreMedia AG. All rights reserved.