Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPluginsAsMap (0.17 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            Map pluginMap = project1.getBuild().getPluginsAsMap();
            Plugin compilerPlugin = (Plugin) pluginMap.get("org.apache.maven.plugins:maven-compiler-plugin");
    
            assertNotNull(compilerPlugin);
    
            Map executionMap = compilerPlugin.getExecutionsAsMap();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/mdo/maven.mdo

         */
        public void flushPluginMap() {
        }
    
        /**
         * @return a Map of plugins field with {@code Plugins#getKey()} as key
         * @see Plugin#getKey()
         */
        public Map<String, Plugin> getPluginsAsMap() {
            return getPlugins().stream().collect(Collectors.toMap(plugin -> plugin.getKey(), plugin -> plugin));
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top