Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setPackaging (0.11 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            validateCoordinateId("artifactId", problems, m.getArtifactId(), m);
    
            validateStringNotEmpty("packaging", problems, Severity.ERROR, Version.BASE, m.getPackaging(), m);
    
            if (!m.getModules().isEmpty()) {
                if (!"pom".equals(m.getPackaging())) {
                    addViolation(
                            problems,
                            Severity.ERROR,
                            Version.BASE,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                if (!"pom".equals(parentModel.getPackaging())) {
                    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() + "\"")
    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