Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for getFiles (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception that occurs when an artifact file is used, but has not been resolved.
     *
     * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception?
     */
    public class DependencyResolutionRequiredException extends Exception {
        public DependencyResolutionRequiredException(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        @Nonnull
        @Override
        public Model getModel() {
            return project.getModel().getDelegate();
        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
        @Nonnull
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. common/config/.golangci-format.yml

      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
      # "/" will be replaced by current OS file path separator to properly work on Windows.
      # Default: []
      exclude-dirs:
        - genfiles$
        - vendor$
      # Which files to exclude: they will be analyzed, but issues from them won't be reported.
      # There is no need to include all autogenerated files,
      # we confidently recognize autogenerated files.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    os.setVersion(profileOs.getVersion());
    
                    activation.setOs(os);
                }
    
                org.apache.maven.profiles.ActivationFile profileFile = profileActivation.getFile();
    
                if (profileFile != null) {
                    ActivationFile file = new ActivationFile();
    
                    file.setExists(profileFile.getExists());
                    file.setMissing(profileFile.getMissing());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            this.path = path;
            this.timestamp = timestamp;
        }
    
        @Override
        public String getType() {
            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                    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
    - 5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                this.ids = new ArrayList<>(extensionArtifacts.size());
    
                for (Artifact artifact : extensionArtifacts) {
                    File file = artifact.getFile();
                    files.add(file);
                    timestamps.add((file != null) ? Long.valueOf(file.lastModified()) : Long.valueOf(0));
                    sizes.add((file != null) ? Long.valueOf(file.length()) : Long.valueOf(0));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  10. 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)
Back to top