Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getTopLevelProject (0.1 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            if (isSingleVersion) {
                summary.append(" for ");
                summary.append(session.getTopLevelProject().getName());
                summary.append(" ");
                summary.append(session.getTopLevelProject().getVersion());
            }
            summary.append(":");
            infoMain(summary.toString());
    
            logger.info("");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenProject rootProject = mock(MavenProject.class);
            when(rootProject.getBasedir()).thenReturn(basedir);
            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public List<String> getPluginGroups() {
            return request.getPluginGroups();
        }
    
        public boolean isOffline() {
            return request.isOffline();
        }
    
        public MavenProject getTopLevelProject() {
            return topLevelProject;
        }
    
        public MavenExecutionResult getResult() {
            return result;
        }
    
        // Backward compat
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                if (result.hasExceptions()) {
                    return result;
                }
    
                result.setTopologicallySortedProjects(session.getProjects());
    
                result.setProject(session.getTopLevelProject());
    
                validatePrerequisitesForNonMavenPluginProjects(session.getProjects());
    
                validateRequiredProfiles(session, request.getProfileActivation());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top