Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for setFile (0.05 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            super(metadata, path, timestamp);
            this.buildNumber = buildNumber;
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new RemoteSnapshotMetadata(metadata, file.toPath(), timestamp, buildNumber);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. 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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                        artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getScope());
    
                if ("pom".equals(artifact.getType())) {
                    pomArtifact.setFile(artifact.getFile());
                }
    
                if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                    done = true;
                } else {
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

        }
    
        public static Object getKey(Artifact artifact) {
            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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            if (artifactFile.exists()) {
                artifact.setResolved(true);
            }
    
            return artifact;
        }
    
        public List<String> findVersions(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                    artifact.isOptional());
            clone.setRelease(artifact.isRelease());
            clone.setResolvedVersion(artifact.getVersion());
            clone.setResolved(artifact.isResolved());
            clone.setFile(artifact.getFile());
    
            clone.setAvailableVersions(copyList(artifact.getAvailableVersions()));
            if (artifact.getVersion() != null) {
                clone.setBaseVersion(artifact.getBaseVersion());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        public List<String> findVersions(Artifact artifact) {
            return Collections.emptyList();
        }
    
        public String getId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final int sizeThreshold = getSizeThreshold();
            final File repository = createRepositoryFile();
            return DiskFileItemFactory.builder().setBufferSize(sizeThreshold).setFile(repository).get();
        }
    
        protected int getSizeThreshold() {
            return ComponentUtil.getFessConfig().getHttpFileuploadThresholdSizeAsInteger();
        }
    
        protected File createRepositoryFile() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            if (Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope())
                    && (node.getArtifact().getFile() == null)
                    && (artifact.getFile() != null)) {
                fireEvent(ResolutionListener.MANAGE_ARTIFACT_SYSTEM_PATH, listeners, node, artifact);
                node.getArtifact().setFile(artifact.getFile());
            }
        }
    
        /**
         * Check if the artifactScope needs to be updated. <a
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
                artifact.setFile(new File(d.getSystemPath()));
            }
    
            if (!d.getExclusions().isEmpty()) {
                List<String> exclusions = new ArrayList<>();
    
                for (Exclusion exclusion : d.getExclusions()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top