- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getNonThreadSafePlugins (0.14 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java
} @Test void testThreadSafeMojos() throws Exception { MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan(); final Set<Plugin> unSafePlugins = plan.getNonThreadSafePlugins(); // There is only a single threadsafe plugin here... assertEquals(plan.size() - 1, unSafePlugins.size()); } @Test void testFindLastWhenFirst() throws Exception {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) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java
/** * Get set of plugins having a goal/mojo used but not marked @threadSafe * * @return the set of plugins (without info on which goal is concerned) */ public Set<Plugin> getNonThreadSafePlugins() { Set<Plugin> plugins = new HashSet<>(); for (ExecutionPlanItem executionPlanItem : planItem) { final MojoExecution mojoExecution = executionPlanItem.getMojoExecution();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.3K bytes - Click Count (0)