- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for exists (0.17 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
.globalToolchainsSource( globalToolchainsPath != null && Files.exists(globalToolchainsPath) ? Source.fromPath(globalToolchainsPath) : null) .userToolchainsSource( userToolchainsPath != null && Files.exists(userToolchainsPath) ? Source.fromPath(userToolchainsPath)
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5K bytes - Viewed (0) -
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 Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java
public interface GraphConflictResolver { String ROLE = GraphConflictResolver.class.getName(); /** * Cleanses the supplied graph by leaving only one directed versioned edge\ * between any two nodes, if multiple exists. Uses scope relationships, defined * in <code>ArtifactScopeEnum</code> * * @param graph the "dirty" graph to be simplified via conflict resolution * @param scope scope for which the graph should be resolved
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 1.7K 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 Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 13.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
File deployedFile = new File(remoteRepository.getBasedir(), remoteRepository.pathOf(artifact)); assertTrue(deployedFile.exists()); assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim()); } finally { sessionScope.exit(); } }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.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 Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
// ignore } metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need // to delete on exit } } else if (metadataFile.exists()) { try (InputStream input = Files.newInputStream(metadataFile.toPath())) { metadata = new Metadata(new MetadataStaxReader().read(input, false)); } }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7K bytes - Viewed (0) -
maven-core/src/test/resources/projects/transform/after.pom
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </profile> <profile> <id>file</id> <activation> <file> <exists>simple.xml</exists> </file> </activation> <properties> <profile.file>activated</profile.file> </properties> </profile> </profiles>
Plain Text - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Thu Sep 14 07:51:37 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java
Map.Entry<Artifact, Path> res = session.resolveArtifact(coord); assertNotNull(res); assertNotNull(res.getValue()); assertTrue(Files.exists(res.getValue())); Node node = session.collectDependencies(session.createDependencyCoordinate(coord)); assertNotNull(node); assertEquals(8, node.getChildren().size()); }
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java
* @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does * not exist. * @throws MisconfiguredToolchainException If the toolchain file exists but cannot be parsed. */ PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException;
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.8K bytes - Viewed (0)