Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 215 for Pause (0.01 seconds)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            List<String> messages = new ArrayList<>();
    
            @Override
            public void add(Severity severity, String message, int line, int column, Exception cause) {
                messages.add(message);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                            false);
                }
    
                Parent parent = project.getModel().getDelegate().getParent();
    
                if (parent != null) {
                    // Parent is added as an edge, but must not cause a cycle - so we remove any other edges it has
                    // in conflict
                    addEdge(
                            projectMap,
                            vertexMap,
                            null,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

        }
    
        @Test
        void testConcurrentWeightCalculation() throws Exception {
            // Test that concurrent weight calculation doesn't cause recursive update issues
            // This test simulates the scenario that causes the IllegalStateException
    
            int numThreads = 10;
            int numIterations = 100;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
                 * the activated profiles can cause repo declarations to be lost which in turn will result in artifact
                 * resolution failures, in particular when using the enhanced local repo which guards access to local files
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void handleChecksumFailure(String checksumPolicy, String message, Throwable cause)
                throws ChecksumFailedException {
            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(checksumPolicy)) {
                throw new ChecksumFailedException(message, cause);
            } else if (!ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(checksumPolicy)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

                    .filter(r -> r.getDirectory().endsWith("null-target"))
                    .findFirst()
                    .orElseThrow();
    
            // null targetPath should remain null (not cause errors)
            assertNull(nullTargetResult.getTargetPath(), "Null targetPath should remain null");
    
            // Test property placeholder in targetPath
            Resource placeholderResource = new Resource();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
            // Put in a bogus file to make sure missing files cause the resolution to fail.
            //
            file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar");
            assertFalse(file.exists(), "Expected " + file + ".exists() to return false");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. internal/grid/grid.go

    	buf := GetByteBufferCap(len(p))
    	buf = buf[:len(p)]
    	copy(buf, p)
    	select {
    	case w.ch <- buf:
    		return len(p), nil
    	case <-w.ctx.Done():
    		return 0, context.Cause(w.ctx)
    	}
    }
    
    // WriterToChannel will return an io.Writer that writes to the given channel.
    // The context both allows returning errors on writes and to ensure that
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         * </p>
         * <strong>Note:</strong>
         * The logger returned by this method must not be cached in an instance field during the construction of the mojo.
         * This would cause the mojo to use a wrongly configured default logger when being run by Maven. The proper logger
         * gets injected by the Plexus container after the mojo has been constructed. Therefore, simply call this
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. cmd/batch-expire.go

    				ObjectInfo: result.Item,
    			})
    			pushToExpire()
    		case <-ctx.Done():
    			done = true
    		}
    		if done {
    			break
    		}
    	}
    
    	if context.Cause(ctx) != nil {
    		xioutil.SafeClose(expireCh)
    		return context.Cause(ctx)
    	}
    	pushToExpire()
    	// Send any remaining objects downstream
    	if len(toDel) > 0 {
    		select {
    		case <-ctx.Done():
    		case expireCh <- toDel:
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
Back to Top