adoroszlai opened a new pull request, #7736:
URL: https://github.com/apache/ozone/pull/7736

   ## What changes were proposed in this pull request?
   
   Build fails when files from `hadoop-ozone/dist/src/main/compose` (or similar 
directories) are open in VI due to the binary swap files it creates:
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-resources-plugin:3.3.0:copy-resources 
(copy-compose-files) on project ozone-dist: filtering 
hadoop-ozone/dist/src/main/compose/restart/.docker-compose.yaml.swp to 
hadoop-ozone/dist/target/compose/restart/.docker-compose.yaml.swp failed with 
MalformedInputException: Input length = 1 -> [Help 1]
   ```
   
   This patch disables resource filtering for `.swp` files.  It also moves 
definition of non-filtered extensions to the root POM, so that it applies to 
all submodules, without having to duplicate.
   
   https://issues.apache.org/jira/browse/HDDS-12124
   
   ## How was this patch tested?
   
   ```
   gvim hadoop-ozone/dist/src/main/compose/restart/docker-compose.yaml 
   mvn -DskipTests -DskipShade clean package
   ```
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/12904340058
   


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to