Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for aggregator (0.04 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            this.executeLifecycle = executeLifecycle;
        }
    
        /**
         * @param aggregator <code>true</code> if the Mojo uses the Maven project and its child modules,
         * <code>false</code> otherwise.
         */
        public void setAggregator(boolean aggregator) {
            this.aggregator = aggregator;
        }
    
        /**
         * @return <code>true</code> if the Mojo uses the Maven project and its child modules,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            ProjectLock(MavenSession session, MojoDescriptor mojoDescriptor) {
                mojos.put(Thread.currentThread(), mojoDescriptor);
                boolean aggregator = mojoDescriptor.isAggregator();
                acquiredAggregatorLock = aggregator ? aggregatorLock.writeLock() : aggregatorLock.readLock();
                acquiredProjectLock = getProjectLock(session);
                if (!acquiredAggregatorLock.tryLock()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            if (requiresReports != null) {
                mojo.setRequiresReports(Boolean.parseBoolean(requiresReports));
            }
    
            String aggregator = c.getChild("aggregator").getValue();
    
            if (aggregator != null) {
                mojo.setAggregator(Boolean.parseBoolean(aggregator));
            }
    
            String requiresOnline = c.getChild("requiresOnline").getValue();
    
            if (requiresOnline != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * the {@code /project/subprojects/subproject} elements of the POM in the aggregator project.
     * Note that the aggregator project is required to have a {@code pom} packaging.</p>
     *
     * <p><dfn>Project inheritance</dfn> defines a parent-child relationship between projects.
     * The <dfn>child project</dfn> inherits all the information from the <dfn>parent project</dfn>
     * POM.</p>
     *
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                    scenario("Selected aggregator project (including child modules)")
                            .activeRequiredProjects(MODULE_C)
                            .expectResult(MODULE_C, MODULE_C_1, MODULE_C_2),
                    scenario("Selected aggregator project with non-recursive")
                            .activeRequiredProjects(MODULE_C)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            this.messageBuilderFactory = messageBuilderFactory;
        }
    
        public static List<MavenProject> getProjects(MavenProject project, MavenSession session, boolean aggregator) {
            if (aggregator && project.getCollectedProjects() != null) {
                // get the unsorted list of wanted projects
                Set<MavenProject> projectAndSubmodules = new HashSet<>(project.getCollectedProjects());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        @Test
        void testInvalidAggregatorPackaging() throws Exception {
            SimpleProblemCollector result = validate("invalid-aggregator-packaging-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertTrue(result.getErrors().get(0).contains("Aggregator projects require 'pom' as packaging."));
        }
    
        @Test
        void testMissingDependencyArtifactId() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     *     <li>{@code war}: Packages the project as a Web Application Archive (WAR) file.</li>
     *     <li>{@code pom}: Indicates that the project does not produce a deployable artifact but is used for dependency management or as an aggregator.</li>
     *     <li>{@code maven-plugin}: Packages the project as a Maven plugin.</li>
     * </ul>
     *
     * <h2>Usage Example</h2>
     *
     * <pre>
     * {@code
     * Session session = ... // Obtain a Maven session
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Returns the original project being built when the input project is a forked project.
         * During certain lifecycle phases, particularly for aggregator mojos, Maven may create
         * a forked project (a copy of the original project) to execute a subset of the lifecycle.
         * This method allows retrieving the original project that initiated the build.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>aggregator</name>
              <version>1.0.0+</version>
              <type>boolean</type>
              <description>
                Flags this Mojo to run it in a multi-module way, i.e. aggregate the build with the set of projects
                listed as modules.
              </description>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top