Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 476 for executor (0.05 seconds)

  1. impl/maven-core/lifecycle-executor.txt

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      .
      .
      .
    </plugins>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.7K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            for (ProjectSegment segment : projectBuilds) {
                segment.getSession().setParallel(parallel);
            }
            ExecutorService executor = Executors.newFixedThreadPool(nThreads, new BuildThreadFactory());
            CompletionService<ProjectSegment> service = new ExecutorCompletionService<>(executor);
    
            for (TaskSegment taskSegment : taskSegments) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

    import org.apache.maven.api.xml.XmlService;
    import org.apache.maven.execution.BuildFailure;
    import org.apache.maven.execution.BuildSuccess;
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.execution.ProjectExecutionEvent;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

            int numThreads = 10;
            int numIterations = 100;
            ExecutorService executor = Executors.newFixedThreadPool(numThreads);
            CountDownLatch latch = new CountDownLatch(numThreads);
            AtomicReference<Exception> exception = new AtomicReference<>();
    
            for (int i = 0; i < numThreads; i++) {
                executor.submit(() -> {
                    try {
                        for (int j = 0; j < numIterations; j++) {
    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)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java

                    new LifecyclePluginResolver(new PluginVersionResolverStub()));
        }
    
        @Override
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.execution.ProjectExecutionEvent;
    import org.apache.maven.execution.ProjectExecutionListener;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            this.eventCatapult = eventCatapult;
            this.defaultLifeCycles = defaultLifeCycles;
            this.executor = executor;
            this.lifecyclePluginResolver = lifecyclePluginResolver;
            this.mojoDescriptorCreator = mojoDescriptorCreator;
        }
    
        @Override
        public void execute(MavenSession session) {
            eventCatapult.fire(ExecutionEvent.Type.SessionStarted, session, null);
    
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/SmokeIdeTest.kt

    import org.gradle.api.tasks.CacheableTask
    
    
    /**
     * A test that provides an IDE as environment for checking IDE and Gradle behavior during synchronization process.
     * These tests are running using `forking` executor, since current Gradle distribution has to be used as a Gradle version for IDE.
     */
    @CacheableTask
    abstract class SmokeIdeTest : DistributionTest() {
        override val prefix: String = "smokeIde"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 29 10:30:14 GMT 2023
    - 1K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorSubModulesTest.java

        @Inject
        private ExceptionHandler exceptionHandler;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    
        @Test
        void testCreation() throws Exception {
            assertNotNull(defaultLifeCycles);
            assertNotNull(mojoExecutor);
            assertNotNull(lifeCycleBuilder);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top