- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 128 for mavenSession (0.11 sec)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
File pom = getProject("project-basic"); MavenSession session = createMavenSession(pom); Plugin plugin = mojoDescriptorCreator.findPluginForPrefix("clean", session); assertNotNull(plugin); } @Test void testSetupMojoExecution() throws Exception { File pom = getProject("mojo-configuration"); MavenSession session = createMavenSession(pom);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 22.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java
* * @param session the Maven session * @throws MavenExecutionException in case of issue */ public void afterProjectsRead(MavenSession session) throws MavenExecutionException { // do nothing } /** * Invoked after MavenSession instance has been created. * * This callback is intended to allow extensions to inject execution properties,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
.build(), null); } @Override protected Session newSession( MavenSession mavenSession, List<org.apache.maven.api.RemoteRepository> repositories) { return new SimpleSession(mavenSession, getRepositorySystem(), repositories); } @SuppressWarnings("unchecked") @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 13.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.toolchain; import java.util.List; import java.util.Map; import org.apache.maven.execution.MavenSession; /** * Public API for a toolchain-aware plugin to get expected toolchain instance. * * @since 2.0.9 * @deprecated Use {@link org.apache.maven.api.services.ToolchainManager} instead. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.maven.api.Lifecycle; import org.apache.maven.execution.MavenSession; import org.apache.maven.lifecycle.LifecycleNotFoundException; import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException; import org.apache.maven.plugin.InvalidPluginDescriptorException;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 23:07:01 UTC 2024 - 6.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
} @Override public void afterSessionStart(MavenSession session) { session.getUserProperties().setProperty("injected", "bar"); } } public static class InjectReactorDependency extends AbstractMavenLifecycleParticipant { @Override public void afterProjectsRead(MavenSession session) { injectReactorDependency(session.getProjects(), "module-a", "module-b");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
MavenSession mavenSession = new MavenSession(container, session, mavenExecutionRequest, new DefaultMavenExecutionResult()); legacySupport.setSession(mavenSession); InternalSession iSession = new DefaultSession( mavenSession, resolverRepositorySystem, null, null,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java
private final TaskSegment taskSegment; private final MavenSession session; private final List<MavenProject> nonTransitiveUpstreamProjects; private final List<MavenProject> transitiveUpstreamProjects; public ProjectSegment(MavenProject project, TaskSegment taskSegment, MavenSession copiedSession) { this.project = project; this.taskSegment = taskSegment;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(event.getProject()).thenReturn(project); MavenProject rootProject = mock(MavenProject.class); when(rootProject.getBasedir()).thenReturn(basedir); MavenSession session = mock(MavenSession.class); when(session.getTopLevelProject()).thenReturn(rootProject); when(session.getTopDirectory()).thenReturn(basedir.toPath()); when(event.getSession()).thenReturn(session);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Dec 01 19:41:22 UTC 2024 - 12.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java
* * @param session The currently active session, may be {@code null}. */ void setSession(MavenSession session); /** * Gets the currently active session. * * @return The currently active session or {@code null} if none. */ MavenSession getSession(); /** * Gets the currently active repository session. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)