Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for validate (0.18 sec)

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

    /**
     * DefaultMavenPluginValidator
     */
    @Named
    @Singleton
    class DefaultMavenPluginValidator implements MavenPluginValidator {
    
        @Override
        public void validate(Artifact pluginArtifact, PluginDescriptor pluginDescriptor, List<String> errors) {
            if (!pluginArtifact.getGroupId().equals(pluginDescriptor.getGroupId())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/ValidatingConfigurationListener.java

    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.descriptor.Parameter;
    import org.codehaus.plexus.component.configurator.ConfigurationListener;
    
    /**
     * A configuration listener to help validate the plugin configuration. For instance, check for required but missing
     * parameters.
     *
     */
    class ValidatingConfigurationListener implements ConfigurationListener {
        private final Object mojo;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            return false;
        }
    
        @Override
        public final void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
                ExpressionEvaluator expressionEvaluator) {
            doValidate(mavenSession, mojoDescriptor, mojoClass, pomConfiguration, expressionEvaluator);
        }
    
    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)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem beerPhase = plan.findLastInPhase(
                    LifecycleExecutionPlanCalculatorStub.VALIDATE.getPhase()); // Beer comes straight after package in stub
            assertNull(beerPhase);
        }
    
        @Test
        void testFindLastInPhaseMisc() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            context.setValue(expression, value);
        }
    
        /*
        public int containerCountForUri( String uri )
            throws IOException
        {
            Validate.notEmpty( uri, "uri can neither be null nor empty " );
            ModelDataSource source = new DefaultModelDataSource();
            source.init( domainModel.getModelProperties(), null );
            return source.queryFor( uri ).size();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginDependenciesValidator.java

    /**
     * Service responsible for validating plugin dependencies.
     *
     * @since 3.9.3
     */
    interface MavenPluginDependenciesValidator {
        /**
         * Checks mojo dependency issues.
         */
        void validate(
                RepositorySystemSession session,
                Artifact pluginArtifact,
                ArtifactDescriptorResult artifactDescriptorResult);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed May 24 06:50:28 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginConfigurationValidator.java

    /**
     * Service responsible for validating plugin configuration.
     *
     */
    public interface MavenPluginConfigurationValidator {
        /**
         * Checks mojo configuration issues.
         */
        void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
                ExpressionEvaluator expressionEvaluator);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. 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)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/LifecyclePhase.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * <a href="/ref/3.0.4/maven-core/lifecycles.html">Lifecycle phases</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum LifecyclePhase {
        VALIDATE("validate"),
        INITIALIZE("initialize"),
        GENERATE_SOURCES("generate-sources"),
        PROCESS_SOURCES("process-sources"),
        GENERATE_RESOURCES("generate-resources"),
        PROCESS_RESOURCES("process-resources"),
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top