slachiewicz opened a new pull request, #582: URL: https://github.com/apache/maven-resources-plugin/pull/582
Moves four filtering ITs that did not need a real Maven build into `ResourcesMojoFilteringTest`, and deletes `src/it/profile-override/prebuild.groovy`, which never ran: the configured pre-build hook script is named `setup`, so the script was dead and the IT passes without it. | Removed IT | Covering test | |---|---| | MRESOURCES-105 | `customDelimitersReplaceTheDefaultsAndFilterFileValuesApply` | | MRESOURCES-106 | `basedirInsideAPropertyValueIsResolvedOnce` | | MRESOURCES-231 | `emptyEscapeStringIsNotAnEscape` | | MRESOURCES-99 | `buildTimestampBaseUriAndBasedirExpressions` | Kept, because the behaviour under test belongs to Maven rather than the mojo: `profile-override` (profile resource merging), `MRESOURCES-18` (a user property reaching surefire after `process-resources`), and `user-filters` (`mavenFilteringHints` resolved from the plugin's own classpath dependencies). Counts: invoker ITs 7 to 3, unit tests 47 to 51. A full `-Prun-its verify` took 138 s on master and 102 s on the branch, one run each while other builds shared the machine. No production code changed. Verified: replacing the delimiters call, the escape string and the `project.baseUri` and `maven.build.timestamp` keys in `ResourcesMojo` one at a time fails the matching new test each time. Removing the `setAdditionalProperties` call alone does not fail the MRESOURCES-99 test, because maven-filtering supplies those two values itself; the plugin's special-property code looks redundant. -- 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]
