Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for files (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

        }
    
        @Override
        public Map<ChecksumAlgorithm, String> calculate(Path file, Collection<ChecksumAlgorithm> algorithms)
                throws IOException {
            nonNull(file, "file");
            nonNull(algorithms, "algorithms");
            try (InputStream inputStream = new BufferedInputStream(Files.newInputStream(file))) {
                return calculate(inputStream, algorithms);
            }
        }
    
        @Override
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

        }
    
        @Override
        public Map<ChecksumAlgorithm, String> calculate(Path file, Collection<ChecksumAlgorithm> algorithms)
                throws IOException {
            nonNull(file, "file");
            nonNull(algorithms, "algorithms");
            try (InputStream inputStream = new BufferedInputStream(Files.newInputStream(file))) {
                return calculate(inputStream, algorithms);
            }
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

         * Builds the toolchains model from the configured toolchain files.
         *
         * @param userToolchainsFile The path to the toolchains file, may be <code>null</code> to disable parsing.
         * @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does
         *         not exist.
         * @throws MisconfiguredToolchainException If the toolchain file exists but cannot be parsed.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 * source files.
                 */
                if (Files.isDirectory(file)) {
                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        }
                    }
                } else {
                    File pluginXml = new File(pluginFile, getPluginDescriptorLocation());
    
                    if (pluginXml.isFile()) {
                        pluginDescriptor = parsePluginDescriptor(
                                () -> Files.newInputStream(pluginXml.toPath()), plugin, pluginXml.getAbsolutePath());
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.CopyOnWriteArraySet;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                for (ArtifactDownload download : artifactDownloads) {
                    File remoteFile = new File(basedir, path(download.getArtifact()));
                    try {
                        Path dest = download.getFile().toPath();
                        Files.createDirectories(dest.getParent());
                        Files.copy(remoteFile.toPath(), dest);
                    } catch (IOException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. maven-core/src/site/apt/configuration-management.apt

     files for and see if we can't incorporate it all into the POM. Or if we do
     have properties file (something I would like to avoid) say they don't
     contribute in any meaningful way to information in the POM. For example a
     properties file could be used the specify $ so it can be interpolated in
     <developerConnection/> but you couldn't use a properties file to specify the
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.model;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    
    import org.apache.maven.api.di.Inject;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top