Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for MavenSession (0.05 sec)

  1. 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)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculator;
    import org.apache.maven.lifecycle.internal.LifecycleStarter;
    import org.apache.maven.lifecycle.internal.LifecycleTaskSegmentCalculator;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            return false;
        }
    
        @Override
        public final void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
                Class<?> mojoClass,
                PlexusConfiguration pomConfiguration,
                ExpressionEvaluator expressionEvaluator) {
            doValidate(mavenSession, mojoDescriptor, mojoClass, pomConfiguration, expressionEvaluator);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

    public class EmptyLifecycleExecutor implements LifecycleExecutor {
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. 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) {}
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.LifecycleNotFoundException;
    import org.apache.maven.lifecycle.LifecyclePhaseNotFoundException;
    import org.apache.maven.lifecycle.MavenExecutionPlan;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top