Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for getProject (0.1 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. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

        }
    
        public void richReport(Action<? super RichReport> configureAction) {
            if (!getRichReport().isPresent()) {
                RichReport richReport = getProject().getObjects().newInstance(RichReport.class);
                DirectoryProperty buildDirectory = getProject().getLayout().getBuildDirectory();
                richReport.getDestinationDir().convention(buildDirectory.dir("reports"));
                getRichReport().set(richReport);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top