Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ProjectBuildList (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     *
     * @since 3.0
     */
    public class ProjectBuildList implements Iterable<ProjectSegment> {
        private final List<ProjectSegment> items;
    
        public ProjectBuildList(List<ProjectSegment> items) {
            this.items = Collections.unmodifiableList(items);
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

            private volatile boolean running;
    
            private final ProjectBuildList projectBuildList;
    
            ConsolePrinter(ProjectBuildList projectBuildList) {
                this.projectBuildList = projectBuildList;
            }
    
            public void run() {
                running = true;
                for (ProjectSegment projectBuild : projectBuildList) {
                    final PrintStream projectStream = printStreams.get(projectBuild);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

        final String in = "In";
    
        final String full = "Full";
    
        @Test
        void testSingleThreaded() throws Exception {
            ProjectBuildList src = getProjectBuildList();
            ProjectBuildList projectBuildList = new ProjectBuildList(Arrays.asList(src.get(0), src.get(1), src.get(2)));
    
            ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        public static final MojoDescriptor WRAPPER = createMojoDescriptor("wrapper");
    
        /**
         * @deprecated instead use {@link #getNumberOfExecutions(ProjectBuildList)}
         */
        @Deprecated
        public int getNumberOfExceutions(ProjectBuildList projectBuildList)
                throws InvalidPluginDescriptorException, PluginVersionResolutionException, PluginDescriptorParsingException,
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

            List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments(session);
            final ProjectBuildList buildList = buildListCalculator.calculateProjectBuilds(session, taskSegments);
            final ProjectBuildList segments = buildList.getByTaskSegment(taskSegments.get(0));
            assertEquals(3, taskSegments.size(), "Stub data contains 3 segments");
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/lifecycle/internal/ProjectBuildListTest.java

            ProjectBuildList projectBuildList = ProjectDependencyGraphStub.getProjectBuildList(session);
            TaskSegment taskSegment = projectBuildList.get(0).getTaskSegment();
            assertThat(
                    "This test assumes there are at least 6 elements in projectBuilds",
                    projectBuildList.size(),
                    is(greaterThanOrEqualTo(6)));
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraphTest.java

        @Test
        void testGraph() throws Exception {
    
            ProjectBuildList projectBuildList =
                    ProjectDependencyGraphStub.getProjectBuildList(ProjectDependencyGraphStub.getMavenSession());
    
            ProjectDependencyGraph projectDependencyGraph = new ProjectDependencyGraphStub();
    
            ConcurrencyDependencyGraph graph = new ConcurrencyDependencyGraph(projectBuildList, projectDependencyGraph);
    
            // start
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

     *
     * @since 3.0
     */
    public class ConcurrencyDependencyGraph {
    
        private final ProjectBuildList projectBuilds;
    
        private final ProjectDependencyGraph projectDependencyGraph;
    
        private final Set<MavenProject> finishedProjects = new HashSet<>();
    
        public ConcurrencyDependencyGraph(ProjectBuildList projectBuilds, ProjectDependencyGraph projectDependencyGraph) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                TaskSegment taskSegment,
                Map<MavenProject, ProjectSegment> projectBuildList,
                ThreadOutputMuxer muxer) {
            // gather artifactIds which are not unique so that the respective thread names can be extended with the groupId
            Set<String> duplicateArtifactIds = projectBuildList.keySet().stream()
                    .map(MavenProject::getArtifactId)
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleTaskSegmentCalculatorImplTest.java

            List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments(session);
    
            final ProjectBuildList buildList = buildListCalculator.calculateProjectBuilds(session, taskSegments);
            final ProjectBuildList segments = buildList.getByTaskSegment(taskSegments.get(0));
            assertEquals(3, taskSegments.size(), "Stub data contains 3 segments");
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top