- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getProjects (0.14 sec)
-
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) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
if (logger.isInfoEnabled() && event.getSession().getProjects().size() > 1) { init(); infoLine('-'); infoMain("Reactor Build Order:"); logger.info(""); final List<MavenProject> projects = event.getSession().getProjects(); for (MavenProject project : projects) { int len = lineLength
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
if (session.getProjectDependencyGraph() != null || session.getProjects() != null) { ProjectDependencyGraph graph = new DefaultProjectDependencyGraph(session.getAllProjects()); if (session.getProjects() != null) { graph = new FilteredProjectDependencyGraph(graph, session.getProjects()); } result = Result.success(graph); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
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) -
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) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
public Properties getSystemProperties() { return request.getSystemProperties(); } public Settings getSettings() { return settings; } public List<MavenProject> getProjects() { return projects; } /** * @deprecated use {@link #getTopDirectory()} ()} */ @Deprecated public String getExecutionRootDirectory() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
InternalMavenSession mSession = InternalMavenSession.from(iSession); MavenSession session = mSession.getMavenSession(); session.setProjects(projects); session.setAllProjects(session.getProjects()); return session; } protected void initRepoSession( MavenExecutionRequest mavenExecutionRequest, ProjectBuildingRequest projectBuildingRequest)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
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) -
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) -
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)