Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getPluginContext (0.13 sec)

  1. impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    abstract synchronized class AbstractMojo implements Mojo, ContextEnabled { private logging.Log log; private java.util.Map pluginContext; public void AbstractMojo(); public void setLog(logging.Log); public logging.Log getLog(); public java.util.Map getPluginContext(); public void setPluginContext(java.util.Map); } org/apache/maven/plugin/AbstractMojoExecutio.class package org.apache.maven.plugin; public abstract synchronized class AbstractMojoExecutio extends Exception { protected Object source; protected...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. 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)
  3. 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
         */
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. 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)
Back to top