- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getDependencyManagement (0.17 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
return profile.getActivation() == null && profile.getBuild() == null && profile.getDependencies().isEmpty() && (profile.getDependencyManagement() == null || profile.getDependencyManagement().getDependencies().isEmpty()) && profile.getDistributionManagement() == null && profile.getModules().isEmpty()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
} } }); ModelBuildingResult result = builder.build(request); Dependency dep = result.getEffectiveModel().getDelegate().getDependencyManagement().getDependencies().stream() .filter(d -> "test:mydep:jar".equals(d.getManagementKey())) .findFirst() .get(); assertEquals("0.2", dep.getVersion());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java
*/ protected static class ManagementModelMerger extends MavenModelMerger { public Model mergeManagedDependencies(Model model) { DependencyManagement dependencyManagement = model.getDependencyManagement(); if (dependencyManagement != null) { Map<Object, Dependency> dependencies = new HashMap<>(); Map<Object, Object> context = Collections.emptyMap();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
} if (model != null) { pomArtifact = artifact; dependencies = model.getDependencies(); DependencyManagement dependencyManagement = model.getDependencyManagement(); managedDependencies = dependencyManagement == null ? null : dependencyManagement.getDependencies(); MavenSession session = legacySupport.getSession(); if (session != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
if (sources != null && !sources.isEmpty()) { Map<String, Dependency> dependencies = new LinkedHashMap<>(); DependencyManagement depMgmt = target.getDependencyManagement(); if (depMgmt != null) { for (Dependency dependency : depMgmt.getDependencies()) { dependencies.put(dependency.getManagementKey(), dependency); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
for (org.apache.maven.model.Dependency dependency : model.getDependencies()) { result.addDependency(convert(dependency, stereotypes)); } DependencyManagement mgmt = model.getDependencyManagement(); if (mgmt != null) { for (org.apache.maven.model.Dependency dependency : mgmt.getDependencies()) { result.addManagedDependency(convert(dependency, stereotypes)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} @Nonnull @Override public List<DependencyCoordinates> getManagedDependencies() { DependencyManagement dependencyManagement = getModel().getDependencyManagement(); if (dependencyManagement != null) { return new MappedList<>(dependencyManagement.getDependencies(), this::toDependency); } return Collections.emptyList(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
problems, m, m.getDependencies(), "dependencies.dependency", request); if (m.getDependencyManagement() != null) { validate20RawDependencies( problems, m.getDependencyManagement().getDependencies(), "dependencyManagement.dependencies.dependency.", EMPTY,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Model model, ModelBuildingRequest request, DefaultModelProblemCollector problems, Collection<String> importIds) { DependencyManagement depMgmt = model.getDependencyManagement(); if (depMgmt == null) { return; } String importing = model.getGroupId() + ':' + model.getArtifactId() + ':' + model.getVersion();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)