desruisseaux opened a new pull request, #276: URL: https://github.com/apache/maven-clean-plugin/pull/276
Each `<source>` element (new in Maven 4) can have an optional `<targetPath>` element. If this element is specified, it should also be deleted by the Maven Clean Plugin. This change completes the current Maven 3 behaviour, which deletes also the directories specified by the `<sourceDirectory>` and `<testSourceDirectory>` elements. This pull request also modifies the list of directories for removing redundancies. For example, if the plugin deletes the `target` directory, there is no need to keep an entry for the `target/classes` directory. Likewise, the `reportDirectory` field is removed because its value (read-only) was identical to `outputDirectory` (also read-only). A side effect of this change is that the following logs, which was previously emitted by the `default` integration test, are now gone: ``` [DEBUG] Skipping non-existing directory (…snip…)/target/it/default/target/classes [DEBUG] Skipping non-existing directory (…snip…)/target/it/default/target/test-classes [DEBUG] Skipping non-existing directory (…snip…)/target/it/default/target/classes ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
