Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getDependencies (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinates> getDependencies() {
            return new MappedList<>(getModel().getDependencies(), this::toDependency);
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinates> getManagedDependencies() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                            .location("goals", location)
                            .build();
                    execs.add(execution);
    
                    if (mojo.getDependencies() != null) {
                        mojo.getDependencies().forEach(d -> deps.add(d.getDelegate()));
                    }
    
                    Plugin plugin = Plugin.newBuilder()
                            .groupId(groupId)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top