Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for validation (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        private static final String MAVEN_PLUGIN_VALIDATION_KEY = "maven.plugin.validation";
    
        private static final String MAVEN_PLUGIN_VALIDATION_EXCLUDES_KEY = "maven.plugin.validation.excludes";
    
        private static final ValidationReportLevel DEFAULT_VALIDATION_LEVEL = ValidationReportLevel.INLINE;
    
        private static final Collection<ValidationReportLevel> INLINE_VALIDATION_LEVEL = Collections.unmodifiableCollection(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        boolean isResolveDependencies();
    
        /**
         * Controls the level of validation to perform on processed models. By default, models are validated in strict mode.
         *
         * @param validationLevel The level of validation to perform on processed models, e.g.
         *            {@link org.apache.maven.model.building.ModelBuildingRequest#VALIDATION_LEVEL_STRICT}.
         * @return This configuration, never {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java

    package org.apache.maven.plugin.internal;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.plugin.PluginValidationManager;
    
    /**
     * Common implementations for plugin parameters configuration validation that relies on Mojo descriptor (leaves out
     * core parameters by default).
     *
     */
    abstract class AbstractMavenPluginDescriptorSourcedParametersValidator extends AbstractMavenPluginParametersValidator {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Common implementations for plugin parameters configuration validation.
     *
     */
    abstract class AbstractMavenPluginParametersValidator implements MavenPluginConfigurationValidator {
    
        protected final PluginValidationManager pluginValidationManager;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    
    import org.apache.maven.project.validation.ModelValidationResult;
    
    /**
     * InvalidProjectModelException
     */
    @Deprecated
    public class InvalidProjectModelException extends ProjectBuildingException {
        private ModelValidationResult validationResult;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 07 19:46:28 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. 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)
Back to top