Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,633 for file (0.18 sec)

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

                            updateCheckManager.touch(metadata, repository, file);
                        }
                    }
    
                    // TODO should this be inside the above check?
                    // touch file so that this is not checked again until interval has passed
                    if (file.exists()) {
                        file.setLastModified(System.currentTimeMillis());
                    }
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * Creates a new source backed by the specified file.
         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.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: Wed Sep 06 08:39:32 GMT 2023
    - 10.1K bytes
    - Viewed (0)
  4. 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)
  5. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

     */
    package org.apache.maven.artifact.versioning;
    
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import java.nio.file.FileVisitResult;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.SimpleFileVisitor;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.util.regex.Pattern;
    
    import org.junit.jupiter.api.Test;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            File localRepo = getLocalRepositoryPath();
    
            System.out.println("Local repository is at: " + localRepo.getAbsolutePath());
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
            File pom2 = new File(pom1.getParentFile(), "p2/pom.xml");
            File pom3 = new File(pom2.getParentFile(), "p3/pom.xml");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar

    fireGetStarted(resource.Resource, java.io.File); protected void fireGetInitiated(resource.Resource, java.io.File); protected void firePutInitiated(resource.Resource, java.io.File); protected void firePutCompleted(resource.Resource, java.io.File); protected void firePutStarted(resource.Resource, java.io.File); protected void fireSessionDisconnec(); protected void fireSessionDisconnec(); protected void fireSessionLoggedIn(); protected void fireSessionLoggedOff(); protected void fireSessionOpened(); protected void...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 45.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata;
    
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Collections;
    import java.util.Map;
    
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    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/test/java/org/apache/maven/graph/ProjectSelectorTest.java

        @Test
        void isMatchingProjectMatchOnDirectoryReturnsTrue(@TempDir File tempDir) {
            String selector = "maven-core";
            final File tempProjectDir = new File(tempDir, "maven-core");
            tempProjectDir.mkdir();
            final MavenProject mavenProject = createMavenProject("maven-core");
            mavenProject.setFile(new File(tempProjectDir, "some-file.xml"));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 8.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

        @Test
        void testDependencyManagementDoesNotOverrideScopeOfCurrentArtifact() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load the child project, which inherits from p0...
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top