Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for invalidate (0.18 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                            Build.newBuilder(build).plugins(normalized.values()).build());
                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            } catch (IOException e) {
                throw new PluginDescriptorParsingException(plugin, pluginFile.getAbsolutePath(), e);
            }
    
            List<String> errors = new ArrayList<>();
            pluginValidator.validate(pluginArtifact, pluginDescriptor, errors);
    
            if (!errors.isEmpty()) {
                throw new InvalidPluginDescriptorException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            // phase 1
            DefaultModelBuilderResult result = new DefaultModelBuilderResult();
    
            DefaultModelProblemCollector problems = new DefaultModelProblemCollector(result);
    
            // read and validate raw model
            Model fileModel = readFileModel(request, problems);
            result.setFileModel(fileModel);
    
            Model activatedFileModel = activateFileModel(fileModel, request, result, problems);
    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

        // The expressions help a lot, but we need a clean to pick up a directory of POMs, automatically load
        // them into a resolver, create the expression to extract the data to validate the Model, and the URI
        // to validate the properties. We also need a way to navigate from the Tex specification documents to
        // the test in question and vice versa. A little Eclipse plugin would do the trick.
    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. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            List<BuilderProblem> problems = validator.validate(model);
            assertEquals(0, problems.size());
    
            Repository repo = org.apache.maven.api.settings.Repository.newInstance(false);
            Settings model2 = Settings.newBuilder()
                    .profiles(List.of(prof.withRepositories(List.of(repo))))
                    .build();
            problems.clear();
            problems = validator.validate(model2);
            assertEquals(2, problems.size());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/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}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                        }
                    })
                    .visit(settings);
        }
    
        @Override
        public List<BuilderProblem> validate(Settings settings, boolean isProjectSettings) {
            ArrayList<BuilderProblem> problems = new ArrayList<>();
            settingsValidator.validate(settings, isProjectSettings, problems);
            return problems;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>type</name>
              <version>1.0.0+</version>
              <type>String</type>
              <required>true</required>
              <description>
                The Java type for this parameter. This is used to validate the result of any expressions used to calculate
                the value which should be injected into the Mojo for this parameter.
              </description>
            </field>
            <field>
              <name>required</name>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            Maven maven = getContainer().lookup(Maven.class);
            MavenExecutionRequest request =
                    createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate"));
    
            MavenExecutionResult result = maven.execute(request);
    
            Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get();
            assertNotNull(wsrClass, "wsr cannot be null");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                }
            } finally {
                legacySupport.setSession(null);
            }
    
            return result;
        }
    
        //
        // 1) Setup initial properties.
        //
        // 2) Validate local repository directory is accessible.
        //
        // 3) Create RepositorySystemSession.
        //
        // 4) Create MavenSession.
        //
        // 5) Execute AbstractLifecycleParticipant.afterSessionStart(session)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top