Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 161 for _parent (0.04 seconds)

  1. tests/associations_test.go

    	DB.First(&parent1, parent.ID)
    	AssertObjEqual(t, parent, parent1, "ID", "FavChildID")
    }
    
    func TestSaveHasManyCircularReference(t *testing.T) {
    	parent := Parent{}
    	DB.Create(&parent)
    
    	child := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference"}
    	child1 := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference1"}
    
    	parent.Children = []*Child{&child, &child1}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        Path getRootDirectory();
    
        /**
         * Returns project parent project, if any.
         * <p>
         * Note that the model may have a parent defined, but an empty parent
         * project may be returned if the parent comes from a remote repository,
         * as a {@code Project} must refer to a buildable project.
         *
         * @return an optional containing the parent project
         * @see Model#getParent()
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // Verify correct behavior for external parent:
                // - groupId should NOT be removed (external parents need groupId to be located)
                // - artifactId should NOT be removed (external parents need artifactId to be located)
                // - version should NOT be removed (external parents need version to be located)
                // This prevents the "parent.groupId is missing" error reported in issue #7934
    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)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    }
                    project.setParent(parent);
                    if (project.getParentFile() == null && parent != null) {
                        project.setParentFile(parent.getFile());
                    }
                }
            }
    
            private ModelBuilderRequest.ModelBuilderRequestBuilder getModelBuildingRequest() {
                ModelBuilderRequest.ModelBuilderRequestBuilder modelBuildingRequest = ModelBuilderRequest.builder();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                throws ModelBuildingException {
            ModelData parentData;
    
            Parent parent = childModel.getParent();
    
            if (parent != null) {
                String groupId = parent.getGroupId();
                String artifactId = parent.getArtifactId();
                String version = parent.getVersion();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  6. cmd/os_unix.go

    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                                    "The requested parent version range '%s' does not specify an upper bound",
                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                parent.setVersion(versionRangeResult.getHighestVersion().toString());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

                    parent.isOptional());
    
            setDependencyTrail(Collections.singletonList(parent.getId()));
    
            this.parent = parent;
    
            if (getId().equals(parent.getId())) {
                throw new InvalidArtifactRTException(
                        parent.getGroupId(),
                        parent.getArtifactId(),
                        parent.getVersion(),
                        parent.getType(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                                    "The requested parent version range '%s' does not specify an upper bound",
                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
                }
    
                parent.setVersion(versionRangeResult.getHighestVersion().toString());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        context.detail("Removed: parent artifactId (can be inferred from relativePath)");
                        hasChanges = true;
                    }
                }
            }
    
            return hasChanges;
        }
    
        /**
         * Determines if the parent is part of the same reactor (multi-module project)
         * vs. an external parent POM by checking if the parent exists in the pomMap.
         */
    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)
Back to Top