Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for setDelegate (0.13 sec)

  1. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
         * @param stream a stream object.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            addRepository(repository.getDelegate());
        }
    
        @Override
        public void addRepository(org.apache.maven.model.Repository repository, boolean replace)
                throws InvalidRepositoryException {
            addRepository(repository.getDelegate(), replace);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            model.update(mergeDuplicates(model.getDelegate(), request, problems));
        }
    
        @Override
        public void injectDefaultValues(
                org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            model.update(injectDefaultValues(model.getDelegate(), request, problems));
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                                original.getId(),
                                lifecycle.getId());
                    }
                }
                if (lifecycle.getDelegate() != null) {
                    for (org.apache.maven.api.Lifecycle.Alias alias :
                            lifecycle.getDelegate().aliases()) {
                        Lifecycle original = phaseToLifecycleMap.put(alias.v3Phase(), lifecycle);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                org.apache.maven.model.Profile profile,
                ModelBuildingRequest request,
                ModelProblemCollector problems) {
            model.update(
                    injectProfile(model.getDelegate(), profile != null ? profile.getDelegate() : null, request, problems));
        }
    
        @Override
        public Model injectProfile(
                Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        @Override
        public Model build(RepositorySystemSession session, MavenProject project, Path src) throws ModelBuilderException {
            Model model = project.getModel().getDelegate();
            String packaging = model.getPackaging();
            String originalPackaging = project.getOriginalModel().getPackaging();
            if (POM_PACKAGING.equals(packaging) && !BOM_PACKAGING.equals(originalPackaging)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. compat/maven-settings/src/main/java/org/apache/maven/settings/BaseObject.java

        }
    
        public BaseObject(Object delegate, ChildrenTracking parent) {
            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent;
        }
    
        public Object getDelegate() {
            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java

        }
    
        public BaseObject(Object delegate, ChildrenTracking parent) {
            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent;
        }
    
        public Object getDelegate() {
            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
                    .mirrors(request.getMirrors().stream().map(Mirror::getDelegate).collect(Collectors.toList()))
                    .profiles(request.getProfiles().stream()
                            .map(Profile::getDelegate)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top