Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 209 for it (0.14 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            MavenProject project = new MavenProject( new Model() );
    
            Set<Artifact> result = project.createArtifacts( dependencyFilter );
    
            for (Iterator<Artifact> it = result.iterator(); it.hasNext(); )
            {
                Artifact artifact = it.next();
    
                if ( "test-artifact2".equals( artifact.getArtifactId() ) )
                {
                    ArtifactFilter filter = artifact.getDependencyFilter();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
                    for (Iterator<Artifact> it = missing.iterator(); it.hasNext(); ) {
                        String key = ArtifactUtils.key(it.next());
                        if (projectIds.contains(key)) {
                            it.remove();
                        }
                    }
    
                    if (!missing.isEmpty()) {
                        throw e;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

             * the association between the artifacts of the same project.
             */
            for (Iterator<? extends Metadata> it = metadatas.iterator(); it.hasNext(); ) {
                Metadata metadata = it.next();
                if (metadata instanceof PluginsMetadata pluginMetadata) {
                    it.remove();
                    processedPlugins.put(pluginMetadata.getGroupId(), pluginMetadata);
                }
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

         * existing values in the execution request that are controlled by the toolchains. Hence, it is expected that this
         * method is called on a new/empty execution request before the caller mutates it to fit its needs.
         *
         * @param request The execution request to populate, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

         * @see org.eclipse.aether.RepositoryEvent
         */
        void onEvent(Object event) throws Exception;
    
        /**
         * Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
         */
        void close() throws Exception;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("* While this /may/ work fine, please look for plugin updates    *");
            msgs.add("* and/or request plugins be made thread-safe.                   *");
            msgs.add("* If reporting an issue, report it against the plugin in        *");
            msgs.add("* question, not against maven-core                              *");
            msgs.add("*****************************************************************");
    
            assertEquals(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

    import org.apache.maven.api.model.Dependency;
    
    /**
     * A dependency's {@code Type} is uniquely identified by a {@code String},
     * and semantically represents a known <i>kind</i> of dependency.
     * <p>
     * It provides information about the file type (or extension) of the associated artifact,
     * its default classifier, and how the artifact will be used in the build when creating
     * class-paths or module-paths.
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    } else {
                        /*
                         * NOTE: Other configurators like the map-oriented one don't call into the listener, so do it the
                         * hard way.
                         */
                        validateParameters(mojoDescriptor, configuration, expressionEvaluator);
                    }
                }
    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)
Back to top