Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for getBasedir (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

            MetadataRepository(File metadataFile) {
                super("local", "", null);
                this.metadataFile = metadataFile;
            }
    
            @Override
            public String getBasedir() {
                return metadataFile.getParent();
            }
    
            @Override
            public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getBasedir();
    
        String getProtocol();
    
        String getId();
    
        void setId(String id);
    
        ArtifactRepositoryPolicy getSnapshots();
    
        void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return projects == null ? null : map(projects, this::getProject);
        }
    
        @Override
        public Project getProject(MavenProject project) {
            return project != null && project.getBasedir() != null
                    ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project))
                    : null;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (selectedProject.isFile()) {
                    return selectedProject.equals(project.getFile());
                } else if (selectedProject.isDirectory()) {
                    return selectedProject.equals(project.getBasedir());
                }
            }
    
            return false;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

            assertArgumentNotNull("rootDir", rootDir);
            assertArgumentNotNull("handler", handler);
    
            final File baseDir = getBaseDir(rootDir, baseDirectory);
            if (baseDir.exists()) {
                traverseFileSystem(rootDir, baseDir, handler);
            }
        }
    
        /**
         * Jarファイル形式のファイルに含まれるリソースをトラバースします。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            }
    
            return sb.toString();
        }
    
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(getBasedir(), pathOf(artifact));
    
            // 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.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                throws IOException, XMLStreamException {
            Metadata metadata = null;
    
            File metadataFile = new File(
                    localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository));
    
            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        protected void initRepoSession(ProjectBuildingRequest request) throws Exception {
            File localRepo = new File(request.getLocalRepository().getBasedir());
            DefaultRepositorySystemSession session = MavenRepositorySystemUtils.newSession();
            session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
            request.setRepositorySession(session);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                request.setLocalRepository(createLocalRepository(request));
            }
    
            if (request.getLocalRepositoryPath() == null) {
                request.setLocalRepositoryPath(new File(request.getLocalRepository().getBasedir()).getAbsoluteFile());
            }
        }
    
        // ------------------------------------------------------------------------
        // Artifact Transfer Mechanism
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            return result;
        }
    
        @Override
        public void updateVersion(String version, ArtifactRepository localRepository) {
            setResolvedVersion(version);
            setFile(new File(localRepository.getBasedir(), localRepository.pathOf(this)));
        }
    
        @Override
        public String getDownloadUrl() {
            return downloadUrl;
        }
    
        @Override
        public void setDownloadUrl(String downloadUrl) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top