- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getNonThreadSafePlugins (0.13 sec)
-
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 {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (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();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.3K bytes - Viewed (0)