Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 206 for Arguments (0.18 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        public static Stream<Arguments> activateBatchModeArguments() {
            return Stream.of(
                    Arguments.of(false, new String[] {}, false),
                    Arguments.of(true, new String[] {}, true),
                    Arguments.of(true, new String[] {"--force-interactive"}, false),
                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive"}, false),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidVersions() {
                return Stream.of(
                        Arguments.of(null, "null version"),
                        Arguments.of("", "empty version"),
                        Arguments.of("   ", "whitespace-only version"),
                        Arguments.of("4", "incomplete version (major only)"),
                        Arguments.of("4.0", "incomplete version (major.minor only)"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidGAVScenarios() {
                return Stream.of(
                        Arguments.of(
                                null, "incomplete-project", null, "Should return null for missing groupId and version"),
                        Arguments.of("com.example", null, "1.0.0", "Should return null for missing artifactId"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

        @Override
        public void trace(String format, Object arg) {}
    
        @Override
        public void trace(String format, Object arg1, Object arg2) {}
    
        @Override
        public void trace(String format, Object... arguments) {}
    
        @Override
        public void trace(String msg, Throwable t) {}
    
        @Override
        public boolean isTraceEnabled(Marker marker) {
            return false;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    import org.apache.maven.api.services.MessageBuilderFactory;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents a request to parse Maven command-line arguments.
     * This interface encapsulates all the necessary information needed to parse
     * Maven commands and arguments into an {@link InvokerRequest}.
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface ParserRequest {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. cmd/ftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			port, err = strconv.Atoi(portStr)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/templates.md

    ```Python
    {"id": id}
    ```
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Item ID: 42
    ```
    
    ### Template `url_for` Arguments { #template-url-for-arguments }
    
    You can also use `url_for()` inside of the template, it takes as arguments the same arguments that would be used by your *path operation function*.
    
    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                }
                result.append('"').append(arg).append('"');
            }
        }
    
        /**
         * Parse a line into individual arguments, respecting quoted strings.
         * Quotes are stripped from the arguments.
         */
        private static List<String> parseArguments(String line) {
            List<String> args = new ArrayList<>();
            StringBuilder current = new StringBuilder();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            }
    
            private static Stream<Arguments> providePluginOptionScenarios() {
                return Stream.of(
                        Arguments.of(null, true, null, true, "Should enable plugins when --plugins=true"),
                        Arguments.of(true, null, null, true, "Should enable plugins when --all=true"),
                        Arguments.of(
                                true,
                                false,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                return createTestArguments(expectedResult);
            }
    
            private Arguments createTestArguments(ExpectedResult expectedResult) {
                return Arguments.arguments(
                        description,
                        activeRequiredProjects,
                        activeOptionalProjects,
                        inactiveRequiredProjects,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
Back to Top