Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for setDependencies (0.3 sec)

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

        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    
        @Nonnull
        default Collection<Dependency> getDependencies() {
            return getDependenciesMap().values();
        }
    
        @Nonnull
        Map<String, Dependency> getDependenciesMap();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

                    if (keepPackages.matches(className) && !ignorePackages.matches(className)) {
                        entryPoints.add(classDetails)
                    }
                }
            }
    
        fun getDependencies() = classes.map { it.value.outputClassFilename to it.value.dependencies.map { it.outputClassFilename } }.toMap()
    }
    
    
    class ClassDetails(val outputClassName: String) {
        var visited: Boolean = false
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top