Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for setProject (0.08 sec)

  1. 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)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

    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);
    
        /**
         * @return the sorted list, or an empty list if there are no 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-core/src/main/java/org/apache/maven/DefaultMaven.java

            try {
                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)
  4. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        protected abstract String getProjectsDirectory();
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        protected File getProject(String name) throws Exception {
            File source = new File(new File(getBasedir(), getProjectsDirectory()), name);
            File target = new File(new File(getBasedir(), "target"), name);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. 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
                    ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        //
        // Public API
        //
    
        public WorkspaceRepository getRepository() {
            return repository;
        }
    
        public File findArtifact(Artifact artifact) {
            MavenProject project = getProject(artifact);
    
            if (project != null) {
                File file = findArtifact(project, artifact, true);
                if (file == null && project != project.getExecutionProject()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top