Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for ModelProblem (0.06 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                    .findFirst()
                    .get();
            assertEquals("0.3", dep.getVersion());
            assertEquals(1, result.getProblems().size());
            ModelProblem problem = result.getProblems().get(0);
            assertTrue(problem.toString().contains("Ignored POM import"));
        }
    
        /**
         * This test has
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         *            to force output of model id and source.
         * @return The formatted problem location or an empty string if unknown, never {@code null}.
         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                return true;
            } catch (Graph.CycleDetectedException e) {
                problems.add(new DefaultModelProblem(
                        "Cycle detected between models at " + from + " and " + p,
                        ModelProblem.Severity.FATAL,
                        null,
                        null,
                        0,
                        0,
                        null,
                        e));
                return false;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

    import org.apache.maven.api.model.Resource;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top