Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 44 for inferred (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

         * Removes modelVersion element when it can be inferred from namespace.
         */
        private boolean applyModelVersionInference(UpgradeContext context, Document pomDocument) {
            String currentVersion = ModelVersionUtils.detectModelVersion(pomDocument);
    
            // Only remove modelVersion for 4.1.0+ models where it can be inferred from namespace
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

         * required when executing the Mojo.
         * If not set, it will be inferred from the fields
         * annotated with the {@link Resolution} annotation.
         */
        @Nonnull
        boolean dependencyCollection() default false;
    
        /**
         * Comma separated list of path scopes that will be
         * required for dependency resolution.
         * If not set, it will be inferred from the fields
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 29 18:21:40 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * or resolution request is performed is controlled by the {@link #pathScope()}
     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
     * from the {@code pathScope} and the injected field type. If the type
     * is {@link org.apache.maven.api.Node Node} and {@code pathScope == ""},
     * then the dependencies will be <i>collected</i>.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jun 11 07:23:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                strategy.doApply(context, pomMap);
    
                // Verify version was removed (can be inferred from project)
                assertNull(DomUtils.findChildElement(dependency, "version"));
                // groupId should also be removed (can be inferred from project)
                assertNull(DomUtils.findChildElement(dependency, "groupId"));
                // artifactId should remain (always required)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.info("-d, --directory <path> Directory to use as starting point for POM discovery");
            context.info("-i, --infer           Remove redundant information that can be inferred by Maven");
            context.info("    --model           Fix Maven 4 compatibility issues in POM files");
            context.info("    --plugins         Upgrade plugins known to fail with Maven 4");
            context.info(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

            printStream.accept("  -d, --directory <path> Directory to use as starting point for POM discovery");
            printStream.accept("  -i, --infer           Remove redundant information that can be inferred by Maven");
            printStream.accept("      --model           Fix Maven 4 compatibility issues in POM files");
            printStream.accept("      --plugins         Upgrade plugins known to fail with Maven 4");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *       <li>Removes parent {@code <groupId>} when child has no explicit groupId</li>
     *       <li>Removes parent {@code <version>} when child has no explicit version</li>
     *       <li>Removes parent {@code <artifactId>} when it can be inferred from relativePath</li>
     *     </ul>
     *   </li>
     *   <li><strong>Managed Dependencies Cleanup</strong>: Removes managed dependencies pointing to project artifacts</li>
     *   <li><strong>Dependency Inference</strong>:
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            }
        }
    
        /**
         * Removes the model version element from a POM editor.
         * This is used during inference when the model version can be inferred.
         *
         * @param document the XML document
         * @return true if the element was removed, false if it didn't exist
         */
        public static boolean removeModelVersion(Document document) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. doc/go_spec.html

    and saved anew but the actual function is not invoked.
    Instead, deferred functions are invoked immediately before
    the surrounding function returns, in the reverse order
    they were deferred. That is, if the surrounding function
    returns through an explicit <a href="#Return_statements">return statement</a>,
    deferred functions are executed <i>after</i> any result parameters are set
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrNoTokenRevokeType: {
    		Code:           "InvalidArgument",
    		Description:    "No token revoke type specified and one could not be inferred from the request",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminNoSuchAccessKey: {
    		Code:           "XMinioAdminNoSuchAccessKey",
    		Description:    "The specified access key does not exist.",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
Back to Top