Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Phread (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

     * <p>
     * This builder uses a number of threads equal to the minimum of the degree of concurrency (which is the thread count
     * set with <code>-T</code> on the command-line) and the number of projects to build. As such, building a single project
     * will always result in a sequential build, regardless of the thread count.
     * </p>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            assertTrue(parentFileWasFoundOnChild);
    
            // read projects together
            List<ProjectBuildingResult> results = projectBuilder.build(toRead, false, configuration);
            assertResultShowNoError(results);
            assertEquals(parentPom, findChildProject(results).getParentFile());
            Collections.reverse(toRead);
            results = projectBuilder.build(toRead, false, configuration);
            assertResultShowNoError(results);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

                }
    
                seen = true;
    
                tg = aTgList;
                Thread[] ts = new Thread[tg.activeCount()];
                tg.enumerate(ts);
    
                for (Thread active : ts) {
                    String name = active.getName();
                    boolean daemon = active.isDaemon();
                    assertTrue(daemon, name + " is no daemon Thread.");
                }
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java

                } else {
                    projects = session.getProjects();
                }
                for (MavenProject project : projects) {
                    ClassLoader tccl = Thread.currentThread().getContextClassLoader();
                    MavenProject currentProject = session.getCurrentProject();
                    try {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                }
    
                if (logger.isDebugEnabled()) {
                    lifecycleDebugLogger.debugReactorPlan(projectBuilds);
                }
    
                ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
                ReactorBuildStatus reactorBuildStatus = new ReactorBuildStatus(session.getProjectDependencyGraph());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:56:36 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/NotThreadSafe.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * This annotation indicates that the annotated type is <strong>not</strong> threadsafe
     * and should only be used by a single thread.
     *
     * @see ThreadSafe
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.TYPE)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

        /**
         * Sets the currently active session. Some legacy components are basically stateful and their API is missing
         * parameters that would be required to delegate to a stateless component. Saving the session (in a thread-local
         * variable) is our best effort to record any state that is required to enable proper delegation.
         *
         * @param session The currently active session, may be {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
                throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataReadException(
                        "Cannot read metadata from '" + mappingFile + "': " + e.getMessage(), e);
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                        exceptions.add(e);
                    }
                }
                try {
                    return doRead(request);
                } catch (IOException e) {
                    exceptions.forEach(e::addSuppressed);
                    throw e;
                }
            } else {
                return doRead(request);
            }
        }
    
        private Path doLocateExistingPom(Path project) {
            if (project == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
            ClassLoader cloader = Thread.currentThread().getContextClassLoader();
    
            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top