- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for toMatch (0.17 sec)
-
maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
File remoteFile = new File(basedir, path(download.getArtifact())); try { Path dest = download.getFile().toPath(); Files.createDirectories(dest.getParent()); Files.copy(remoteFile.toPath(), dest); } catch (IOException e) { if (!remoteFile.exists()) {
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) -
maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
// here and be safe. jvz. // ---------------------------------------------------------------------------- try { Files.createDirectories(destination.toPath().getParent()); Files.copy(file.toPath(), destination.toPath()); } catch (IOException e) { throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e); } }
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) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
} public void merge(File current, File result) throws RepositoryException { try { if (current.exists()) { Files.createDirectories(result.toPath().getParent()); Files.copy(current.toPath(), result.toPath()); } ArtifactRepository localRepo = new MetadataRepository(result); metadata.storeInLocalRepository(localRepo, localRepo); merged = true;
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepository.java
@Nonnull @Override public String getType() { return repository.getContentType(); } @Nonnull @Override public Path getPath() { return repository.getBasedir().toPath(); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 1.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8); parentContent = parentContent.replace( "<packaging>pom</packaging>", "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>"); Files.write(parent.toPath(), parentContent.getBytes(StandardCharsets.UTF_8)); // re-build pom with modified parent
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Nov 28 17:17:10 GMT 2023 - 18.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepository.java
@Nonnull @Override public String getType() { return repository.getContentType(); } @Nonnull @Override public Path getPath() { return repository.getBasedir().toPath(); }
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 1.8K bytes - Viewed (0) -
apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java
assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath()); try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) { new SettingsStaxReader().read(is, true, new InputSource(globalSettingsFile.getAbsolutePath())); } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
for (ArtifactResult result : results) { Artifact artifact = session.getArtifact(result.getArtifact()); Path path = result.getArtifact().getFile().toPath(); artifactManager.setPath(artifact, path); paths.put(artifact, path); } } return () -> paths;
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Dec 15 06:34:19 GMT 2023 - 3.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java
PlexusContainer container; @Test void testAptConsistency() throws Exception { File apt = getTestFile("src/site/apt/artifact-handlers.apt"); List<String> lines = Files.readAllLines(apt.toPath()); for (String line : lines) { if (line.startsWith("||")) { String[] cols = line.split("\\|\\|"); String[] expected = new String[] { "",
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Dec 14 10:51:16 GMT 2023 - 3.9K bytes - Viewed (0) -
maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
* @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. * * @param path The file, must not be {@code null}. * @since 4.0.0 */ public FileSource(Path path) {
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)