- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for exists (0.18 sec)
-
maven-core/src/main/java/org/apache/maven/ReactorReader.java
// No project, but most certainly a dependency which has been built previously File packagedArtifactFile = findInProjectLocalRepository(artifact); if (packagedArtifactFile != null && packagedArtifactFile.exists()) { return packagedArtifactFile; } return null; } public List<String> findVersions(Artifact artifact) { List<String> versions = getProjects()
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) -
maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
assertFalse(file.exists(), "Remote artifact " + file + " should not be present."); } protected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception { ArtifactRepository localRepo = localRepository(); String path = localRepo.pathOf(artifact); File file = new File(localRepo.getBasedir(), path);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 13.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
ext = ".plugin"; baseName = plugin.getGroupId() + "_" + plugin.getArtifactId() + "_" + plugin.getVersion(); trackingFile = trackingDir.resolve(baseName + ext); if (Files.exists(trackingFile)) { return; } if (event.getArtifact() != null) { trackingData.add(indent + event.getArtifact()); indent += " ";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Apr 12 11:08:37 GMT 2023 - 9.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/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 May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.4K bytes - Viewed (0) -
maven-core/src/site/apt/offline-mode.apt
* If the wagon is bound to "file://" then: Retrieve the file or base-url file to be "downloaded". * If the file (or more usefully, the base-url file) exists, proceed. * If the file (or base-url file) doesn't exist, assume that this location is part of a file-share. Ignore the request and print a debug message as above. ** Control over mojos in the lifecycle
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 18 00:24:53 GMT 2024 - 10.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
File localFile = new File(localRepo.getBasedir(), localRepo.pathOf(artifact)); artifact.setFile(localFile); if (!localFile.exists()) { if (request.getRemoteRepositories().isEmpty()) { throw new IOException(localFile + " does not exist and no remote repositories are configured"); } ArtifactRepository remoteRepo = request.getRemoteRepositories().get(0);
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) -
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) -
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) -
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) -
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)