Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for InvokerRequest (0.11 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
            validate(invokerRequest);
    
            ArrayList<String> cmdAndArguments = new ArrayList<>();
            cmdAndArguments.add(invokerRequest
                    .installationDirectory()
                    .resolve("bin")
                    .resolve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvoker.java

                super(invoker, invokerRequest);
            }
        }
    
        public DefaultLocalMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return new LocalContext(this, invokerRequest);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return residentContext
                    .computeIfAbsent(getContextId(invokerRequest), k -> new LocalContext(this, invokerRequest))
                    .copy(invokerRequest);
        }
    
        protected String getContextId(MavenInvokerRequest<MavenOptions> invokerRequest) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                if (context.invokerRequest.options().goals().isEmpty()
                        || context.invokerRequest.options().goals().get().size() != 1) {
                    return badGoalsErrorMessage("No goal or multiple goals specified, specify only one goal.", context);
                }
    
                String goalName = context.invokerRequest.options().goals().get().get(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java

    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    
    /**
     * Container capsule factory.
     *
     * @param <O> the options type
     * @param <R> the invoker request type
     * @param <C> the invoker context type
     */
    public interface ContainerCapsuleFactory<
            O extends Options, R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

     * under the License.
     */
    package org.apache.maven.cling;
    
    import java.io.IOException;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserException;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    import static java.util.Objects.requireNonNull;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

    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.ParserRequest;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    import static java.util.Objects.requireNonNull;
    
    public abstract class BaseInvokerRequest<T extends Options> implements InvokerRequest<T> {
        private final ParserRequest parserRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top