Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for files (0.15 sec)

  1. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Apr 01 15:17:46 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain.java;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    
    import org.apache.maven.toolchain.DefaultToolchain;
    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.apache.maven.utils.Os;
    import org.slf4j.Logger;
    
    /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

         * @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}.
         */
        public DuplicateProjectException(String message, Map<String, List<File>> collisions) {
            super(message, (File) null);
    
            this.collisions = (collisions != null) ? collisions : new LinkedHashMap<>();
        }
    
        /**
         * Gets the POM files of the projects that collided.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        private final File file;
    
        public ProjectArtifactMetadata(Artifact artifact) {
            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        public MetadataBridge(ArtifactMetadata metadata) {
            this.metadata = metadata;
        }
    
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K 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. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.api.settings.InputSource;
    import org.apache.maven.settings.v4.SettingsStaxReader;
    import org.junit.jupiter.api.Test;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top