Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Validate (0.1 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

        }
    
        @Override
        public void validate(Settings settings, SettingsProblemCollector problems) {
            validate(settings, false, problems);
        }
    
        @Override
        public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) {
            List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java

    /**
     * Validate a model settings
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.internal.impl.DefaultSettingsValidator} instead
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsValidator {
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. .github/workflows/cffconvert.yml

    name: cffconvert
    
    on:
      push:
        paths:
          - CITATION.cff
    
    permissions:
      contents: read
    
    jobs:
      validate:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        name: "validate"
        runs-on: ubuntu-latest
        steps:
          - name: Check out a copy of the repository
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

         * file and has not been subjected to inheritance, interpolation or profile/default injection.
         *
         * @param model The model to validate, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            validator.validate(model, problems);
            assertEquals(0, problems.messages.size());
    
            Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false));
            prof.addRepository(repo);
            problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(2, problems.messages.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        void populatePropertiesCanContainEqualsSign() throws Exception {
            // Arrange
            CliRequest request = new CliRequest(new String[] {"-Dw=x=y", "validate"}, null);
    
            // Act
            cli.cli(request);
            cli.properties(request);
    
            // Assert
            assertThat(request.getUserProperties().getProperty("w"), is("x=y"));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidator.java

    /**
     * Checks the model for missing or invalid values.
     *
     */
    @Deprecated
    public interface ModelValidator {
    
        String ROLE = ModelValidator.class.getName();
    
        ModelValidationResult validate(Model model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            public Collection<Phase> phases() {
                return List.of(phase(
                        "all",
                        phase(INITIALIZE, phase(VALIDATE)),
                        phase(
                                BUILD,
                                after(VALIDATE),
                                phase(SOURCES),
                                phase(RESOURCES),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
            validate(invokerRequest);
    
            ArrayList<String> cmdAndArguments = new ArrayList<>();
            cmdAndArguments.add(invokerRequest
                    .installationDirectory()
                    .resolve("bin")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top