Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for inferred (3.88 sec)

  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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. 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>.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. 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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. 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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top