Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getPluginContext (0.23 sec)

  1. 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) {
            nonNull(project, "project");
            try {
                MojoExecution mojoExecution = lookup.lookup(MojoExecution.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/ContextEnabled.java

         * @param pluginContext a new <code>Map</code>
         */
        void setPluginContext(Map pluginContext);
    
        /**
         * @return a <code>Map</code> stored in the plugin container's context.
         */
        Map getPluginContext();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        public ReactorManager(List<MavenProject> projects) throws CycleDetectedException, DuplicateProjectException {
            this.sorter = new ProjectSorter(projects);
        }
    
        public Map getPluginContext(PluginDescriptor plugin, MavenProject project) {
            Map<String, Map> pluginContextsByKey =
                    pluginContextsByProjectAndPluginKey.computeIfAbsent(project.getId(), k -> new HashMap<>());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            throw new IllegalStateException();
        }
    
        @Override
        public List<Project> getProjects() {
            return List.of();
        }
    
        @Override
        public Map<String, Object> getPluginContext(Project project) {
            throw new UnsupportedInStandaloneModeException();
        }
    
        static class Providers {
    
            @Provides
            @SuppressWarnings("unused")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top