Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isThreadSafe (0.04 sec)

  1. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertTrue(md.isProjectRequired(), "Expected " + md + ".isProjectRequired() to return true");
            assertFalse(md.isThreadSafe(), "Expected " + md + ".isThreadSafe() to return false");
            assertEquals("package", md.getPhase());
            assertEquals("org.apache.maven.plugin.jar.JarMojo", md.getImplementation());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            for (ExecutionPlanItem executionPlanItem : planItem) {
                final MojoExecution mojoExecution = executionPlanItem.getMojoExecution();
                if (!mojoExecution.getMojoDescriptor().isThreadSafe()) {
                    plugins.add(mojoExecution.getPlugin());
                }
            }
            return plugins;
        }
    
        /**
         * Get set of mojos used but not marked @threadSafe
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            return executeGoal;
        }
    
        /**
         * @return True if the <code>Mojo</code> is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public boolean isThreadSafe() {
            return threadSafe;
        }
    
        /**
         * @param threadSafe indicates that the mojo is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
Back to top