Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for InvokerRequest (0.14 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            R invokerRequest = context.invokerRequest;
            if (invokerRequest.options().help().isPresent()) {
                Consumer<String> writer = determineWriter(context);
                invokerRequest.options().displayHelp(context.invokerRequest.parserRequest(), writer);
                throw new ExitException(0);
            }
            if (invokerRequest.options().showVersionAndExit().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            MavenInvokerRequest<O> invokerRequest = context.invokerRequest;
            Map<String, Object> data = new HashMap<>();
            data.put("plexus", context.lookup.lookup(PlexusContainer.class));
            data.put("workingDirectory", invokerRequest.cwd().toString());
            data.put("systemProperties", toProperties(invokerRequest.systemProperties()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            R invokerRequest = context.invokerRequest;
            if (invokerRequest.coreExtensions().isEmpty()
                    || invokerRequest.coreExtensions().get().isEmpty()) {
                return Collections.emptyList();
            }
    
            List<CoreExtension> extensions = invokerRequest.coreExtensions().get();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            context.addInHeader("");
    
            ConsolePrompt prompt = context.prompt;
            boolean force = context.invokerRequest.options().force().orElse(false);
            boolean yes = context.invokerRequest.options().yes().orElse(false);
    
            if (configExists() && !force) {
                context.terminal
                        .writer()
                        .println(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import java.util.Map;
    import java.util.Properties;
    import java.util.function.Function;
    
    import org.apache.maven.api.Constants;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.ParserException;
    import org.apache.maven.api.cli.ParserRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    /**
     * Represents a request to parse Maven command-line arguments.
     * This interface encapsulates all the necessary information needed to parse
     * Maven commands and arguments into an {@link InvokerRequest}.
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface ParserRequest {
        String MVN_CMD = "mvn";
        String MVN_NAME = "Maven";
    
        String MVNENC_CMD = "mvnenc";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top