Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getProject (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            ProjectBuildingRequest request = injectSession(toRequest(configuration));
    
            try {
                return projectBuilder.build(pom, request).getProject();
            } catch (ProjectBuildingException e) {
                throw transformError(e);
            }
        }
    
        // This is used by the SITE plugin.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            COLLECT,
            FLATTEN,
            RESOLVE
        }
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RequestType getRequestType();
    
        @Nonnull
        Optional<Project> getProject();
    
        @Nonnull
        Optional<Artifact> getRootArtifact();
    
        @Nonnull
        Optional<DependencyCoordinates> getRoot();
    
        @Nonnull
        Collection<DependencyCoordinates> getDependencies();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                        }
                        configuration.setRepositorySession(legacySupport.getRepositorySession());
    
                        project = projectBuilder.build(pomArtifact, configuration).getProject();
                    } catch (ProjectBuildingException e) {
                        ModelProblem missingParentPom = hasMissingParentPom(e);
                        if (missingParentPom != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                    logSummary(context, summary, references, "");
    
                    if (exception instanceof LifecycleExecutionException) {
                        failedProjects.add(((LifecycleExecutionException) exception).getProject());
                    }
                }
    
                context.logger.error("");
    
                if (!context.invokerRequest.options().showErrors().orElse(false)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    return result;
                }
    
                result.setTopologicallySortedProjects(session.getProjects());
    
                result.setProject(session.getTopLevelProject());
    
                validatePrerequisitesForNonMavenPluginProjects(session.getProjects());
    
                validateRequiredProfiles(session, request.getProfileActivation());
                if (session.getResult().hasExceptions()) {
    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