adoroszlai commented on code in PR #8000:
URL: https://github.com/apache/ozone/pull/8000#discussion_r1978146698


##########
hadoop-hdds/test-utils/pom.xml:
##########
@@ -108,6 +108,13 @@
           <proc>none</proc>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>com.github.ekryd.sortpom</groupId>
+        <artifactId>sortpom-maven-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>

Review Comment:
   > How about we skip it here and fix it separately?
   
   It can be trivially fixed by moving `provided` dependencies before `test` 
dependencies:
   
   ```diff
   diff --git hadoop-hdds/test-utils/pom.xml hadoop-hdds/test-utils/pom.xml
   index a9e4eca82c..f4da05146f 100644
   --- hadoop-hdds/test-utils/pom.xml
   +++ hadoop-hdds/test-utils/pom.xml
   @@ -26,6 +26,37 @@
      <description>Apache Ozone Distributed Data Store Test Utils</description>
    
      <dependencies>
   +    <dependency>
   +      <groupId>org.apache.hadoop</groupId>
   +      <artifactId>hadoop-common</artifactId>
   +      <scope>provided</scope>
   +      <exclusions>
   +        <exclusion>
   +          <groupId>*</groupId>
   +          <artifactId>*</artifactId>
   +        </exclusion>
   +      </exclusions>
   +    </dependency>
   +    <dependency>
   +      <groupId>org.apache.logging.log4j</groupId>
   +      <artifactId>log4j-core</artifactId>
   +      <scope>provided</scope>
   +    </dependency>
   +    <dependency>
   +      <groupId>org.jacoco</groupId>
   +      <artifactId>org.jacoco.core</artifactId>
   +      <scope>provided</scope>
   +    </dependency>
   +    <dependency>
   +      <groupId>org.junit.platform</groupId>
   +      <artifactId>junit-platform-launcher</artifactId>
   +      <scope>provided</scope>
   +    </dependency>
   +    <dependency>
   +      <groupId>org.mockito</groupId>
   +      <artifactId>mockito-core</artifactId>
   +      <scope>provided</scope>
   +    </dependency>
        <dependency>
          <groupId>ch.qos.reload4j</groupId>
          <artifactId>reload4j</artifactId>
   @@ -66,37 +97,6 @@
          <artifactId>slf4j-api</artifactId>
          <scope>test</scope>
        </dependency>
   -    <dependency>
   -      <groupId>org.apache.hadoop</groupId>
   -      <artifactId>hadoop-common</artifactId>
   -      <scope>provided</scope>
   -      <exclusions>
   -        <exclusion>
   -          <groupId>*</groupId>
   -          <artifactId>*</artifactId>
   -        </exclusion>
   -      </exclusions>
   -    </dependency>
   -    <dependency>
   -      <groupId>org.apache.logging.log4j</groupId>
   -      <artifactId>log4j-core</artifactId>
   -      <scope>provided</scope>
   -    </dependency>
   -    <dependency>
   -      <groupId>org.jacoco</groupId>
   -      <artifactId>org.jacoco.core</artifactId>
   -      <scope>provided</scope>
   -    </dependency>
   -    <dependency>
   -      <groupId>org.junit.platform</groupId>
   -      <artifactId>junit-platform-launcher</artifactId>
   -      <scope>provided</scope>
   -    </dependency>
   -    <dependency>
   -      <groupId>org.mockito</groupId>
   -      <artifactId>mockito-core</artifactId>
   -      <scope>provided</scope>
   -    </dependency>
      </dependencies>
    
      <build>
   @@ -108,13 +108,6 @@
              <proc>none</proc>
            </configuration>
          </plugin>
   -      <plugin>
   -        <groupId>com.github.ekryd.sortpom</groupId>
   -        <artifactId>sortpom-maven-plugin</artifactId>
   -        <configuration>
   -          <skip>true</skip>
   -        </configuration>
   -      </plugin>
        </plugins>
      </build>
    </project>
   ```



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