Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toSourceHint (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         *
         * @param model The model to create a source hint for, may be {@code null}.
         * @return The user-friendly source hint, never {@code null}.
         */
        static String toSourceHint(Model model) {
            if (model == null) {
                return "";
            }
    
            StringBuilder buffer = new StringBuilder(128);
    
            buffer.append(toId(model));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    problems.add(new ModelProblemCollectorRequest(Severity.ERROR, ModelProblem.Version.BASE)
                            .setMessage("Invalid packaging for parent POM " + ModelProblemUtils.toSourceHint(parentModel)
                                    + ", must be \"pom\" but is \"" + parentModel.getPackaging() + "\"")
                            .setLocation(parentModel.getLocation("packaging")));
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top