Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for infer (0.19 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

        }
    
        /**
         * Creates upgrade options with only the --infer option set.
         *
         * @param infer the --infer option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithInfer(boolean infer) {
            return createOptions(null, infer, null, null, null);
        }
    
        /**
         * Creates a simple POM XML string for testing.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

                return Optional.of(commandLine.getOptionValue(CLIManager.DIRECTORY));
            }
            return Optional.empty();
        }
    
        @Override
        @Nonnull
        public Optional<Boolean> infer() {
            if (commandLine.hasOption(CLIManager.INFER)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        @Nonnull
        public Optional<Boolean> model() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.info("-m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)");
            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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         * Should use inference when upgrading (remove redundant information).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
        Optional<Boolean> infer();
    
        /**
         * Should fix Maven 4 compatibility issues in POMs.
         * This includes fixing unsupported combine attributes, duplicate dependencies,
         * unsupported expressions, and other Maven 4 validation issues.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Although we cannot directly verify the super constructor call with Mockito for a real class,
            // we can infer its correct behavior if the object is successfully constructed and its own fields are correct.
            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/NullnessCasts.java

       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * 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}.
    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. guava/src/com/google/common/base/NullnessCasts.java

       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * 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}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     * mvnup check
     * }</pre>
     *
     * <h3>Apply All Upgrades</h3>
     * <pre>{@code
     * mvnup apply --all
     * }</pre>
     *
     * <h3>Upgrade to Maven 4.1.0 with Inference</h3>
     * <pre>{@code
     * mvnup apply --model 4.1.0 --infer
     * }</pre>
     *
     * <h2>Extension Points</h2>
     *
     * <p>To add new upgrade strategies:</p>
     * <ol>
     *   <li>Implement {@link org.apache.maven.cling.invoker.mvnup.goals.UpgradeStrategy}</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*  *##set ( $groupId = $project.artifact.groupId )
    #*  *##set ( $directory = 'lib' )
    #*  *##if ( !$apacheMavenGroupIds.contains( $groupId ) )
    #*    *### advertise about each non-Maven dependency
    #*    *###
    #*    *### infer SPDX license id
    #*    *##if ( $MITLicenseNames.contains( $license.name ) )
    #*      *##set ( $spdx = 'MIT' )
    #*    *##elseif ( $license.name == "Eclipse Public License, Version 1.0" )
    #*      *##set ( $spdx = 'EPL-1.0' )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/NullnessCasts.java

       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * 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}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top