Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/c_api_test.cc

      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, ShapeInferenceError) {
      // TF_FinishOperation should fail if the shape of the added operation cannot
      // be inferred.
      TF_Status* status = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Create this failure by trying to add two nodes with incompatible shapes
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  8. apache-maven/src/assembly/maven/bin/mvn.cmd

    @echo off
    @REM set title of command window
    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
    
    @REM Clear/define a variable for any options to be inserted via script
    @REM We want to avoid trying to parse the external MAVEN_OPTS variable
    SET INTERNAL_MAVEN_OPTS=
    
    @REM Execute a user defined script before this one
    if not "%MAVEN_SKIP_RC%"=="" goto skipRc
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  9. doc/asm.html

    object file at the beginning of any name starting with a period:
    in an assembly source file within the math/rand package implementation,
    the package's Int function can be referred to as <code>·Int</code>.
    This convention avoids the need to hard-code a package's import path in its
    own source code, making it easier to move the code from one location to another.
    </p>
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            int nameIndex = xmlOutput.indexOf("<name>");
            int descriptionIndex = xmlOutput.indexOf("<description>");
            int urlIndex = xmlOutput.indexOf("<url>");
    
            // Verify description is inserted between name and url
            assertTrue(nameIndex < descriptionIndex, "name should come before description");
            assertTrue(descriptionIndex < urlIndex, "description should come before url");
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
Back to Top