Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for toMatch (0.17 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
        public List<DependencyCoordinate> getDependencies() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
                trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking");
            }
    
            String baseName;
            String ext = missing ? ".miss" : ".dep";
            Path trackingFile = null;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.6K bytes
    - Viewed (1)
  5. maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

            PersistedToolchains toolchains = null;
    
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                // Not using File#lastModified() to avoid a Linux JDK8 milliseconds precision bug: JDK-8177809.
                long artifactLastModified =
                        Files.getLastModifiedTime(packagedArtifactFile.toPath()).toMillis();
    
                if (session.getProjectBuildingRequest().getBuildStartTime() != null) {
                    long buildStartTime =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
                    Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING);
                } else {
                    to.getAsFile().get().delete();
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Nov 22 22:15:41 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-api-impl/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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

            }
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new PluginsMetadata(pluginInfo, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new PluginsMetadata(pluginInfo, path, timestamp);
        }
    
        @Override
        public String getGroupId() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java

            return artifact.getGroupId() + ':' + artifact.getArtifactId();
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new VersionsMetadata(artifact, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new VersionsMetadata(artifact, path, timestamp);
        }
    
        @Override
        public String getGroupId() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top