Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 225 for getFile (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

            this.projectId = (project != null)
                    ? project.getGroupId() + ':' + project.getArtifactId() + ':' + project.getVersion()
                    : "";
            this.pomFile = (project != null) ? project.getFile() : null;
            this.project = project;
            this.problems = problems != null ? problems : Collections.emptyList();
            this.dependencyResolutionResult = dependencyResolutionResult;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getVersion();
    
        /**
         * Gets the file of the constituent's artifact.
         *
         * @return The file, never {@code null}.
         */
        File getFile();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
            for (ArtifactMetadata metadata : artifact.getMetadataList()) {
                if (metadata instanceof ProjectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
                    pomArtifact = pomArtifact.setFile(((ProjectArtifactMetadata) metadata).getFile());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            if (artifacts != null && !artifacts.isEmpty()) {
                for (Artifact artifact : artifacts) {
                    if (!isProvidedArtifact(artifact) && artifact.getFile() != null) {
                        constituents.add(new ArtifactClassRealmConstituent(artifact));
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("  Excluded: {}", getId(artifact));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            return pomRepositories;
        }
    
        private boolean hasFile(Artifact artifact) {
            return artifact != null
                    && artifact.getFile() != null
                    && artifact.getFile().exists();
        }
    
        private List<ArtifactRepository> aggregateRepositories(
                List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

            return metadata.getRemoteFilename();
        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        public File getFile() {
            return null;
        }
    
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        public Nature getNature() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                File selectedProject =
                        new File(new File(reactorDirectory, selector).toURI().normalize());
    
                if (selectedProject.isFile()) {
                    return selectedProject.equals(project.getFile());
                } else if (selectedProject.isDirectory()) {
                    return selectedProject.equals(project.getBasedir());
                }
            }
    
            return false;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

                } catch (InvalidVersionSpecificationException e) {
                    throw new InvalidDependencyVersionException(project.getId(), d, project.getFile(), e);
                }
    
                if (dependencyArtifact != null) {
                    artifacts.add(dependencyArtifact);
                }
            }
    
            return artifacts;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. cmd/ftp-server-driver.go

    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    	return err
    }
    
    // GetFile implements ftpDriver
    func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(err)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                if (metadata instanceof ProjectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
                    pomArtifact = pomArtifact.setFile(((ProjectArtifactMetadata) metadata).getFile());
                    request.addArtifact(pomArtifact);
                } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
                        || metadata instanceof ArtifactRepositoryMetadata) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top