Uninstall a feature from the Liberty runtime.
The following are the parameters supported by this goal in addition to the common parameters.
Parameter | Description | Required |
---|---|---|
feature | Specify the feature name to be uninstalled. This can be an IBM-Shortname or a Subsystem-SymbolicName of the Subsystem archive. | Yes |
Example:
<plugin>
<groupId>net.wasdev.wlp.maven.plugins</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<executions>
...
<execution>
<id>install-feature</id>
<phase>post-integration-test</phase>
<goals>
<goal>uninstall-feature</goal>
</goals>
<configuration>
<features>
<feature>mongodb-2.0</feature>
</features>
</configuration>
</execution>
...
</executions>
<configuration>
<installDirectory>/opt/ibm/wlp</installDirectory>
<serverName>test</serverName>
</configuration>
</plugin>