Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 124 for get$file (0.08 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            for (ResolvedArtifact resolvedArtifact : allModuleArtifacts) {
                archives.add(new JApiCmpWorkerAction.Archive(resolvedArtifact.getFile(), version));
            }
            for (ResolvedDependency dependency : resolvedDependency.getChildren()) {
                collectArchives(archives, dependency);
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagonManager.getArtifact(artifact, repo, null, false);
    
            assertTrue(artifact.getFile().exists());
            assertEquals("expected", FileUtils.fileRead(artifact.getFile(), "UTF-8"));
        }
    
        private Artifact createTestPomArtifact(String directory) throws IOException {
            File testData = getTestFile(directory);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            this.project = project;
    
            artifact.setFile(project.getArtifact().getFile());
            artifact.setResolved(true);
        }
    
        /** {@inheritDoc} */
        public File getFile() {
            // we need to get the latest file for the project, not the artifact that was created at one point in time
            return project.getArtifact().getFile();
        }
    
        /** {@inheritDoc} */
        public String getGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Deprecated
        @Override
        public Artifact setFile(File file) {
            File current = getFile();
            if (Objects.equals(current, file)) {
                return this;
            }
            return new RelocatedArtifact(
                    artifact.setFile(file), groupId, artifactId, classifier, extension, version, message);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. compat/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. compat/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
                    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)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        ArbitraryInstances.get(PrintStream.class).println("test");
        ArbitraryInstances.get(PrintWriter.class).println("test");
        assertNotNull(ArbitraryInstances.get(File.class));
        assertFreshInstanceReturned(
            ByteArrayOutputStream.class, OutputStream.class,
            Writer.class, StringWriter.class,
            PrintStream.class, PrintWriter.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
        void setFile(File destination);
    
        String getBaseVersion();
    
        void setBaseVersion(String baseVersion);
    
        String getId();
    
        String getDependencyConflictId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top