Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for first (0.22 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            printErrors(result);
    
            Iterator<Artifact> i = result.getArtifacts().iterator();
            assertEquals(n, i.next(), "n should be first");
            assertEquals(m, i.next(), "m should be second");
    
            // inverse order
            set = new LinkedHashSet<>();
            set.add(m);
            set.add(n);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            // POMs are always returned from the file system
            if ("pom".equals(artifact.getExtension())) {
                return project.getFile();
            }
    
            // First check in the project local repository
            File packagedArtifactFile = findInProjectLocalRepository(artifact);
            if (packagedArtifactFile != null
                    && packagedArtifactFile.exists()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        pluginDescriptor.getPlugin(),
                        "The plugin " + pluginDescriptor.getId() + " has unmet prerequisites: " + messages,
                        prerequisiteExceptions.get(0));
                // the first exception is added as cause, all other ones as suppressed exceptions
                prerequisiteExceptions.stream().skip(1).forEach(pie::addSuppressed);
                throw pie;
            }
        }
    
        @Override
    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)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // We want to send the root artifact back in the result but we need to do this after the other dependencies
            // have been resolved.
            if (request.isResolveRoot()) {
                // Add the root artifact (as the first artifact to retain logical order of class path!)
                Set<Artifact> allArtifacts = new LinkedHashSet<>();
                allArtifacts.add(rootArtifact);
                allArtifacts.addAll(result.getArtifacts());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // which may cause some re-entrance in the build() method and can
                // actually cause deadlocks.  In order to workaround the problem,
                // we do a first pass by reading all rawModels in order.
                List<ProjectBuildingResult> results = new ArrayList<>();
                boolean failure = false;
                for (InterimResult r : interimResults) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

              <description>
                The relative path of the parent {@code pom.xml} file within the checkout.
                If not specified, it defaults to {@code ../pom.xml}.
                Maven looks for the parent POM first in this location on
                the filesystem, then the local repository, and lastly in the remote repo.
                {@code relativePath} allows you to select a different location,
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        /**
         * Compares two model versions.
         *
         * @param first the first version.
         * @param second the second version.
         * @return negative if the first version is newer than the second version, zero if they are the same or positive if
         * the second version is the newer.
         */
        private static int compareModelVersions(String first, String second) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * A simple memorizing {@link Supplier} of {@link RepositorySystem} instance, that on first call
     * supplies lazily constructed instance, and on each subsequent call same instance. Hence, this instance should be
     * thrown away immediately once repository system was created and there is no need for more instances. If new
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertSame(mirrorC, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors));
        }
    
        @Test
        void testMirrorStopOnFirstMatch() {
            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelCache.java

     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    public interface ModelCache {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top