Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setResolved (0.2 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new TestArtifactHandler(dependency.getType()));
    
            if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) {
                artifact.setFile(new File(dependency.getSystemPath()));
                artifact.setResolved(true);
            }
    
            return artifact;
        }
    
        @Override
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            return getBaseVersion() != null
                    && (getBaseVersion().endsWith(SNAPSHOT_VERSION)
                            || getBaseVersion().equals(LATEST_VERSION));
        }
    
        @Override
        public void setResolved(boolean resolved) {
            this.resolved = resolved;
        }
    
        @Override
        public boolean isResolved() {
            return resolved;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    throw new ArtifactNotFoundException(
                            "System artifact: " + artifact + " is not a file: " + systemFile, artifact);
                }
    
                artifact.setResolved(true);
    
                return;
            }
    
            if (!artifact.isResolved()) {
                ArtifactResult result;
    
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    nullify(artifact.getClassifier()),
                    handler);
    
            result.setFile(artifact.getFile());
            result.setResolved(artifact.getFile() != null);
    
            List<String> trail = new ArrayList<>(1);
            trail.add(result.getId());
            result.setDependencyTrail(trail);
    
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        throw e;
                    }
    
                    logger.debug("  Artifact " + artifact.getId() + " resolved to " + artifact.getFile());
    
                    artifact.setResolved(true);
                } else if (!artifact.getFile().exists()) {
                    String error = updateCheckManager.getError(artifact, repository);
                    if (error != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top