Goals available for this plugin:
| Goal | Description |
|---|---|
| phonegap-build:build | Compress the exploded package to a zip using the specified filters. Add in the config.xml from src/main/phonegap-build/. The compressed artifact will then be uploaded to either a pre-existing cloud app instance or a new one depending on whether a stored app id can be found. |
| phonegap-build:clean | Delete the cloud app and keys if found. |
| phonegap-build:list | Lists any cloud apps or keys. |
| phonegap-build:scorch | Delete any cloud apps or keys. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.6 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>com.github.chrisprice</groupId>
<artifactId>phonegap-build-maven-plugin</artifactId>
<version>0.0.8-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>com.github.chrisprice</groupId>
<artifactId>phonegap-build-maven-plugin</artifactId>
<version>0.0.8-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"