- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for setProjects (0.13 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
*/ private final ConcurrentMap<String, ConcurrentMap<String, ConcurrentMap<String, Object>>> pluginContextsByProjectAndPluginKey = new ConcurrentHashMap<>(); public void setProjects(List<MavenProject> projects) { if (!projects.isEmpty()) { MavenProject first = projects.get(0); this.currentProject = ThreadLocal.withInitial(() -> first);
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) -
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) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
@Override public Path getTopDirectory() { return getMavenSession().getRequest().getTopDirectory(); } @Nonnull @Override public List<Project> getProjects() { return getProjects(getMavenSession().getProjects()); } @Nonnull @Override public Map<String, Object> getPluginContext(Project project) { nonNull(project, "project"); try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java
} private Stream<ProjectActivationSettings> getProjects(final Predicate<ActivationSettings> predicate) { return this.activations.stream().filter(activation -> predicate.test(activation.activationSettings)); } private Set<String> getProjectSelectors(final Predicate<ActivationSettings> predicate) { return getProjects(predicate).map(activation -> activation.selector).collect(toSet()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
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) -
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) -
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/internal/impl/InternalMavenSession.java
static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) { return cast(InternalMavenSession.class, session.getData().get(InternalSession.class), "session"); } List<Project> getProjects(List<org.apache.maven.project.MavenProject> projects); /** * May return null if the input project is null or is not part of the reactor. */ @Nullable
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
private final Map<MavenProject, BuildSummary> buildSummaries = Collections.synchronizedMap(new IdentityHashMap<>()); private boolean canResume = false; public MavenExecutionResult setProject(MavenProject project) { this.project = project; return this; } public MavenProject getProject() { return project; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0)