Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getWarnings (0.1 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getWarnings().get(0).contains("duplicate declaration of plugin test:duplicate"));
            assertTrue(result.getWarnings().get(1).contains("duplicate declaration of plugin test:managed-duplicate"));
            assertTrue(result.getWarnings().get(2).contains("duplicate declaration of plugin profile:duplicate"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        public SimpleProblemCollector(Model model) {
            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
        public List<String> getFatals() {
            return fatals;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. build-logic/src/main/kotlin/BndBuildAction.kt

            val builtJar = builder.build()
            if (!builder.isOk) {
              builder.getErrors().forEach { task.logger.error("Error: $it") }
              builder.getWarnings().forEach { task.logger.warn("Warning: $it") }
              throw GradleException("Bundle $archiveFileName has errors")
            }
    
            builtJar.write(archiveFile)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top