Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for getProject (0.08 sec)

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

            }
            return mavenSession;
        }
    
        @Override
        public List<Project> getProjects(List<MavenProject> projects) {
            return projects == null ? null : map(projects, this::getProject);
        }
    
        @Override
        public Project getProject(MavenProject project) {
            return project != null && project.getBasedir() != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

        private boolean canResume = false;
    
        public MavenExecutionResult setProject(MavenProject project) {
            this.project = project;
    
            return this;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                }
            }
            return allProjects;
        }
    
        private Map<String, Map<String, Map<String, MavenProject>>> getProjects() {
            // compute the projects mapping
            if (projects == null) {
                List<MavenProject> projects = session.getProjects();
                if (projects != null) {
                    Map<String, Map<String, Map<String, MavenProject>>> map = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                        builder().strong(prefix).project(projectKey).strong(suffix).toString());
    
                // Building Project Name Version    [i/n]
                String building = "Building " + event.getProject().getName() + " "
                        + event.getProject().getVersion();
    
                if (totalProjects <= 1) {
                    infoMain(building);
                } else {
                    // display progress [i/n]
                    int number;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(projectStartedEvent1.getProject()).thenReturn(project1);
            ExecutionEvent projectStartedEvent2 = mock(ExecutionEvent.class);
            when(projectStartedEvent2.getProject()).thenReturn(project2);
            ExecutionEvent projectStartedEvent3 = mock(ExecutionEvent.class);
            when(projectStartedEvent3.getProject()).thenReturn(project3);
    
            // 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)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
            MavenProject project2 = getProject(pom2);
            MavenProject project3 = getProject(pom3);
            MavenProject project4 = getProject(pom4);
            MavenProject project5 = getProject(pom5);
    
            assertEquals("p4", project4.getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java

            MavenProject p0 = getProject(projectFile("maven.t01", "p0"));
    
            assertEquals("p0-org", p0.getOrganization().getName());
    
            // ----------------------------------------------------------------------
            // Check p1 value for org name
            // ----------------------------------------------------------------------
    
            MavenProject p1 = getProject(projectFile("maven.t01", "p1"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
        public Optional<MojoExecution> getMojoExecution() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            File pom1 = new File(pom0Basedir, "modules/p1/pom.xml");
    
            // load the child project, which inherits from p0...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
    
            System.out.println("\n\n");
            System.out.println("Parent SCM URL is: " + project0.getScm().getUrl());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top