Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for setDelegate (0.18 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                try (OutputStream output = Files.newOutputStream(metadataFile.toPath())) {
                    MetadataStaxWriter mappingWriter = new MetadataStaxWriter();
                    mappingWriter.write(output, metadata.getDelegate());
                }
            } else {
                metadataFile.setLastModified(System.currentTimeMillis());
            }
        }
    
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            if (modelV3 == null || basedir == null) {
                return;
            }
    
            Model model = modelV3.getDelegate();
            Build build = model.getBuild();
            Build newBuild = null;
            if (build != null) {
                newBuild = Build.newBuilder(build)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

                }
            }
    
            return path;
        }
    
        static String toId(Model model) {
            if (model == null) {
                return "";
            }
            return toId(model.getDelegate());
        }
    
        static String toId(org.apache.maven.api.model.Model model) {
            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                deferDeleteFile(consumer);
    
                project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
            } else if (project.getModel().getDelegate().isRoot()) {
                throw new IllegalStateException(
                        "The use of the root attribute on the model requires the buildconsumer feature to be active");
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                ModelBuildingRequest request,
                ModelProblemCollector problems) {
            org.apache.maven.api.model.Model m = ma.getDelegate();
            // check for id clashes in repositories
            for (Profile profile : activeExternalProfiles.stream()
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .collect(Collectors.toList())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumBiMap.java

        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            this.eventQueue = new ArrayBlockingQueue<>(queueSize);
            Thread updater = new Thread(this::feedConsumer);
            updater.setDaemon(true);
            updater.start();
        }
    
        public TransferListener getDelegate() {
            return delegate;
        }
    
        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                            .build();
                    execs.add(execution);
    
                    if (mojo.getDependencies() != null) {
                        mojo.getDependencies().forEach(d -> deps.add(d.getDelegate()));
                    }
    
                    Plugin plugin = Plugin.newBuilder()
                            .groupId(groupId)
                            .artifactId(artifactId)
                            .version(version)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EnumBiMap.java

        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            return new File("src/test/resources/poms/inheritance/" + name + ".xml");
        }
    
        private Model getModel(String name) throws IOException {
            return reader.read(getPom(name), null).getDelegate();
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
            testInheritance("plugin-configuration");
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top