Deletes every file in the ${outputDirectory}/logs
, ${outputDirectory}/workarea
, ${userDirectory}/dropins
or ${userDirectory}/apps
.
Parameter | Description | Required |
---|---|---|
cleanLogs | Delete all the files in the ${outputDirectory}/logs directory. The default value is true . |
No |
cleanWorkarea | Delete all the files in the ${outputDirectory}/workarea directory. The default value is true . |
No |
cleanDropins | Delete all the files in the ${userDirectory}/dropins directory. The default value is false . |
No |
cleanApps | Delete all the files in the ${userDirectory}/apps directory. The default value is false . |
No |
Remove every app deployed to the ${userDirectory}/dropins
and every file in the ${outputDirectory}/workarea
and ${outputDirectory}/logs
directories.
<project>
...
<build>
<plugins>
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<executions>
...
<execution>
<id>clean</id>
<phase>post-integration-test</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<cleanDropins>true</cleanDropins>
</configuration>
</execution>
...
</executions>
<configuration>
<installDirectory>/opt/ibm/wlp</installDirectory>
<serverName>test</serverName>
</configuration>
</plugin>
</plugins>
</build>
...
</project>