- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getDependencies (0.1 sec)
-
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/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
} public Dependency[] getDependenciesAsArray() { return getDependencies().toArray(new Dependency[0]); } public Map<String, Dependency> getDependenciesAsMap() { Map<String, Dependency> ret = new HashMap<>(); for (Dependency dep : getDependencies()) { ret.put(dep.getArtifactId(), dep); } return ret;
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/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector); assertCollectorState(0, 0, 0, collector); assertEquals("3.8.1", (out.getDependencies().get(0)).getVersion()); } @Test public void testShouldNotInterpolateDependencyVersionWithInvalidReference() throws Exception { Model model = Model.newBuilder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
Optional<Project> getProject(); @Nonnull Optional<Artifact> getRootArtifact(); @Nonnull Optional<DependencyCoordinates> getRoot(); @Nonnull Collection<DependencyCoordinates> getDependencies(); @Nonnull Collection<DependencyCoordinates> getManagedDependencies(); boolean getVerbose(); @Nonnull PathScope getPathScope(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 17.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
List<Dependency> dependencies = new ArrayList<>(); if (request.getArtifact() instanceof ArtifactWithDependencies) { dependencies = ((ArtifactWithDependencies) request.getArtifact()).getDependencies(); } else { Artifact pomArtifact = createProjectArtifact( request.getArtifact().getGroupId(), request.getArtifact().getArtifactId(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java
} return null; } private Configuration resolveJaxb() { Project project = getProject(); DependencyHandler dependencies = project.getDependencies(); return project.getConfigurations().detachedConfiguration( dependencies.create("javax.xml.bind:jaxb-api:2.3.0"), dependencies.create("com.sun.xml.bind:jaxb-core:2.3.0.1"),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 26 10:58:32 UTC 2023 - 13.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
this.setId(original.getId()); this.setIsolatedRealm(original.isIsolatedRealm()); this.setSource(original.getSource()); this.setDependencies(original.getDependencies()); this.setDependencyNode(original.getDependencyNode()); } private static List<ComponentDescriptor<?>> clone(List<MojoDescriptor> mojos, PluginDescriptor pluginDescriptor) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
d.setSystemPath(systemPath); } if (exclusion != null) { d.addExclusion(exclusion); } project.getDependencies().add(d); return this; } // Plugins // public ProjectBuilder addPlugin(Plugin plugin) { project.getBuildPlugins().add(plugin);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)