Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for toMatch (0.15 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        public void retrieve(
                ArtifactRepository repository,
                File destination,
    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)
  3. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

                mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile);
                assertEquals(1, mavenProject.getAttachedArtifacts().size());
            } finally {
                Files.deleteIfExists(artifactFile.toPath());
            }
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                return result instanceof Path
                        ? evaluator.alignToBaseDirectory(((Path) result).toFile()).toPath()
                        : result;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        public Object getValue(String expression) {
                            if (projectDir != null && "baseUri".equals(expression)) {
                                return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString();
                            }
                            return null;
                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        rootLocator.findRoot(pomFile.getParentFile().toPath()));
    
                DefaultModelBuildingListener listener =
                        new DefaultModelBuildingListener(project, projectBuildingHelper, request);
    
                ModelBuilderRequest modelBuildingRequest = getModelBuildingRequest()
                        .source(ModelSource.fromPath(pomFile.toPath()))
                        .projectBuild(true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top