Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for setProjects (0.07 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenProject project3 = generateMavenProject("Apache Maven Embedder 3");
    
            MavenSession session = mock(MavenSession.class);
            when(session.getProjects()).thenReturn(List.of(project1, project2, project3));
            when(session.getAllProjects()).thenReturn(List.of(project1, project2, project3));
    
            ExecutionEvent sessionStartedEvent = mock(ExecutionEvent.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

    import java.util.List;
    
    import org.apache.maven.project.DependencyResolutionResult;
    import org.apache.maven.project.MavenProject;
    
    /**
     */
    public interface MavenExecutionResult {
        MavenExecutionResult setProject(MavenProject project);
    
        MavenProject getProject();
    
        MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            return null;
        }
    
        @Override
        public Path getRootDirectory() {
            throw new IllegalStateException();
        }
    
        @Override
        public List<Project> getProjects() {
            return List.of();
        }
    
        @Override
        public Map<String, Object> getPluginContext(Project project) {
            throw new UnsupportedInStandaloneModeException();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                MavenSession session = legacySupport.getSession();
                if (session != null) {
                    pomRepositories = session.getProjects().stream()
                            .filter(p -> artifact.equals(p.getArtifact()))
                            .map(MavenProject::getRemoteArtifactRepositories)
                            .findFirst()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        Path getRootDirectory();
    
        /**
         * Retrieves a list of projects associated with the session.
         *
         * @return a list of projects, never {@code null}
         */
        @Nonnull
        List<Project> getProjects();
    
        /**
         * Returns the plugin context for mojo being executed and the specified
         * {@link Project}, never returns {@code null} as if context not present, creates it.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top