- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for exits (0.44 sec)
-
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 May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
.github/workflows/maven_build_itself.yml
Others - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sun Mar 03 21:28:30 GMT 2024 - 2.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
public void assertFileExistence(File dir, String filename, boolean shouldExist) { File file = new File(dir, filename); if (shouldExist) { assertTrue(file.exists()); } else { assertFalse(file.exists()); } } public void assertFileContents(File dir, String filename, String contentsTest, String encoding) throws IOException {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
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 May 05 03:35:11 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 May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
<version>4.0.0+</version> <description>This is the file specification used to activate the profile. The {@code missing} value is the location of a file that needs to exist, and if it doesn't, the profile will be activated. On the other hand, {@code exists} will test for the existence of the file and if it is there, the profile will be activated.
XML - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 13:29:46 GMT 2024 - 115.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
protected ActivationFile.Builder transformActivationFile_Exists( Supplier<? extends ActivationFile.Builder> creator, ActivationFile.Builder builder, ActivationFile target) { final String path = target.getExists(); final String xformed = transformPath(path, target, "exists");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
*/ @Nonnull Optional<Path> getArtifactPath(@Nonnull Artifact artifact); /** * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at * the returned location, the path merely indicates where the artifact would eventually be stored. * <p> * Shortcut for {@code getService(LocalArtifactManager.class).getPathForLocalArtitact(...)}. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K 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-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
} @Test void testRoundTripProfiles() { Random entropy = new Random(); ActivationFile af = ActivationFile.newBuilder() .exists("exists" + Long.toHexString(entropy.nextLong())) .missing("missing" + Long.toHexString(entropy.nextLong())) .build(); ActivationProperty ap = ActivationProperty.newBuilder()
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 6.7K bytes - Viewed (0)