chihsuan commented on code in PR #12120:
URL: https://github.com/apache/ozone/pull/12120#discussion_r4658351182


##########
pom.xml:
##########
@@ -2996,60 +2993,6 @@
         </plugins>
       </build>
     </profile>
-    <!-- Profiles for specific aspectj versions -->
-    <profile>
-      <id>aspectj-java8-10</id>
-      <activation>
-        <jdk>[1.8,11)</jdk>
-      </activation>
-      <properties>
-        <aspectj.version>${aspectj.java8.version}</aspectj.version>
-      </properties>
-    </profile>
-    <profile>
-      <id>aspectj-java11-20</id>
-      <activation>
-        <jdk>[11,21)</jdk>
-      </activation>
-      <properties>
-        <aspectj.version>${aspectj.java11.version}</aspectj.version>
-      </properties>
-    </profile>
-    <profile>
-      <id>aspectj-java21-24</id>
-      <activation>
-        <jdk>[21,25)</jdk>
-      </activation>
-      <properties>
-        <aspectj.version>${aspectj.java21.version}</aspectj.version>
-      </properties>
-    </profile>
-    <profile>
-      <id>aspectj-java25-or-later</id>
-      <activation>
-        <jdk>[25,]</jdk>
-      </activation>
-      <properties>
-        <aspectj.version>${aspectj.java25.version}</aspectj.version>
-      </properties>
-    </profile>
-    <profile>
-      <id>java11+</id>
-      <activation>
-        <jdk>[11,]</jdk>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>dev.aspectj</groupId>
-            <artifactId>aspectj-maven-plugin</artifactId>
-            <configuration>
-              <release>${maven.compiler.release}</release>

Review Comment:
   Either works for now, since both give the same output today. I'd slightly 
prefer `<release>` so we get the protection for free once #388 is fixed. 
   
   I also see HDDS-17258 mentions removing `AspectJ`, so maybe we won't need 
either one later.



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