Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setContextValue (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    (Map<String, ExtensionRealmCache.CacheRecord>) project.getContextValue(KEY_EXTENSIONS_REALMS);
            if (pluginRealms == null) {
                pluginRealms = new HashMap<>();
                project.setContextValue(KEY_EXTENSIONS_REALMS, pluginRealms);
            }
    
            final String pluginKey = plugin.getId();
    
            ExtensionRealmCache.CacheRecord extensionRecord = pluginRealms.get(pluginKey);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * <code>null</code>, the context value is removed from this project. Context values are intended to allow core
         * extensions to associate derived state with project instances.
         */
        public void setContextValue(String key, Object value) {
            if (context == null) {
                context = new HashMap<>();
            }
            if (value != null) {
                context.put(key, value);
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top