Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for exists (0.14 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            assertNull(
                    updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository)));
    
            assertFalse(updateCheckManager.getTouchfile(a).exists());
        }
    
        @Test
        void testMissingArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            ArtifactRepository repo = createStringRepo();
    
            assertThrows(ResourceDoesNotExistException.class, () -> wagonManager.getArtifact(artifact, repo, null, false));
    
            assertFalse(artifact.getFile().exists());
        }
    
        @Test
        void testGetMissingJarForced() throws TransferFailedException, UnsupportedProtocolException, IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    apply to your use of any object code in the Content.  Check the Redistributor's license that was
    provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
    indicated below, the terms and conditions of the EPL still apply to any source code in the Content
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Sep 10 19:27:25 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                if (settingsFile != null) {
                    activation.file(ActivationFile.newBuilder()
                            .exists(settingsFile.getExists())
                            .missing(settingsFile.getMissing())
                            .location("exists", toLocation(settingsFile.getLocation("exists")))
                            .location("missing", toLocation(settingsFile.getLocation("missing")))
                            .build());
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

                        file.getLocation(missing ? "missing" : "exists"),
                        e);
                return false;
            }
    
            if (path == null) {
                return false;
            }
    
            File f = new File(path);
    
            if (!f.isAbsolute()) {
                return false;
            }
    
            boolean fileExists = f.exists();
    
            return missing != fileExists;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                        Files.createDirectories(dest.getParent());
                        Files.copy(remoteFile.toPath(), dest);
                    } catch (IOException e) {
                        if (!remoteFile.exists()) {
                            download.setException(new ArtifactNotFoundException(download.getArtifact(), repository));
                        } else {
    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/repository/legacy/DefaultUpdateCheckManager.java

            }
    
            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate;
    
            if (file.exists()) {
                lastCheckDate = new Date(file.lastModified());
            } else {
                File touchfile = getTouchfile(artifact);
                lastCheckDate = readLastUpdated(touchfile, getRepositoryKey(repository));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            return layout;
        }
    
        /**
         * In the future, the legacy system might encounter repository types for which no layout components exists because
         * the actual communication with the repository happens via a repository connector. As a minimum, the legacy system
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                    .globalSettingsSource(
                            globalSettingsPath != null && Files.exists(globalSettingsPath)
                                    ? Source.fromPath(globalSettingsPath)
                                    : null)
                    .projectSettingsSource(
                            projectSettingsPath != null && Files.exists(projectSettingsPath)
                                    ? Source.fromPath(projectSettingsPath)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
            }
            // Either the original or the specified version ranges have no restrictions
            else if (recommendedVersion != null) {
                // Use the original recommended version since it exists
                version = recommendedVersion;
            } else if (restriction.recommendedVersion != null) {
                // Use the recommended version from the specified VersionRange since there is no
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top