gnodet commented on code in PR #14192:
URL: https://github.com/apache/maven/pull/14192#discussion_r4797683374


##########
impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java:
##########
@@ -97,74 +89,20 @@ private Model newTestModel() {
     }
 
     @Test
-    void testDebugEnabled() throws PlexusContainerException {
-        Logger logger = mock(Logger.class);
-        when(logger.isDebugEnabled()).thenReturn(true);
-
-        DefaultClassRealmManager classRealmManager;
-        ClassRealm classRealm;
-
-        InOrder verifier = inOrder(logger);
-
+    void testProjectRealmIncludesArtifactsWithFileAndExcludesOthers() throws 
PlexusContainerException {

Review Comment:
   Excellent test method name - clearly describes the behavior being verified 
without being overly verbose.
   
   ---
   _Claude Code on behalf of Guillaume Nodet_



##########
pom.xml:
##########
@@ -1007,18 +1006,6 @@ under the License.
           </execution>
         </executions>
       </plugin>

Review Comment:
   Removing this `dependency:properties` execution is a significant performance 
win. It eliminates a scheduling barrier in concurrent builds since this goal 
forces full transitive dependency resolution before tests can run.
   
   ---
   _Claude Code on behalf of Guillaume Nodet_



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