Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for MavenOptions (0.2 sec)

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

        protected String determineMakeBehavior(C context) {
            MavenOptions mavenOptions = context.invokerRequest.options();
            if (mavenOptions.alsoMake().isPresent()
                    && mavenOptions.alsoMakeDependents().isEmpty()) {
                return MavenExecutionRequest.REACTOR_MAKE_UPSTREAM;
            } else if (mavenOptions.alsoMake().isEmpty()
                    && mavenOptions.alsoMakeDependents().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenParser.java

    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.MavenParser;
    
    public class DefaultMavenParser extends BaseMavenParser<MavenOptions, MavenInvokerRequest<MavenOptions>>
            implements MavenParser<MavenInvokerRequest<MavenOptions>> {
        @Override
        protected DefaultMavenInvokerRequest<MavenOptions> getInvokerRequest(LocalContext context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.LayeredOptions;
    
    /**
     * Options that are "layered" by precedence order.
     *
     * @param <O> the specific type of Maven Options that are layered
     */
    public class LayeredMavenOptions<O extends MavenOptions> extends LayeredOptions<O> implements MavenOptions {
        public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    public class DefaultResidentMavenInvokerTest
            extends MavenInvokerTestSupport<MavenOptions, MavenInvokerRequest<MavenOptions>> {
    
        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultResidentMavenInvoker(ProtoLookup.builder()
    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/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                    .toString());
    
            MavenOptions mavenOptions = invokerRequest.options();
            if (mavenOptions.userProperties().isPresent()) {
                for (Map.Entry<String, String> entry :
                        mavenOptions.userProperties().get().entrySet()) {
                    cmdAndArguments.add("-D" + entry.getKey() + "=" + entry.getValue());
                }
            }
            if (mavenOptions.showVersionAndExit().orElse(false)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvoker.java

    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.local.LocalMavenInvoker;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenInvoker;
    
    public class DefaultLocalMavenInvoker
            extends DefaultMavenInvoker<
                    MavenOptions, MavenInvokerRequest<MavenOptions>, DefaultLocalMavenInvoker.LocalContext>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

    public class DefaultLocalMavenInvokerTest
            extends MavenInvokerTestSupport<MavenOptions, MavenInvokerRequest<MavenOptions>> {
        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultLocalMavenInvoker(ProtoLookup.builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    /**
     * Maven CLI "new-gen".
     */
    public class MavenCling extends ClingSupport<MavenOptions, MavenInvokerRequest<MavenOptions>> {
        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

            extends DefaultMavenInvoker<
                    MavenOptions, MavenInvokerRequest<MavenOptions>, DefaultResidentMavenInvoker.LocalContext>
            implements ResidentMavenInvoker {
    
        public static class LocalContext
                extends DefaultMavenInvoker.MavenContext<
                        MavenOptions, MavenInvokerRequest<MavenOptions>, DefaultResidentMavenInvoker.LocalContext> {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

                    (MavenOptions) context.options);
        }
    
        protected List<String> getJvmArguments(Path rootDirectory) {
            if (rootDirectory != null) {
                // TODO: do this
                return null;
            }
            return null;
        }
    
        // TODO: same is in DefaultMavenParser!!! (duplication)
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top