- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for getParent (0.11 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java
String groupId = model.getGroupId(); if (groupId == null && model.getParent() != null) { groupId = model.getParent().getGroupId(); } String artifactId = model.getArtifactId(); String version = model.getVersion(); if (version == null && model.getParent() != null) { version = model.getParent().getVersion(); } return toId(groupId, artifactId, version); }
Registered: 2024-06-12 09:55 - Last Modified: 2024-04-12 10:50 - 4.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java
String groupId = m.getGroupId(); if (groupId == null && m.getParent() != null) { groupId = m.getParent().getGroupId(); } String version = m.getVersion(); if (version == null && m.getParent() != null) { version = m.getParent().getVersion(); } return new RelativeProject(groupId, m.getArtifactId(), version); }
Registered: 2024-06-12 09:55 - Last Modified: 2024-06-07 07:31 - 6.5K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/tracker/internal/PluginVersionTracker.java
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-12 02:21 - 2.3K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java
Optional<MavenProject> parentIsPartOfThisBuild = projects.stream().filter(proj -> project.getParent() == null || (project.getParent() != null && proj.getArtifactId().equals(project.getParent().getArtifactId()) && proj.getGroupId().equals(project.getParent().getGroupId())) ).findFirst();
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-14 15:23 - 27.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java
}) .orElse(null); } private String getVersion(Model model) { String version = model.getVersion(); if (version == null && model.getParent() != null) { version = model.getParent().getVersion(); } return version; } void put(Path pomFile, Model model) { modelsByPath.put(pomFile, model); modelsByGa
Registered: 2024-06-12 09:55 - Last Modified: 2024-04-12 10:50 - 4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java
// we want to see all top-level thread groups ThreadGroup tg = Thread.currentThread().getThreadGroup(); while (tg.getParent() == null) { tg = tg.getParent(); } ThreadGroup[] tgList = new ThreadGroup[tg.activeGroupCount()]; tg.enumerate(tgList); boolean seen = false;
Registered: 2024-06-12 09:55 - Last Modified: 2024-04-25 05:46 - 3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
MavenProject project0 = getProjectWithDependencies(pom0); MavenProject project1 = getProjectWithDependencies(pom1); assertNotNull(project1.getParent(), "Parent is null"); assertEquals(pom0Basedir, project1.getParent().getBasedir()); Map map = project1.getArtifactMap(); assertNotNull(map, "No artifacts"); assertTrue(map.size() > 0, "No Artifacts");
Registered: 2024-06-12 09:55 - Last Modified: 2024-04-25 05:46 - 5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/SingleFileTreeElementMatcher.java
File parentFile = element.getParentFile(); while (parentRelativePath != null && parentRelativePath != RelativePath.EMPTY_ROOT) { if (!filter.isSatisfiedBy(new ReadOnlyFileTreeElement(parentFile, parentRelativePath, stat))) { return false; } parentRelativePath = parentRelativePath.getParent();
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-08 15:25 - 4.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalProblemGroup.java
import javax.annotation.Nullable; @NonNullApi public interface InternalProblemGroup { String getName(); String getDisplayName(); @Nullable InternalProblemGroup getParent();
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-09 09:50 - 894 bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/ProblemGroup.java
String getDisplayName(); /** * Returns the parent group or {@code null} for root groups. * * @return the parent group * @since 8.9 */ @Nullable ProblemGroup getParent();
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-09 10:17 - 1.3K bytes - Viewed (0)