Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,797 for options (0.03 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(options.infer()).thenReturn(Optional.ofNullable(infer));
            when(options.model()).thenReturn(Optional.ofNullable(model));
            when(options.plugins()).thenReturn(Optional.ofNullable(plugins));
            when(options.modelVersion()).thenReturn(Optional.ofNullable(modelVersion));
            return options;
        }
    
        /**
         * Creates upgrade options with only the --all flag set.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

                super.prepareOptions(options);
                options.addOption(Option.builder(MODEL_VERSION)
                        .longOpt("model-version")
                        .hasArg()
                        .argName("version")
                        .desc("Target POM model version (4.0.0 or 4.1.0)")
                        .get());
                options.addOption(Option.builder(DIRECTORY)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         * @param defaultWhenNoOptionsSpecified whether this option should be enabled by default
         * @return true if the option should be enabled
         */
        default boolean isOptionEnabled(
                UpgradeOptions options, Optional<Boolean> specificOption, boolean defaultWhenNoOptionsSpecified) {
            // Handle --all option (overrides individual options)
            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

        /**
         * Locate and parse the model in the specified directory.
         * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @param options possible parsing options, may be {@code null}
         * @return an optional parsed {@link Model} or {@code null} if none could be found
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            final Options options = new Options();
    
            final CmdLineParser parser = new CmdLineParser(options);
            try {
                parser.parseArgument(args);
            } catch (final CmdLineException e) {
                System.err.println(e.getMessage());
                System.err.println("java " + ThumbnailGenerator.class.getCanonicalName() + " [options...] arguments...");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

        @Nonnull
        Optional<CIInfo> ciInfo();
    
        /**
         * Returns the options associated with this invocation request.
         *
         * @return the options optional. It will be absent if {@link #parsingFailed()} return {@code true}.
         */
        @Nonnull
        Optional<Options> options();
    
        /**
         * This method returns "verbose" option value derived from multiple places: CLI options, but also CI detection,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

            Assertions.assertTrue(invokerRequest.options().isPresent());
            Options options = invokerRequest.options().orElseThrow();
            Assertions.assertFalse(options.showVersion().orElse(false));
            Assertions.assertFalse(options.showVersionAndExit().orElse(false));
            Assertions.assertTrue(options.showErrors().orElse(false));
            Assertions.assertTrue(options.verbose().orElse(false));
    
            // user home
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

        }
    
        @Override
        public Optional<Path> rootDirectory() {
            return Optional.ofNullable(rootDirectory);
        }
    
        @Override
        public Optional<List<CoreExtensions>> coreExtensions() {
            return Optional.ofNullable(coreExtensions);
        }
    
        @Override
        public Optional<CIInfo> ciInfo() {
            return Optional.ofNullable(ciInfo);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.Options;
    
    /**
     * Defines the options specific to the Maven upgrade tool.
     * This interface extends the general {@link Options} interface, adding upgrade-specific configuration options.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            this.options = new ArrayList<>(options);
        }
    
        @Override
        public Optional<Map<String, String>> userProperties() {
            return collectMapIfPresentOrEmpty(Options::userProperties);
        }
    
        @Override
        public String source() {
            return String.format(
                    "layered(%s)", options.stream().map(Options::source).toList());
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 26 17:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top