Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for anotherGroup (0.08 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            projectManager.attachArtifact(project, artifact, artifactPath);
    
            // Verify that an exception is thrown when the groupId differs
            when(artifact.getGroupId()).thenReturn("anotherGroup");
            assertExceptionMessageContains("myGroup:myArtifact:1.0-SNAPSHOT", "anotherGroup:org.foo.bar:1.0-SNAPSHOT");
        }
    
        /**
         * Verifies that {@code projectManager.attachArtifact(…)} throws an exception,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top