Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for anotherArtifact (0.06 seconds)

  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 artifactId differs
            when(artifact.getArtifactId()).thenReturn("anotherArtifact");
            assertExceptionMessageContains("myGroup:myArtifact:1.0-SNAPSHOT", "myGroup:anotherArtifact:1.0-SNAPSHOT");
    
            // Add a Java module. It should relax the restriction on artifactId.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top