Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for setDelegate (0.31 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata.getDelegate());
                }
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not write metadata " + metadataPath + ": " + e.getMessage(), e);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return repositories == null ? null : map(repositories, this::toArtifactRepository);
        }
    
        @Nonnull
        @Override
        public Settings getSettings() {
            return getMavenSession().getSettings().getDelegate();
        }
    
        @Nonnull
        @Override
        public Map<String, String> getUserProperties() {
            return Collections.unmodifiableMap(new PropertiesAsMap(getMavenSession().getUserProperties()));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

                ModelProblemCollector problems) {
            return getActiveProfiles(profiles.stream().map(Profile::new).collect(Collectors.toList()), context, problems)
                    .stream()
                    .map(Profile::getDelegate)
                    .collect(Collectors.toList());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java

                ModelProblemCollector problems) {
            Model m = new Model(model);
            injectProfile(m, profile != null ? new Profile(profile) : null, request, problems);
            return m.getDelegate();
        }
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

        @Override
        public void injectManagement(
                org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            model.update(merger.mergeManagedDependencies(model.getDelegate()));
        }
    
        /**
         * ManagementModelMerger
         */
        protected static class ManagementModelMerger extends MavenModelMerger {
    
            public Model mergeManagedDependencies(Model model) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractBiMap.java

      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
      /** Package-private constructor for creating a map-backed bimap. */
      AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
        setDelegates(forward, backward);
      }
    
      /** Private constructor for inverse bimap. */
      private AbstractBiMap(Map<K, V> backward, AbstractBiMap<V, K> forward) {
        delegate = backward;
        inverse = forward;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

        @Override
        public void injectManagement(
                org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            model.update(merger.mergeManagedBuildPlugins(model.getDelegate()));
        }
    
        /**
         * ManagementModelMerger
         */
        protected static class ManagementModelMerger extends MavenModelMerger {
    
            public Model mergeManagedBuildPlugins(Model model) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            for (MavenProject mavenProject : projects) {
                if (!"maven-plugin".equals(mavenProject.getPackaging())) {
                    Prerequisites prerequisites =
                            mavenProject.getModel().getDelegate().getPrerequisites();
                    if (prerequisites != null && prerequisites.getMaven() != null) {
                        logger.warn(
                                "The project {} uses prerequisites"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        @Nonnull
        @Override
        public Packaging getPackaging() {
            return packaging;
        }
    
        @Nonnull
        @Override
        public Model getModel() {
            return project.getModel().getDelegate();
        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

         */
        public java.nio.file.Path getPomPath() {
            return (getDelegate().getPomFile() != null) ? getDelegate().getPomFile() : null;
        }
    
        public void setPomPath(java.nio.file.Path pomPath) {
            update( getDelegate().withPomFile(pomPath));
        }
    
        public void setModelEncoding(String modelEncoding) {
            update(getDelegate().with().modelEncoding(modelEncoding).build());
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top