Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for getPlugins (0.11 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

            plugin.setArtifactId(pluginInfo.artifactId);
            plugin.setName(pluginInfo.name);
            result.getPlugins().add(plugin);
            return result;
        }
    
        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
            List<Plugin> plugins = metadata.getPlugins();
            if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Model.Builder builder = Model.newBuilder(model);
    
            Build build = model.getBuild();
            if (build != null) {
                List<Plugin> plugins = build.getPlugins();
                Map<Object, Plugin> normalized = new LinkedHashMap<>(plugins.size() * 2);
    
                for (Plugin plugin : plugins) {
                    Object key = plugin.getKey();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

            Build build = model.getBuild();
    
            if (build != null) {
                expand(build.getPlugins());
    
                PluginManagement pluginManagement = build.getPluginManagement();
    
                if (pluginManagement != null) {
                    expand(pluginManagement.getPlugins());
                }
            }
        }
    
        private void expand(List<Plugin> plugins) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. 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)
  9. 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)
  10. 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)
Back to top