slachiewicz opened a new pull request, #1071: URL: https://github.com/apache/maven-archetype/pull/1071
The 10 ITs `exclude-patterns`, `exclude-patterns-2`, `include-file-with-no-extension`, `include-resource-file-with-no-extension` and `create-1` to `create-6` only checked what `FilesetArchetypeCreator` writes for fixed properties. They are now `FilesetArchetypeCreatorTest` in archetype-common, with the same fixtures and every assertion carried over (create-3 alone has 99). To make the creator testable without a forked Maven, it now skips building the created archetype when `postPhase` is null or empty; a null value used to fail. The plugin default stays `package`. The mojo wiring and the configurator stay covered by the remaining create-from-project ITs. Part of #1057. Verified: `mvn -B -P run-its -Dinvoker.parallelThreads=2 -pl maven-archetype-plugin -am verify` → 22 ITs and 41 + 29 unit tests pass on Maven 3.9.16 and 4.0.0-rc-7; the summed IT time drops from 492.9 s to 334.4 s. -- 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]
