Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 1.15 KB

uninstall-feature.md

File metadata and controls

39 lines (35 loc) · 1.15 KB

uninstall-feature


Uninstall a feature from the Liberty runtime.

Additional Parameters

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>