Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for files (0.14 sec)

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

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Objects;
    import java.util.concurrent.atomic.AtomicReference;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Properties;
    import java.util.stream.Stream;
    
    import org.apache.maven.project.MavenProject;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * This implementation of {@link BuildResumptionDataRepository} persists information in a properties file. The file is
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. maven-core/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/ReactorReader.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.DirectoryNotEmptyException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.StandardCopyOption;
    import java.util.*;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.stream.Collectors;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.TransformerContext;
    import org.apache.maven.model.v4.MavenStaxReader;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollector.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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            try {
                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    Files.write(tempPath, source);
                    put(tempPath, relativeTarget);
                } finally {
                    if (tempPath != null) {
                        Files.deleteIfExists(tempPath);
                    }
                }
            } catch (IOException e) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import com.ctc.wstx.stax.WstxInputFactory;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.services.model.*;
    
    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                for (Artifact artifact : extensionArtifacts) {
                    File file = artifact.getFile();
                    files.add(file);
                    timestamps.add((file != null) ? Long.valueOf(file.lastModified()) : Long.valueOf(0));
                    sizes.add((file != null) ? Long.valueOf(file.length()) : Long.valueOf(0));
                    ids.add(artifact.getVersion());
                }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.7K bytes
    - Viewed (0)
Back to top