Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for XXX (0.17 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            repo = repo.withUrl("http://xxx.xxx.com");
            model2 = Settings.newBuilder()
                    .profiles(List.of(prof.withRepositories(List.of(repo))))
                    .build();
            problems.clear();
            problems = validator.validate(model2);
            assertEquals(1, problems.size());
    
            repo = repo.withId("xxx");
            model2 = Settings.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                return true;
            }
        }
    
        private boolean isValidProfileId(String id) {
            switch (id.charAt(0)) { // avoid first character that has special CLI meaning in "mvn -P xxx"
                case '+': // activate
                case '-': // deactivate
                case '!': // deactivate
                case '?': // optional
                    return false;
                default:
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top