- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getPluginContext (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* * @throws org.apache.maven.api.services.MavenException if not called from the within a mojo execution */ @Nonnull Map<String, Object> getPluginContext(@Nonnull Project project); /** * Retrieves the service for the interface * * @throws NoSuchElementException if the service could not be found */ @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
} if (mojo instanceof ContextEnabled contextEnabledMojo) { MavenProject project = session.getCurrentProject(); Map<String, Object> pluginContext = session.getPluginContext(pluginDescriptor, project); if (pluginContext != null) { pluginContext.put("project", project); pluginContext.put("pluginDescriptor", pluginDescriptor);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 09 16:35:21 UTC 2025 - 46.4K bytes - Viewed (0)