Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for LocalRepository (0.1 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * {@code settings.xml} file.</p>
     *
     * @since 4.0.0
     * @see Repository
     * @see org.apache.maven.api.settings.Settings
     */
    @Experimental
    @Immutable
    public interface LocalRepository extends Repository {
    
        @Nonnull
        Path getPath();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            ArtifactRepository localRepository = localRepository();
    
            Artifact a = createRemoteArtifact("a", "0.0.1-SNAPSHOT");
            RepositoryMetadata metadata = new ArtifactRepositoryMetadata(a);
    
            File file = new File(
                    localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(metadata, localRepository));
            file.delete();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. 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)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

            return artifactDependencies;
        }
    
        public ArtifactRepository getLocalRepository() {
            return localRepository;
        }
    
        public MetadataResolutionRequest setLocalRepository(ArtifactRepository localRepository) {
            this.localRepository = localRepository;
    
            return this;
        }
    
        /**
         * @deprecated instead use {@link #getRemoteRepositories()}
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException;
    
        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException;
    
        MavenProject buildWithDependencies(
                File pom,
                ArtifactRepository localRepository,
                ProfileManager globalProfileManager,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataManager.java

                RepositoryMetadata repositoryMetadata,
                List<ArtifactRepository> repositories,
                ArtifactRepository localRepository)
                throws RepositoryMetadataResolutionException;
    
        void resolveAlways(
                RepositoryMetadata metadata, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
                throws RepositoryMetadataResolutionException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java

         * @param artifact           Artifact to be transformed.
         * @param remoteRepositories the repositories to check
         * @param localRepository    the local repository
         */
        void transformForResolve(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

        }
    
        @Override
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            return delegate.retrieve(artifact, localRepository, remoteRepositories);
        }
    
        @Override
        public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top