Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 157 for aggregator (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

    /**
     * A build context that matches a Maven project to a given task segment, and the session to be used.
     * <p>
     * A note to the reader;
     * </p>
     * <p>
     * There are several issues/discussions regarding how "aggregator" plugins should be handled.
     * Read for instance http://docs.codehaus.org/display/MAVEN/Deterministic+Lifecycle+Planning
     * </p>
     * <p>
     * In their current implementation they are "bolted" onto the lifecycle by separating them
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

         */
        boolean projectRequired() default true;
    
        /**
         * if the Mojo uses the Maven project and its subprojects.
         * @return uses the Maven project and its subprojects
         */
        boolean aggregator() default false;
    
        /**
         * does this Mojo need to be online to be executed?
         * @return need to be online
         */
        boolean onlineRequired() default false;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

            return !((version == null || version.isEmpty()) || version.startsWith("[") || version.startsWith("("));
        }
    
        // TODO !![jc; 28-jul-2005] check this; if we're using '-r' and there are aggregator tasks, this will result in
        // weirdness.
        public MavenProject getTopLevelProject() {
            return sortedProjects.stream()
                    .filter(MavenProject::isExecutionRoot)
                    .findFirst()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            Severity.ERROR,
                            Version.BASE,
                            "packaging",
                            null,
                            "with value '" + m.getPackaging() + "' is invalid. Aggregator projects "
                                    + "require 'pom' as packaging.",
                            m);
                }
    
                for (int i = 0, n = m.getModules().size(); i < n; i++) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public CacheStats stats() {
          SimpleStatsCounter aggregator = new SimpleStatsCounter();
          aggregator.incrementBy(localCache.globalStatsCounter);
          for (Segment<K, V> segment : localCache.segments) {
            aggregator.incrementBy(segment.statsCounter);
          }
          return aggregator.snapshot();
        }
    
        @Override
        public void cleanUp() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top