Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for second (0.16 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);
    
            result = artifactResolver.resolveTransitively(
    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-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * into a repository. In the first case, the result needs to be a proper local repository that one can use for
             * local artifact resolution. In the second case, the result needs to precisely obey the path information of the
             * repository's layout to allow pointing at artifacts within the repository. Unfortunately,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * key. Since this is a default component this will be a plain binding of ModelProcessor to
     * this implementation type, ie. no hint/name.
     *
     * This leads to a second side effect in that any @Inject request for just ModelProcessor in
     * the same injector is immediately matched to this explicit binding, which means extensions
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * project. In spite of the 'throws' declaration on this API, this method has never thrown an exception since Maven
         * 3.0.x. Historically, it logged and ignored a second addition of the same g/a/v/c/t. Now it replaces the file for
         * the artifact, so that plugins (e.g. shade) can change the pathname of the file for a particular set of
         * coordinates.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

         *
         * @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) {
            // we use a dedicated comparator because we control our model version scheme.
    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)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuildingEvent.java

    import org.apache.maven.api.services.ModelProblemCollector;
    import org.apache.maven.api.services.model.ModelBuildingEvent;
    
    /**
     * Holds data relevant for a model building event.
     */
    record DefaultModelBuildingEvent(
            Model model, Consumer<Model> update, ModelBuilderRequest request, ModelProblemCollector problems)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            }
    
            CacheRecord record = new CacheRecord(artifacts);
            cache.put(key, record);
            return record;
        }
    
        @Override
        public CacheRecord put(Key key, LifecycleExecutionException exception) {
            Objects.requireNonNull(exception, "exception cannot be null");
            assertUniqueKey(key);
            CacheRecord record = new CacheRecord(exception);
            cache.put(key, record);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelData.java

     * processing by providing a means to transport information that cannot be (easily) extracted from the model itself.
     */
    record ModelData(ModelSource source, Model model) {
    
        /**
         * Gets unique identifier of the model
         *
         * @return The effective identifier of the model, never {@code null}.
         */
        public String id() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
                        threads, threads, 3, TimeUnit.SECONDS, new LinkedBlockingQueue<>(), new DaemonThreadCreator());
            }
        }
    
        private RepositorySystemSession getSession(ArtifactRepository localRepository) {
    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)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            return new ArtifactModelSource(pomArtifact.getFile(), groupId, artifactId, version);
        }
    
        record Result(ModelSource source, Parent parent, Exception e) {}
    
        @Override
        public ModelSource resolveModel(final Parent parent, AtomicReference<Parent> modified)
                throws UnresolvableModelException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top