Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 114 for Root (0.05 seconds)

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

            Element root = pomDocument.root();
    
            // Collect all repository containers to process
            Stream<Element> repositoryContainers = Stream.concat(
                    // Root level repositories
                    Stream.of(
                                    root.child(REPOSITORIES).orElse(null),
                                    root.child(PLUGIN_REPOSITORIES).orElse(null))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            /**
             * @param root The root dependency
             * @return this request for chaining, never {@code null}
             */
            @Nonnull
            public DependencyResolverRequestBuilder root(@Nonnull DependencyCoordinates root) {
                this.root = root;
                return this;
            }
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Element root = pomDocument.root();
    
            // Check if this POM has a parent
            Element parentElement = root.child(PARENT).orElse(null);
            if (parentElement == null) {
                return false;
            }
    
            // Apply limited inference (child groupId/version removal only)
            return trimParentElementLimited(context, root, parentElement);
        }
    
        /**
    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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                root.attribute("xsi:schemaLocation", newSchemaLocation);
                context.detail("Updated xsi:schemaLocation");
            }
        }
    
        /**
         * Converts modules to subprojects for 4.1.0 compatibility using domtrip.
         */
        private void convertModulesToSubprojects(Editor editor, UpgradeContext context) {
            Element root = editor.root();
            if (root == null) {
                return;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. cmd/metacache_gen.go

    				return
    			}
    		case "err":
    			z.error, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "error")
    				return
    			}
    		case "root":
    			z.root, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "root")
    				return
    			}
    		case "fnf":
    			z.fileNotFound, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "fileNotFound")
    				return
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

         */
        public static boolean removeModelVersion(Document document) {
            Element root = document.root();
            if (root == null) {
                return false;
            }
    
            Element modelVersionElement = root.child(MODEL_VERSION).orElse(null);
            if (modelVersionElement != null) {
                return root.removeNode(modelVersionElement);
            }
            return false;
        }
    
        /**
    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)
  7. cmd/data-usage-cache.go

    	root := d.find(path)
    	if root == nil || len(root.Children) == 0 {
    		return root
    	}
    	flat := d.flatten(*root)
    	return &flat
    }
    
    // totalChildrenRec returns the total number of children recorded.
    func (d *dataUsageCache) totalChildrenRec(path string) int {
    	root := d.find(path)
    	if root == nil || len(root.Children) == 0 {
    		return 0
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            Element root = doc.root();
    
            // Insert elements with various text content scenarios
            DomUtils.insertContentElement(root, "name", "Test Project Name");
            DomUtils.insertContentElement(root, "description", ""); // Empty content
            DomUtils.insertContentElement(root, "url", null); // Null content
            DomUtils.insertContentElement(root, "inceptionYear", "2023");
    
    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)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * </ul>
     *
     * <h4>Full Inference for 4.1.0+ Models</h4>
     * <ul>
     *   <li><strong>ModelVersion Removal</strong>: Removes {@code <modelVersion>} element (inference enabled)</li>
     *   <li><strong>Root Attribute</strong>: Adds {@code root="true"} attribute to root project</li>
     *   <li><strong>Parent Element Trimming</strong>:
     *     <ul>
     *       <li>Removes parent {@code <groupId>} when child has no explicit groupId</li>
    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)
  10. docs/en/docs/advanced/behind-a-proxy.md

    ### Providing the `root_path` { #providing-the-root-path }
    
    To achieve this, you can use the command line option `--root-path` like:
    
    <div class="termy">
    
    ```console
    $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (0)
Back to Top