Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 111 for addOption (0.14 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            options.addOption(Option.builder(Character.toString(VERSION))
                    .longOpt("version")
                    .desc("Display version information")
                    .build());
            options.addOption(Option.builder(Character.toString(QUIET))
                    .longOpt("quiet")
                    .desc("Quiet output - only show errors")
                    .build());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                super.prepareOptions(options);
                options.addOption(Option.builder(ALTERNATE_POM_FILE)
                        .longOpt("file")
                        .hasArg()
                        .desc("Force the use of an alternate POM file (or directory with pom.xml)")
                        .get());
                options.addOption(Option.builder(NON_RECURSIVE)
                        .longOpt("non-recursive")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                options.addOption(Option.builder()
                        .longOpt(ENC)
                        .desc("Launch the Maven Encryption tool (script option).")
                        .get());
                options.addOption(Option.builder()
                        .longOpt(UPGRADE)
                        .desc("Launch the Maven Upgrade tool (script option).")
                        .get());
                options.addOption(Option.builder()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        void testPerformProfileActivation() throws ParseException {
            final CommandLineParser parser = new DefaultParser();
    
            final Options options = new Options();
            options.addOption(Option.builder(Character.toString(CLIManager.ACTIVATE_PROFILES))
                    .hasArg()
                    .build());
    
            ProfileActivation activation;
    
            activation = new ProfileActivation();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            Map<String, Object> dataMap = new HashMap<>();
    
            // First addition
            transformer.putResultDataBody(dataMap, "tags", "tag1");
    
            // Second addition with array
            String[] tags2 = new String[] { "tag2", "tag3" };
            transformer.putResultDataBody(dataMap, "tags", tags2);
    
            // Third addition with another array
            String[] tags3 = new String[] { "tag4", "tag5" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  6. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    editorial revisions, annotations, elaborations, or other modifications
    represent, as a whole, an original work of authorship.
    
    "Modified Works" shall mean any work in Source Code or other form that
    results from an addition to, deletion from, or modification of the
    contents of the Program, including, for purposes of clarity any new file
    in Source Code form that contains any contents of the Program. Modified
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jun 04 06:45:16 GMT 2024
    - 13.9K bytes
    - Click Count (0)
  7. helm/minio/values.yaml

    ## List of policies to be created after minio install
    ##
    ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics]
    ## you can define additional policies with custom supported actions and resources
    policies: []
    ## writeexamplepolicy policy grants creation or deletion of buckets with name
    ## starting with example. In addition, grants objects write permissions on buckets starting with
    ## example.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 19.7K bytes
    - Click Count (1)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         */
        boolean isProcessPlugins();
    
        /**
         * Gets the list of remote repositories to use for resolving dependencies during project building.
         * These repositories will be used in addition to any repositories defined in the project itself.
         *
         * @return the list of remote repositories, or null if not specified
         */
        @Nullable
        List<RemoteRepository> getRepositories();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Safe integer addition with overflow check
         *
         * @param a first operand
         * @param b second operand
         * @return sum of a and b
         * @throws ArithmeticException if overflow occurs
         */
        public static int safeAdd(int a, int b) {
            validateIntegerAddition(a, b, "Addition");
            return a + b;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            void shouldFormatPluginManagementWithProperIndentationWhenAdded() throws Exception {
                // Use a POM that will trigger pluginManagement addition by having a plugin without version
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.0.0">
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
Back to Top