Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for getPlugin (0.1 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    PluginContainer source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<Plugin> src = source.getPlugins();
                if (!src.isEmpty()) {
                    List<Plugin> tgt = target.getPlugins();
                    Map<Object, Plugin> master = new LinkedHashMap<>(tgt.size() * 2);
    
                    for (Plugin element : tgt) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                    }
                }
                return model;
            }
    
            private Build mergePluginContainerPlugins(Build target, PluginContainer source) {
                List<Plugin> src = source.getPlugins();
                if (!src.isEmpty()) {
                    Map<Object, Plugin> managedPlugins = new LinkedHashMap<>(src.size() * 2);
    
                    Map<Object, Object> context = Collections.emptyMap();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (ObjectOutputStream oos = new ObjectOutputStream(baos)) {
                oos.writeObject(model.getProperties());
                oos.writeObject(model.getBuild().getPlugins());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    PluginContainer source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<Plugin> src = source.getPlugins();
                if (!src.isEmpty()) {
                    List<Plugin> tgt = target.getPlugins();
                    Map<Object, Plugin> master = new LinkedHashMap<>(src.size() * 2);
    
                    for (Plugin element : src) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

                versioning.setVersions(new ArrayList<>(versions));
            }
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId();
        }
    
        public static Object getKey(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

                }
            }
    
            metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values()));
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
    
            artifacts.clear();
        }
    
        private String getKey(String classifier, String extension) {
            return classifier + ':' + extension;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                }
            }
    
            metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values()));
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        private static int getBuildNumber(Metadata metadata) {
            int number = 0;
    
            Versioning versioning = metadata.getVersioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top