Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for invokers (0.07 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Resident UT.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.writeString(appJava, appJavaString);
    
            Parser<R> parser = createParser();
            try (Invoker<R> invoker = createInvoker()) {
                for (String goal : goals) {
                    Path logFile = cwd.resolve(goal + "-build.log").toAbsolutePath();
                    int exitCode = invoker.invoke(parser.parse(ParserRequest.mvn(
                                    List.of("-l", logFile.toString(), goal),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Local UT.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

            this.classWorldManaged = classWorldManaged;
        }
    
        /**
         * The main entry point.
         */
        public int run(String[] args) throws IOException {
            try (Invoker<R> invoker = createInvoker()) {
                return invoker.invoke(parseArguments(args));
            } catch (ParserException e) {
                System.err.println(e.getMessage());
                return 1;
            } catch (InvokerException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvn.forked;
    
    import java.nio.file.Path;
    import java.util.Arrays;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.forked.ForkedMavenInvokerRequest;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.junit.jupiter.api.Test;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            public final Session session;
    
            protected LookupInvokerContext(LookupInvoker<O, R, C> invoker, R invokerRequest) {
                this.invoker = invoker;
                this.protoLookup = invoker.protoLookup;
                this.invokerRequest = requireNonNull(invokerRequest);
                this.cwdResolver = s -> invokerRequest.cwd().resolve(s).normalize().toAbsolutePath();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

    import org.apache.maven.internal.impl.model.profile.Os;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Forked invoker implementation, it spawns a subprocess with Maven.
     */
    public class DefaultForkedMavenInvoker implements ForkedMavenInvoker {
        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

     */
    package org.apache.maven.cling.invoker.mvn.resident;
    
    import java.util.ArrayList;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.mvn.MavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.resident.ResidentMavenInvoker;
    import org.apache.maven.cling.invoker.ProtoLookup;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

    import org.apache.maven.api.cli.mvn.forked.ForkedMavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.forked.ForkedMavenParser;
    import org.apache.maven.cling.invoker.mvn.BaseMavenParser;
    import org.apache.maven.cling.invoker.mvn.CommonsCliMavenOptions;
    import org.apache.maven.cling.invoker.mvn.LayeredMavenOptions;
    
    public class DefaultForkedMavenParser extends BaseMavenParser<MavenOptions, ForkedMavenInvokerRequest>
            implements ForkedMavenParser {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.mvnenc.EncryptOptions;
    import org.apache.maven.cling.invoker.CommonsCliOptions;
    import org.codehaus.plexus.interpolation.BasicInterpolator;
    import org.codehaus.plexus.interpolation.InterpolationException;
    
    import static org.apache.maven.cling.invoker.Utils.createInterpolator;
    
    public class CommonsCliEncryptOptions extends CommonsCliOptions implements EncryptOptions {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top