- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getPluginContext (0.08 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
@Nonnull @Override public List<Project> getProjects() { return getProjects(getMavenSession().getProjects()); } @Nonnull @Override public Map<String, Object> getPluginContext(Project project) { requireNonNull(project, "project" + " cannot be null"); try { MojoExecution mojoExecution = lookup.lookup(MojoExecution.class);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
@Override public Log getLog() { if (log == null) { log = new SystemStreamLog(); } return log; } @Override public Map getPluginContext() { return pluginContext; } @Override public void setPluginContext(Map pluginContext) { this.pluginContext = pluginContext; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 7.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
* <strong>Implementation note:</strong> while this method return type is {@link Map}, the returned map instance * implements {@link ConcurrentMap} as well. * */ public Map<String, Object> getPluginContext(PluginDescriptor plugin, MavenProject project) { String projectKey = project.getId(); ConcurrentMap<String, ConcurrentMap<String, Object>> pluginContextsByKey =
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 16.7K bytes - Viewed (0) -
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)