Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for setDependencies (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
    
                validate20RawDependencies(problems, m.getDependencies(), "dependencies.dependency.", EMPTY, request);
    
                validate20RawDependenciesSelfReferencing(
                        problems, m, m.getDependencies(), "dependencies.dependency", request);
    
                if (m.getDependencyManagement() != null) {
                    validate20RawDependencies(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

            }
        }
    
        //
        // Infer inner reactor dependencies version
        //
        void handleReactorDependencies(TransformerContext context, Model model) {
            for (Dependency dep : model.getDependencies()) {
                if (dep.getVersion() == null) {
                    Model depModel =
                            context.getRawModel(model.getDelegate().getPomFile(), dep.getGroupId(), dep.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            request.addRepository(newTestRepository());
    
            ArtifactDescriptorResult result = system.readArtifactDescriptor(session, request);
    
            List<Dependency> deps = result.getDependencies();
            assertEquals(2, deps.size());
            checkUtSimpleArtifactDependencies(deps.get(0), deps.get(1));
        }
    
        /**
         * check ut.simple:artifact:1.0 dependencies
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            return getSortedProjects(projectIds);
        }
    
        private void getUpstreamProjects(String projectId, Collection<String> projectIds, boolean transitive) {
            for (String id : sorter.getDependencies(projectId)) {
                if (projectIds.add(id) && transitive) {
                    getUpstreamProjects(id, projectIds, transitive);
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                return resolved;
            }
    
            /*
    
            Logic for transitive global exclusions
    
            List<String> exclusions = new ArrayList<String>();
    
            for ( Dependency d : project.getDependencies() )
            {
                if ( d.getExclusions() != null )
                {
                    for ( Exclusion e : d.getExclusions() )
                    {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         */
        @Nonnull
        Path getBasedir();
    
        /**
         * Returns the project direct dependencies (directly specified or inherited).
         */
        @Nonnull
        List<DependencyCoordinates> getDependencies();
    
        /**
         * Returns the project managed dependencies (directly specified or inherited).
         */
        @Nonnull
        List<DependencyCoordinates> getManagedDependencies();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. 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)
Back to top