- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for getDependencies (0.11 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
d1.setGroupId("myGroupId"); assertNotNull(dm.getDependencies()); assertEquals(0, dm.getDependencies().size()); dm.addDependency(d1); assertNotNull(dm.getDependencies()); assertEquals(1, dm.getDependencies().size()); dm.getDependencies().get(0).setArtifactId("myArtifactId"); assertEquals("myArtifactId", dm.getDependencies().get(0).getArtifactId()); dm.setDependencies(null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java
DependencyManagement source, boolean sourceDominant, Map<Object, Object> context) { Iterator<Dependency> sourceIterator = source.getDependencies().iterator(); builder.dependencies(target.getDependencies().stream() .map(d -> mergeDependency(d, sourceIterator.next(), sourceDominant, context)) .collect(Collectors.toList())); } @Override
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/management/DefaultDependencyManagementInjector.java
for (Dependency dependency : model.getDependencies()) { Object key = getDependencyKey().apply(dependency); dependencies.put(key, dependency); } boolean modified = false; for (Dependency managedDependency : dependencyManagement.getDependencies()) { Object key = getDependencyKey().apply(managedDependency);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
*/ @Nonnull Map<Dependency, Path> getDependencies(); /** * Returns the Java module name of the dependency at the given path. * The given dependency should be one of the paths returned by {@link #getDependencies()}. * The module name is extracted from the {@code module-info.class} file if present, otherwise from
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
* the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from * aftereffects and bogus error messages. */ List<Dependency> dependencies = model.getDependencies(); Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2); for (Dependency dependency : dependencies) { normalized.put(dependency.getManagementKey(), dependency);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K 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) -
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-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
DependencyManagement depMgmt = target.getDependencyManagement(); if (depMgmt != null) { for (Dependency dependency : depMgmt.getDependencies()) { dependencies.put(dependency.getManagementKey(), dependency); } } else { depMgmt = DependencyManagement.newInstance(); }
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-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
assertFalse(pd.isIsolatedRealm()); assertTrue(pd.isInheritedByDefault()); assertEquals(2, pd.getMojos().size()); assertEquals(1, pd.getDependencies().size()); MojoDescriptor md = pd.getMojos().get(0); assertEquals("jar", md.getGoal()); assertEquals("mojo-description", md.getDescription());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0)