Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 430 for OPTIONS (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

        @Test
        void testNoCliOptionsDoesNotSetSystemProperty() {
            // Simulate the scenario where no CLI options are specified
            // This should NOT call setRootLoggerLevel, allowing configuration file to take effect
    
            MockInvokerRequest invokerRequest = new MockInvokerRequest(false); // not verbose
            MockOptions options = new MockOptions(false); // not quiet
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                // Create context with --model-version=4.1.0 option to trigger namespace update
                UpgradeOptions options = mock(UpgradeOptions.class);
                when(options.modelVersion()).thenReturn(Optional.of("4.1.0"));
                when(options.all()).thenReturn(Optional.empty());
                UpgradeContext context = createMockContext(options);
    
                UpgradeResult result = strategy.doApply(context, pomMap);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                context.reader =
                        LineReaderBuilder.builder().terminal(context.terminal).build();
    
                if (context.options().goals().isEmpty()) {
                    return badGoalsErrorMessage("No goals specified.", context);
                }
    
                String goalName = context.options().goals().get().get(0);
                Goal goal = context.goals.get(goalName);
                if (goal == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java

     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class ShellParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0]));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.runner.Runner;
    import org.openjdk.jmh.runner.RunnerException;
    import org.openjdk.jmh.runner.options.Options;
    import org.openjdk.jmh.runner.options.OptionsBuilder;
    
    /**
     * <p>Xpp3DomPerfTest class.</p>
     */
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @Warmup(iterations = 3)
    @Measurement(time = 10)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.Options;
    
    /**
     * Defines the options specific to the Maven encryption tool.
     * This interface extends the general {@link Options} interface, adding encryption-specific configuration options.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      ) {
        if (data.size != 0L) {
          lastId = id
          data.skip(1L) // Leading newline.
          callback.onEvent(id, type, data.readUtf8())
        }
      }
    
      companion object {
        val options =
          Options.of(
            // 0
            "\r\n".encodeUtf8(),
            // 1
            "\r".encodeUtf8(),
            // 2
            "\n".encodeUtf8(),
            // 3
            "data: ".encodeUtf8(),
            // 4
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                            + ", please verify the integrity of your Maven installation");
                }
    
                try {
                    Map<String, Object> options = new HashMap<>();
                    options.put("xml:4.0.0", "xml:4.0.0");
    
                    String modelId = "org.apache.maven:maven-model-builder:"
                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

        @TaskAction
        public void process() {
            MutableDataSet options = new MutableDataSet();
            options.set(Parser.EXTENSIONS, Arrays.asList(
                TablesExtension.create(),
                AnchorLinkExtension.create()
            ));
    
            Parser parser = Parser.builder(options).build();
            HtmlRenderer renderer = HtmlRenderer.builder(options).build();
            File markdownFile = getMarkdownFile().get().getAsFile();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/TestCharSource.java

    /**
     * A char source for testing that has configurable options.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestCharSource extends CharSource implements TestStreamSupplier {
    
      private final TestByteSource byteSource;
    
      public TestCharSource(String content, TestOption... options) {
        this.byteSource = new TestByteSource(content.getBytes(UTF_8), options);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
Back to Top