elharo opened a new issue, #350:
URL: https://github.com/apache/maven-filtering/issues/350

   The `copyOf()` method at 
`src/main/java/org/apache/maven/shared/filtering/MavenResourcesExecution.java` 
lines 428–450 omits these fields:
   
   - `flatten` (line 113) — controls flattened directory output
   - `propertiesEncoding` (line 57) — encoding for .properties files
   - `delimiters` (inherited from `AbstractMavenFilteringRequest`, line 75) — 
custom expression delimiter specifications
   - `interpolatorCustomizer` (inherited from `AbstractMavenFilteringRequest`, 
line 84) — custom interpolator consumer
   
   The default constructor calls `initDefaults()`, which sets delimiters to 
`["${*}", "@"]`. If a caller had configured custom delimiters or the other 
missing fields, the copy silently loses them. Any code path that creates a 
defensive copy (e.g., `mavenResourcesExecution == null ? new 
MavenResourcesExecution() : mavenResourcesExecution.copyOf()` in `BaseFilter` 
line 65) will produce an incomplete copy.


-- 
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]

Reply via email to