- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 123 for MavenSession (0.06 sec)
-
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
Path path = Paths.get("").toAbsolutePath(); MavenSession mavenSession = createMavenSession(null); mavenSession.getRequest().setTopDirectory(path); mavenSession.getRequest().setRootDirectory(path); Object result = new PluginParameterExpressionEvaluator(mavenSession, new MojoExecution(null)) .evaluate("${session.rootDirectory.uri}");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
MavenSession m1 = new MavenSession(null, null, mavenExecutionRequest, null); defaultLegacySupport.setSession(m1); MyRunnable myRunnable = new MyRunnable(); Thread thread = new Thread(myRunnable); thread.start(); MavenSession m2 = new MavenSession(null, null, mavenExecutionRequest, null); defaultLegacySupport.setSession(m2);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
// separate. protected MavenSession createMavenSession(File pom) throws Exception { return createMavenSession(pom, new Properties()); } protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception { return createMavenSession(pom, executionProperties, false); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
*/ @Named @Singleton public class DefaultLegacySupport implements LegacySupport { private static final ThreadLocal<AtomicReference<MavenSession>> SESSION = new InheritableThreadLocal<>(); @Override public void setSession(MavenSession session) { AtomicReference<MavenSession> reference = DefaultLegacySupport.SESSION.get(); if (reference != null) { reference.set(null); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/ReadOnlyPluginParametersValidator.java
.filter(parameter -> !parameter.isEditable()) .forEach(parameter -> checkParameter( mavenSession, mojoDescriptor, mojoClass, parameter, pomConfiguration, expressionEvaluator)); } private void checkParameter( MavenSession mavenSession, MojoDescriptor mojoDescriptor, Class<?> mojoClass, Parameter parameter,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
import org.apache.maven.execution.ExecutionEvent; import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.MojoExecution; import org.apache.maven.project.MavenProject; /** * Holds data relevant for an execution event. * */ class DefaultExecutionEvent implements ExecutionEvent { private final Type type; private final MavenSession session; private final MojoExecution mojoExecution;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ExecutionEventCatapultStub.java
import org.apache.maven.execution.ExecutionEvent.Type; import org.apache.maven.execution.MavenSession; import org.apache.maven.lifecycle.internal.ExecutionEventCatapult; import org.apache.maven.plugin.MojoExecution; /** */ public class ExecutionEventCatapultStub implements ExecutionEventCatapult { @Override public void fire(Type eventType, MavenSession session, MojoExecution mojoExecution) {} @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
} } return taskSegments; } private boolean projectIsNotPresent(MavenSession session) { return !session.getRequest().isProjectPresent(); } private boolean requiresProject(MavenSession session) { List<String> goals = session.getGoals(); if (goals != null) { for (String goal : goals) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
// separate. protected MavenSession createMavenSession(File pom) throws Exception { return createMavenSession(pom, new Properties()); } protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception { return createMavenSession(pom, executionProperties, false); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
public class ProjectExecutionEvent { private final MavenSession session; private final MavenProject project; private final List<MojoExecution> executionPlan; private final Throwable cause; public ProjectExecutionEvent(MavenSession session, MavenProject project) { this(session, project, null, null); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0)