- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for GetPlugins (0.2 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
} if (model != null) { Build build = model.getBuild(); if (build != null) { for (Plugin plugin : build.getPlugins()) { if (groupId.equals(plugin.getGroupId()) && artifactId.equals(plugin.getArtifactId())) { return plugin; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
if (type == null) { return Optional.empty(); } return Optional.of(new DefaultPackaging(id, type, getPlugins(lifecycleMapping))); } private Map<String, PluginContainer> getPlugins(LifecycleMapping lifecycleMapping) { Map<String, PluginContainer> lfs = new HashMap<>(); lifecycleMapping.getLifecycles().forEach((id, lifecycle) -> {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
assertEquals("activated", result.getEffectiveModel().getProperties().get("profile.file")); Xpp3Dom conf = (Xpp3Dom) result.getEffectiveModel().getBuild().getPlugins().get(0).getConfiguration(); assertNotNull(conf); assertEquals("1.5", conf.getChild("source").getValue()); assertEquals(" 1.5 ", conf.getChild("target").getValue()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java
Reporting reporting = model.getReporting(); if (reporting != null) { for (ReportPlugin reportPlugin : reporting.getPlugins()) { XmlNode parentDom = reportPlugin.getDelegate().getConfiguration(); if (parentDom != null) { for (ReportSet execution : reportPlugin.getReportSets()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
addPluginMapping(goalPrefix, artifactId, artifactId); } public void addPluginMapping(String goalPrefix, String artifactId, String name) { List<Plugin> plugins = getMetadata().getPlugins(); boolean found = false; for (Iterator<Plugin> i = plugins.iterator(); i.hasNext() && !found; ) { Plugin plugin = i.next(); if (plugin.getPrefix().equals(goalPrefix)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
+ " </plugin>\n" + " </plugins>\n" + " </build>\n" + "</project>"; Model model = fromXml(xml); Plugin plugin = model.getBuild().getPlugins().get(0); XmlNode node = plugin.getConfiguration(); assertNotNull(node); assertEquals("http://maven.apache.org/POM/4.0.0", node.getNamespaceUri()); assertEquals("m", node.getPrefix());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
return nil, fmt.Errorf("%s: %w", path, err) } return cniConfigMap, nil } // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{} func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) { plugins, ok := cniConfigMap["plugins"].([]any) if !ok { err = fmt.Errorf("error reading plugin list from CNI config") return } return }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
if (build != null) { validate20RawPlugins(problems, build.getPlugins(), "build.plugins.plugin.", EMPTY, request); PluginManagement mgmt = build.getPluginManagement(); if (mgmt != null) { validate20RawPlugins( problems, mgmt.getPlugins(), "build.pluginManagement.plugins.plugin.", EMPTY, request); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/install/install.go
if err != nil { return fmt.Errorf("failed to read CNI config map from file %s: %w", in.cniConfigFilepath, err) } // Find Istio CNI and remove from plugin list plugins, err := util.GetPlugins(cniConfigMap) if err != nil { return fmt.Errorf("%s: %w", in.cniConfigFilepath, err) } for i, rawPlugin := range plugins { plugin, err := util.GetPlugin(rawPlugin) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0)