Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for validation (0.43 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. 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)
  4. 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)
  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/resources-project-builder/unique-repo-id/artifact-repo-in-profile/pom.xml

      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple artifact repository declarations with the same id cause a validation error even if the
        repositories are defined within a (non-active) profile.
      </description>
    
      <profiles>
        <profile>
          <id>test</id>
          <repositories>
            <repository>
              <id>one</id>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. apache-maven/src/assembly/shared/init.cmd

    @REM ==== END VALIDATION ====
    
    :init
    
    set "CLASSWORLDS_CONF=%MAVEN_HOME%\bin\m2.conf"
    
    @REM Find the project basedir, i.e., the directory that contains the directory ".mvn".
    @REM Fallback to current working directory if not found.
    
    set "EXEC_DIR=%CD%"
    set "WDIR=%EXEC_DIR%"
    
    @REM Look for the --file switch and start the search for the .mvn directory from the specified
    @REM POM location, if supplied.
    
    set FILE_ARG=
    :arg_loop
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  9. 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)
  10. maven-core/src/test/resources-project-builder/unique-repo-id/artifact-repo/pom.xml

      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple artifact repository declarations with the same id cause a validation error.
      </description>
    
      <repositories>
        <repository>
          <id>one</id>
          <url>https://repo1.maven.org/maven2</url>
        </repository>
        <repository>
          <id>one</id>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.4K bytes
    - Viewed (0)
Back to top