Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testValidateUniqueRepositoryId (0.13 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            assertContains(
                    problems.messages.get(0),
                    "'profiles.profile.id' must be unique but found duplicate profile with id test");
        }
    
        @Test
        void testValidateUniqueRepositoryId() throws Exception {
            Settings settings = new Settings();
            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top