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

   ## What changes were proposed in this pull request?
   Enable sortpom in hadoop-hdds sub-modules : `annotations`, `client`, 
`common` & `config`.
   
   Sortpom plugin was added as part of #7555.
   This PR enables the plugin for `hadoop-hdds` sub-modules. (part 1)
   Sorting all the sub-modules under `hadoop-hdds` creates a big change, which 
will be hard to review. So, breaking this into multiple PRs.
   This PR also sorts the pom of `hadoop-hdds` and the following sub-modules.
   
   ```
   annotations
   client
   common
   config
   ```
   
   
   ## What is the link to the Apache JIRA
   
   HDDS-11951
   
   ## How was this patch tested?
   
   Manually tested by adding out of order property.
   
   `hadoop-hdds/pom.xml`
   ```
   [INFO] --- sortpom:3.0.1:verify (default) @ hdds ---
   [INFO] Verifying file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/pom.xml
   [ERROR] The line 55 is not considered sorted, should be '    
<new.property.one>one</new.property.one>'
   [ERROR] The file /Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/pom.xml 
is not sorted
   ```
   
   `hadoop-hdds/annotations/pom.xml`
   ```
   [INFO] --- sortpom:3.0.1:verify (default) @ hdds-annotation-processing ---
   [INFO] Verifying file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/annotations/pom.xml
   [ERROR] The line 31 is not considered sorted, should be '    
<maven.test.skip>true</maven.test.skip>'
   [ERROR] The file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/annotations/pom.xml is not 
sorted
   ```
   
   `hadoop-hdds/client/pom.xml`
   ```
   [INFO] --- sortpom:3.0.1:verify (default) @ hdds-client ---
   [INFO] Verifying file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/client/pom.xml
   [ERROR] The line 30 is not considered sorted, should be '    
<new.property.one>one</new.property.one>'
   [ERROR] The file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/client/pom.xml is not sorted
   ```
   
   `hadoop-hdds/common/pom.xml`
   ```
   [INFO] --- sortpom:3.0.1:verify (default) @ hdds-common ---
   [INFO] Verifying file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/common/pom.xml
   [ERROR] The line 29 is not considered sorted, should be '    
<new.property.one>one</new.property.one>'
   [ERROR] The file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/common/pom.xml is not sorted
   ```
   
   `hadoop-hdds/config/pom.xml`
   ```
   [INFO] --- sortpom:3.0.1:verify (default) @ hdds-config ---
   [INFO] Verifying file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/config/pom.xml
   [ERROR] The line 28 is not considered sorted, should be '    
<new.property.one>one</new.property.one>'
   [ERROR] The file 
/Users/nvadivelu/Codebase/Github/ozone/hadoop-hdds/config/pom.xml is not sorted
   ```
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to