Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
4.0.0-alpha-7
-
None
-
None
Description
Context
- Maven 4.0.0-alpha-6 and above
- A Maven extension collecting CLI arguments passed with -D
Issue
In a Maven extension, I am collecting CLI arguments which allow to skip tests if present (skipTests, skipITs, maven.test.skip).
The problem is that since Maven 4.0.0-alpha06, these informations are not part of the session.systemProperties anymore.
This is working fine until this commit if not mistaken.
The missing instruction being this one.
If I add this back on the latest version of master, I am able to collect the information.
Alternative
Those properties can be accessed via the session.getUserProperties()
Please confirm if this is the expected way to collect the data.