Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for valida (0.14 sec)

  1. 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)
  2. maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setArtifactId("maven-it-plugin");
            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertTrue(errors.isEmpty());
        }
    
        @Test
        void testInvalidGroupId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            if (recommendedVersion != null) {
                version = recommendedVersion;
            } else {
                if (restrictions.size() == 0) {
                    throw new OverConstrainedVersionException("The artifact has no valid ranges", artifact);
                }
    
                version = null;
            }
            return version;
        }
    
        public boolean isSelectedVersionKnown(Artifact artifact) throws OverConstrainedVersionException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/MavenArtifactProperties.java

         * to be not present in any regular repository and likewise has no artifact descriptor. Artifact resolution will
         * verify the path and resolve the artifact if the path actually denotes an existing file. If the path isn't valid,
         * resolution will fail and no attempts to search local/remote repositories are made.
         */
        public static final String LOCAL_PATH = "localPath";
    
        private MavenArtifactProperties() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        public static final MojoDescriptor POST_CLEAN = createMojoDescriptor("post-clean");
    
        // default (or at least some of them)
    
        public static final MojoDescriptor VALIDATE = createMojoDescriptor("validate");
    
        public static final MojoDescriptor INITIALIZE = createMojoDescriptor("initialize");
    
        public static final MojoDescriptor TEST_COMPILE = createMojoDescriptor("test-compile");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/plugin-injection-merge-order/pom.xml

                <configuration>
                  <logFile>target/it.properties</logFile>
                </configuration>
                <executions>
                  <execution>
                    <id>first</id>
                    <phase>validate</phase>
                    <goals>
                      <goal>reset</goal>
                    </goals>
                  </execution>
                </executions>
              </plugin>
              <plugin>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 4.4K bytes
    - Viewed (0)
  9. maven-core/src/test/projects/plugin-manager/project-contributing-system-scope-plugin-dep/pom.xml

                <systemPath>${basedir}/tools.jar</systemPath>
              </dependency>
            </dependencies>
            <executions>
              <execution>
                <id>load</id>
                <phase>validate</phase>
                <configuration>
                  <resourcePaths>maven-core-it.properties</resourcePaths>
                  <pluginClassLoaderOutput>target/pcl.properties</pluginClassLoaderOutput>
                </configuration>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Nov 23 12:04:30 GMT 2014
    - 1.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDependenciesValidator.java

        protected AbstractMavenPluginDependenciesValidator(PluginValidationManager pluginValidationManager) {
            this.pluginValidationManager = requireNonNull(pluginValidationManager);
        }
    
        @Override
        public void validate(
                RepositorySystemSession session,
                Artifact pluginArtifact,
                ArtifactDescriptorResult artifactDescriptorResult) {
            if (artifactDescriptorResult.getDependencies() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed May 24 06:50:28 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top