Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                }
    
                ArtifactRepository remoteRepo = request.getRemoteRepositories().get(0);
    
                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        public void retrieve(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.standalone;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map;
    
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.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. api/maven-api-model/src/main/mdo/maven.mdo

          <description>This is the file specification used to activate the profile. The {@code missing} value
            is the location of a file that needs to exist, and if it doesn't, the profile will be
            activated. On the other hand, {@code exists} will test for the existence of the file and if it is
            there, the profile will be activated.
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

     * under the License.
     */
    package org.apache.maven.internal.impl.resolver;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Collections;
    import java.util.Date;
    import java.util.Map;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. maven-api-impl/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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top