Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for PluginContainer (0.16 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java

    /**
     * Tests {@code PluginContainer}.
     *
     */
    class PluginContainerTest {
    
        @Test
        void testHashCodeNullSafe() {
            new PluginContainer().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginContainer().equals(null));
    
            new PluginContainer().equals(new PluginContainer());
        }
    
        @Test
        void testEqualsIdentity() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                        return null;
                    }
    
                    @Override
                    public Map<String, PluginContainer> plugins() {
                        if ("JAR".equals(id)) {
                            return Map.of(
                                    DEFAULT,
                                    PluginContainer.newBuilder()
                                            .plugins(List.of(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

            }
    
            @Override
            protected void mergePluginContainer_Plugins(
                    PluginContainer.Builder builder,
                    PluginContainer target,
                    PluginContainer source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<Plugin> src = source.getPlugins();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

                Map<Object, Object> context) {
            // don't merge
        }
    
        @Override
        protected void mergePluginContainer_Plugins(
                PluginContainer.Builder builder,
                PluginContainer target,
                PluginContainer source,
                boolean sourceDominant,
                Map<Object, Object> context) {
            // don't merge
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    }
                }
            }
    
            @Override
            protected void mergePluginContainer_Plugins(
                    PluginContainer.Builder builder,
                    PluginContainer target,
                    PluginContainer source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<Plugin> src = source.getPlugins();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                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) -> {
                Map<String, Plugin> plugins = new HashMap<>();
                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)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

         * </pre>
         * Result:
         * <pre>
         * X -&gt; Y -&gt; A -&gt; B -&gt; C -&gt; D -&gt; E -&gt; F
         * </pre>
         */
        public static void mergePluginLists(
                PluginContainer childContainer, PluginContainer parentContainer, boolean handleAsInheritance) {
            throw new UnsupportedOperationException();
        }
    
        public static List<Plugin> orderAfterMerge(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.Build;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginContainer;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.model.PluginManagement;
    import org.apache.maven.model.building.ModelBuildingRequest;
    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. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

    import java.util.Map;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.PluginContainer;
    
    /**
     * Represents the packaging of a Maven project.
     *
     * <p>The {@code Packaging} class defines the type of artifact that a Maven project produces during the build process.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

        }
    
        public void testToStringNotNonsense() {
            Build build = new Build();
    
            String s = build.toString();
    
            assert "Build {BuildBase {PluginConfiguration {PluginContainer {}}}}".equals(s) : s;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top