Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for LocalRepository (0.16 sec)

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

            }
        }
    
        private Date getLocalCopyLastModified(ArtifactRepository localRepository, RepositoryMetadata metadata) {
            String metadataPath = localRepository.pathOfLocalRepositoryMetadata(metadata, localRepository);
            File metadataFile = new File(localRepository.getBasedir(), metadataPath);
            return metadataFile.isFile() ? new Date(metadataFile.lastModified()) : null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            }
        }
    
        private RepositorySystemSession getSession(ArtifactRepository localRepository) {
            return LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), null);
        }
    
        private void injectSession1(RepositoryRequest request, MavenSession session) {
            if (session != null) {
    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/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            return project;
        }
    
        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
                throws ProjectBuildingException {
            return buildStandaloneSuperProject(localRepository, null);
        }
    
        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        public ResolutionGroup get(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories) {
            CacheKey cacheKey = newCacheKey(artifact, resolveManagedVersions, localRepository, remoteRepositories);
    
            CacheRecord cacheRecord = cache.get(cacheKey);
    
            if (cacheRecord != null && !cacheRecord.isStale()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

                    new ChainedDependencyGraphTransformer(transformer, new ManagedDependencyContextRefiner(scopeManager));
            session.setDependencyGraphTransformer(transformer);
    
            LocalRepository localRepo = new LocalRepository(localRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            return session;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.localRepository = localRepository;
    
            if (localRepository != null) {
                setLocalRepositoryPath(new File(localRepository.getBasedir()).getAbsoluteFile());
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest setLocalRepositoryPath(File localRepository) {
            localRepositoryPath = localRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            return retrieve(artifact, localRepository, remoteRepositories, false);
        }
    
        public ResolutionGroup retrieve(
                Artifact artifact,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

    import org.eclipse.aether.repository.LocalMetadataRegistration;
    import org.eclipse.aether.repository.LocalMetadataRequest;
    import org.eclipse.aether.repository.LocalMetadataResult;
    import org.eclipse.aether.repository.LocalRepository;
    import org.eclipse.aether.repository.LocalRepositoryManager;
    import org.eclipse.aether.repository.RemoteRepository;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
            if (!localRepository.isAbsolute()) {
                url = "file://" + localRepository.getCanonicalPath();
            }
    
            return url;
        }
    
    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