Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 221 for getfile (0.06 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

            String resourceName,
            @Nullable File file) {
        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
         */
        @Deprecated
        public File getFile() {
            return path.toFile();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @since 4.0.0
         */
        public Path getPath() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                if (conflictingProject != null) {
                    throw new DuplicateProjectException(
                            projectId,
                            conflictingProject.getFile(),
                            project.getFile(),
                            "Project '" + projectId + "' is duplicated in the reactor");
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        @Override
        public String getRemoteFilename() {
            return getFilename();
        }
    
        @Override
        public String getLocalFilename(ArtifactRepository repository) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

         */
        private boolean isRequestedProjectCollected(MavenExecutionRequest request, List<MavenProject> projects) {
            return projects.stream().map(MavenProject::getFile).anyMatch(request.getPom()::equals);
        }
    
        /**
         * This method finds out whether collecting projects failed because of the following scenario:
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                return project.getFile();
            }
    
            // Get the matching artifact from the project
            Artifact projectArtifact = findMatchingArtifact(project, artifact);
            if (projectArtifact != null) {
                // If the artifact has been associated to a file, use it
                File packagedArtifactFile = projectArtifact.getFile();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                    pomArtifact = pomArtifact.setFile(projectArtifactMetadata.getFile());
                    request.addArtifact(pomArtifact);
                } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
                        || metadata instanceof ArtifactRepositoryMetadata) {
                    // eaten, handled by repo system
                } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        @Override
        public File getFile() {
            return null;
        }
    
        @Override
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top