Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Validation (0.38 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         * users to migrate their projects.
         */
        int VALIDATION_LEVEL_MAVEN_2_0 = 20;
    
        /**
         * Denotes validation as performed by Maven 3.0. This validation level is meant for existing projects.
         */
        int VALIDATION_LEVEL_MAVEN_3_0 = 30;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                    projectPrefixValueSource =
                            new ProblemDetectingValueSource(projectPrefixValueSource, PREFIX_POM, PREFIX_PROJECT, problems);
                }
    
                prefixlessObjectBasedValueSource = new ObjectBasedValueSource(model);
                if (request.getValidationLevel() >= ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_2_0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                resultModel = pluginConfigurationExpander.expandPluginConfiguration(resultModel, request, problems);
            }
    
            result.setEffectiveModel(resultModel);
    
            // effective model validation
            modelValidator.validateEffectiveModel(resultModel, request, problems);
    
            if (hasModelErrors(problems)) {
                throw problems.newModelBuilderException();
            }
    
            return result;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return The assembled model, never {@code null}.
         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            request.projectBuild(true);
            request.session(InternalSession.from(session));
            request.source(ModelSource.fromPath(src));
            request.validationLevel(ModelBuilderRequest.VALIDATION_LEVEL_MINIMAL);
            request.locationTracking(false);
            request.modelResolver(modelResolver);
            request.transformerContextBuilder(modelBuilder.newTransformerContextBuilder());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            }
    
            if (request.getValidationLevel() >= ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_2_0) {
                Severity errOn31 = getSeverity(request, ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_3_1);
    
                validateBannedCharacters(
                        EMPTY, "version", problems, errOn31, Version.V20, m.getVersion(), null, m, ILLEGAL_VERSION_CHARS);
    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)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                        e.getModelId(), e.getMessage(), pomFile != null ? pomFile.toFile() : null, e);
                            }
                            // validation error, continue project building and delay failing to help IDEs
                            error = e;
                        }
    
                        modelProblems = result.getProblems();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

      | o add specification element to a field, this would be more a technical description of
      |   what is allowed in the field.
      |
      | o validators: there could be several levels of validation. Simple type validation could
      |   be done with a regex, but we need inter-field validation and rules which could be
      |   dealt with by something like drools.
      |
      | o i18n: would be good to be able to have names/descriptions/specifications
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        }
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
         * @param isProjectSettings Boolean indicating if the validation is for project settings or user / global settings.
         * @return The list of problems that were encountered, must not be {@code null}.
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top